// Use this for initialization
 void Start()
 {
     state = GameObject.Find("GameManager").GetComponent<GameManager>().activeState as StateStageOne;
 }
 void Start()
 {
     gerador = GameObject.Find("Gerador");
     manager = GameObject.Find("GameManager").GetComponent<GameManager>();
     state = manager.activeState as StateStageOne;
     direction = GameObject.Find("Direction");
     // Make the rigid body not change rotation
     rigidbody.freezeRotation = true;
 }