コード例 #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
ファイル: Group.cs プロジェクト: Atimormia/tetris-fly
 //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);
     }
 }