Class Prefab
A prefab that contains entities.
[DataContract("Prefab")]
[ContentSerializer(typeof(DataContentSerializerWithReuse<Prefab>))]
[DataSerializerGlobal(typeof(ReferenceSerializer<Prefab>), null, DataSerializerGenericMode.None, false, false, Profile = "Content")]
public sealed class Prefab
- Inheritance
-
Prefab
Properties
Entities
The entities.
public List<Entity> Entities { get; }
Property Value
Methods
Instantiate()
Instantiates entities from a prefab that can be later added to a Scene.
public List<Entity> Instantiate()