Exemplo n.º 1
0
 void Start()
 {
     myTimeMachine = GameObject.FindGameObjectWithTag("TimeMachine").GetComponent<TimeMachinev2>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     rewindJuice = slider.maxValue;
     Cursor.visible = false;
     projectile = Resources.Load("Sphere") as GameObject;
     myTimeMachine = GameObject.FindGameObjectWithTag("TimeMachine").GetComponent<TimeMachinev2>();
 }