A Decoration is a mechanism for adding various descriptions to an Entity. More...
Public Member Functions | |
Decoration () | |
Default constructor. | |
void | Initialize () |
Initialize sets up a default Decoration. | |
void | Awake () |
Handler for the Unity Awake() event to force initialization. | |
GameObject | GetRootDescribable () |
GetRootDescribable gets the root game object in the hierarchy that has a Describable component. | |
GameObject | GetDescribable () |
GetDescribable returns the Describable GameObject that is the closest parent to this decoration. | |
GameObject[] | GetDescribableAncestry () |
GetDescribableAncestry returns a list of all GameObjects, including the GameObject to which the Decoration is attached that are Describable parents. | |
Public Attributes | |
Aspect | aspect |
Decorations have an Aspect associated with them that describes. |
A Decoration is a mechanism for adding various descriptions to an Entity.
RAIN.Ontology.Decoration.Decoration | ( | ) |
Default constructor.
void RAIN.Ontology.Decoration.Awake | ( | ) |
Handler for the Unity Awake() event to force initialization.
GameObject RAIN.Ontology.Decoration.GetDescribable | ( | ) |
GetDescribable returns the Describable GameObject that is the closest parent to this decoration.
GameObject [] RAIN.Ontology.Decoration.GetDescribableAncestry | ( | ) |
GetDescribableAncestry returns a list of all GameObjects, including the GameObject to which the Decoration is attached that are Describable parents.
GameObject RAIN.Ontology.Decoration.GetRootDescribable | ( | ) |
GetRootDescribable gets the root game object in the hierarchy that has a Describable component.
void RAIN.Ontology.Decoration.Initialize | ( | ) |
Initialize sets up a default Decoration.
Decorations have an Aspect associated with them that describes.