Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        gm      = FindObjectOfType <GameManager>();
        gc      = FindObjectOfType <GuyController>();
        storeUI = FindObjectOfType <StoreUI>();
        gs      = gc.GetComponent <GuyShooting>();
        gunM    = gc.GetComponent <GunManager>();

        SetUpItem();
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     gm = FindObjectOfType <GameManager>();
     wm = gm.GetComponent <WaveManager>();
     gc = FindObjectOfType <GuyController>();
     gs = gc.GetComponent <GuyShooting>();
 }
Exemplo n.º 3
0
 private void Awake()
 {
     gm      = FindObjectOfType <GameManager>();
     gc      = FindObjectOfType <GuyController>();
     gunM    = gc.GetComponent <GunManager>();
     storeUI = FindObjectOfType <StoreUI>();
 }