コード例 #1
0
ファイル: Group.cs プロジェクト: ChooJosh/Tetris2D
 void Start()
 {
     // Default position not valid? Then it's game over
     if (!isValidGridPos())
     {
         Debug.Log("GAME OVER");
         OnGameOver.SetGameOver();
         Destroy(gameObject);
     }
 }