C# Class Forge.Unity.BaseContainer

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: jacobdufault/forge-unity

Protected Properties

Property Type Description
_originalName string

Public Methods

Method Description
UpdateName ( ) : void

Updates the name of the container so that it also reflects the name of the QueryableEntity.

Protected Methods

Method Description
CreateGameObject ( IQueryableEntity entity, GameObject root ) : GameObject

Constructs a container GameObject for the given entity under the given root object.

InitializeRenderers ( GameObject containingObject, IQueryableEntity entity ) : void

Initializes renderers for any data that is currently contained within the given entity.

Method Details

CreateGameObject() protected static method

Constructs a container GameObject for the given entity under the given root object.
protected static CreateGameObject ( IQueryableEntity entity, GameObject root ) : GameObject
entity IQueryableEntity The entity to create a GameObject for
root UnityEngine.GameObject The root object to create the GameObject under
return UnityEngine.GameObject

InitializeRenderers() protected static method

Initializes renderers for any data that is currently contained within the given entity.
protected static InitializeRenderers ( GameObject containingObject, IQueryableEntity entity ) : void
containingObject UnityEngine.GameObject The GameObject that contains the BaseContainer for the /// entity.
entity IQueryableEntity The entity to select data from.
return void

UpdateName() public method

Updates the name of the container so that it also reflects the name of the QueryableEntity.
public UpdateName ( ) : void
return void

Property Details

_originalName protected_oe property

The original name of the GameObject.
protected string _originalName
return string