Esempio n. 1
0
 void Awake()
 {
     mInstance     = this;
     inputManager  = GetComponent <InputManager> ();
     gameManager   = GetComponent <GameManager> ();
     shapesMachine = GetComponent <ShapesMachine> ();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     shMachine = Game.Instance.GetComponent <ShapesMachine> ();
     factor    = 60f / tempo;
 }