class MAGES::Recorder::GameObjectPathCache¶
Overview¶
A cache for gameobject paths. More…
class GameObjectPathCache: public MonoBehaviour { public: // methods GameObject Get(string path); void SetVariable(string variableName, GameObject gameObject); };
Detailed Documentation¶
A cache for gameobject paths.
Methods¶
GameObject Get(string path)
Gets the GameObject at the given path.
Parameters:
path |
The path. |
Returns:
The gameobject.
void SetVariable(string variableName, GameObject gameObject)
Sets the variable.
Parameters:
variableName |
The name of the variable. |
gameObject |
The gameobject to set it to. |