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(SerializableDictionary gameObjectToPath);
    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(SerializableDictionary gameObjectToPath)

Sets the dictionary with Gameobjects and their prefab paths.

Parameters:

gameObjectToPath

The dictionary holding gameobjects and paths.

SerializableDictionary GetGameObjectsPaths()

Gets the dictionary with Gameobjects and their prefab paths.

Returns:

Returns the dictionary.

void SetPathToPrefabID(SerializableDictionary pathToPrefabID)

Sets the dictionary holding paths and their unique prefab IDs.

Parameters:

pathToPrefabID

The dictionary holding paths and their unique prefab IDs.

SerializableDictionary GetPathToGameObjects()

Gets the dictionary with prefab paths and their gameObjects.

Returns:

Returns the dictionary.

SerializableDictionary GetPathToPrefabID()

Gets the dictionary holding paths and their unique prefab IDs.

Returns:

Returns the dictionary.