class MAGES::GameObjectPathReferences¶
Overview¶
Cache holding all prefab objects in the project along their paths and prefab IDs. More…
class GameObjectPathReferences: public ScriptableObject { public: // properties GameObjectPathReferences Instance; // methods void SetGameObjectsPaths(SerializableDictionarygameObjectToPath); SerializableDictionary GetGameObjectsPaths(); void SetPathToPrefabID(SerializableDictionary pathToPrefabID); SerializableDictionary GetPathToGameObjects(); SerializableDictionary GetPathToPrefabID(); };
Detailed Documentation¶
Cache holding all prefab objects in the project along their paths and prefab IDs.
Properties¶
GameObjectPathReferences Instance
Gets static global instance of the GameObjectReferences class.
Methods¶
void SetGameObjectsPaths(SerializableDictionarygameObjectToPath)
Sets the dictionary with Gameobjects and their prefab paths.
Parameters:
gameObjectToPath |
The dictionary holding gameobjects and paths. |
SerializableDictionaryGetGameObjectsPaths()
Gets the dictionary with Gameobjects and their prefab paths.
Returns:
Returns the dictionary.
void SetPathToPrefabID(SerializableDictionarypathToPrefabID)
Sets the dictionary holding paths and their unique prefab IDs.
Parameters:
pathToPrefabID |
The dictionary holding paths and their unique prefab IDs. |
SerializableDictionaryGetPathToGameObjects()
Gets the dictionary with prefab paths and their gameObjects.
Returns:
Returns the dictionary.
SerializableDictionaryGetPathToPrefabID()
Gets the dictionary holding paths and their unique prefab IDs.
Returns:
Returns the dictionary.