C# Class Forge.Unity.BaseContainer

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: jacobdufault/forge-unity

Protected Properties

Свойство Type Description
_originalName string

Méthodes publiques

Méthode Description
UpdateName ( ) : void

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

Méthodes protégées

Méthode 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 méthode

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
Résultat UnityEngine.GameObject

InitializeRenderers() protected static méthode

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.
Résultat void

UpdateName() public méthode

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

Property Details

_originalName protected_oe property

The original name of the GameObject.
protected string _originalName
Résultat string