// Start is called before the first frame update void Start() { GM = GameObject.Find("Game Manager").GetComponent <_GameManager>(); PL = GameObject.Find("Game Manager").GetComponent <_Player>(); Prefab = GameObject.Find("Game Manager").GetComponent <_Prefab>(); // INITIALISE PARTS OF THE UI INIT_GameManagement(); INIT_Currency(); INIT_BarracksUI(); INIT_WaveUI(); INIT_HealthBarUI(); INIT_SpacialUI(); }
public static string GetPath(_Prefab key) { return(GetPath(key.ToString())); }