Exemple #1
0
    // 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();
    }
Exemple #2
0
 public static string GetPath(_Prefab key)
 {
     return(GetPath(key.ToString()));
 }