Class PrefabEntityLink
Class that proxies an entity into the prefab system, allowing to add it kids and children.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetSources.Entities
Assembly: Evergine.Framework.dll
Syntax
public class PrefabEntityLink
Properties
AdditionalChildren
Gets the additional children of the prefab instance.
Declaration
public IEnumerable<SceneItemModel> AdditionalChildren { get; }
Property Value
Type | Description |
---|---|
IEnumerable<SceneItemModel> |
AdditionalComponents
Gets the additional components of the prefab instance.
Declaration
public IEnumerable<Component> AdditionalComponents { get; }
Property Value
Type | Description |
---|---|
IEnumerable<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 add. |