void Start() { Instance = this; foreach(var pair in PrefabsList) { PrefabsMap[pair.Identifier] = pair.Prefab; } }
void Start() { prefabStore = GetComponent <PrefabStore>(); }
void OnEnable() { gameMaster = GameObject.Find("GameMaster"); nodeMaster.generateTable(); prefabStore = gameMaster.GetComponent<PrefabStore>(); }
void OnEnable() { gameMaster = GameObject.Find("GameMaster"); nodeMaster.generateTable(); prefabStore = gameMaster.GetComponent <PrefabStore>(); }