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