Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     IntroText.text = "Bee Mine? <3";
     beeHandler     = GameObject.Find("BeeHandler");
     beeScript      = beeHandler.GetComponent <BeeScript>();
     talkingScene   = GameObject.Find("TalkingScene");
 }
Пример #2
0
 //public bool move = false;
 // Use this for initialization
 void Start()
 {
     beeScript = FindObjectOfType<BeeScript>();
     // Default position not valid? Then it's game over
     if (!isValidGridPos())
     {
         Debug.Log("GAME OVER");
         Destroy(gameObject);
     }
 }