Example #1
0
 // Use this for initialization
 void Start()
 {
     drop       = false;
     hitWood    = false;
     hitFruit   = false;
     wood       = GameObject.Find("kutuk");
     woodScript = wood.GetComponent <NewBehaviourScript>();
     canvas     = GameObject.Find("Canvas");
     gameui     = canvas.GetComponent <gameUI>();
     setDeathTime();
     isGameOver = false;
 }
Example #2
0
 void Awake()
 {
     gui = this;
 }
Example #3
0
 void Start()
 {
     instance = this;
 }