示例#1
0
 void Start()
 {
     levelLogic = FindObjectOfType <LevelLogic>();
     if (CompareTag("Breakable"))
     {
         levelLogic.AddBreakableBlock();
     }
     gameStatus = FindObjectOfType <GameSession>();
 }