Beispiel #1
0
    void Start()
    {
        Time.timeScale = 1;

        collector = FindObjectOfType <protonCollector>();
        enemy     = FindObjectOfType <TheEnemy>();
    }
Beispiel #2
0
 //float timer2 = 0;
 void Start()
 {
     collector = FindObjectOfType <protonCollector>();
 }
Beispiel #3
0
 // Use this for initialization
 void Start()
 {
     player  = centerP.centerPoint.transform;
     protons = FindObjectOfType <protonCollector>();
 }