Exemple #1
0
 // Use this for initialization
 void Start()
 {
     fallenPins              = new List <GameObject>();
     grabbedPins             = new List <GameObject>();
     pinSaverSystem          = GameObject.Find("pin saver");
     pinCleanerSystem        = GameObject.Find("pin cleaner");
     pinCleanerTarget        = GameObject.Find("cleaner target");
     pinSaverTarget          = GameObject.Find("saver target");
     pinCleanerRecoverTarget = GameObject.Find("cleaner recover target");
     parameters              = GameObject.Find("RightLane").GetComponent <GlobalParameters>();
     parameters.initNextFrame();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     parameters = GameObject.Find("RightLane").GetComponent <GlobalParameters>();
     parameters.initNextFrame();
 }