Class PrefabEntityLink
Class that proxies an entity into the prefab system, allowing it to add its kids and children.
Namespace: Evergine.Framework.Assets.AssetSources.Entities
Assembly: Evergine.Framework.dll
Syntax
public class PrefabEntityLink
Properties
AdditionalChildren
Gets or sets the additional children of the prefab instance.
Declaration
public List<SceneItemModel> AdditionalChildren { get; set; }
Property Value
Type | Description |
---|---|
List<SceneItemModel> |
AdditionalComponents
Gets or sets the additional components of the prefab instance.
Declaration
public List<Component> AdditionalComponents { get; set; }
Property Value
Type | Description |
---|---|
List<Component> |
Methods
AddComponent(Component)
Adds a component to the prefab entity link.
Declaration
public void AddComponent(Component component)
Parameters
Type | Name | Description |
---|---|---|
Component | component | The component to be added. |