示例#1
0
 private void Countbrekblock()
 {
     levels = FindObjectOfType <level>();
     if (tag == "Breakabke")
     {
         levels.CountBreakableBlocks();
     }
 }
示例#2
0
 private void countBreakableBlocks()
 {
     levels = FindObjectOfType <level>();
     if (tag == "breakable")
     {
         levels.CountBreakableBlocks();
     }
 }
示例#3
0
 // Use this for initialization
 public void Start()
 {
     level = FindObjectOfType <level>();
     game  = FindObjectOfType <GameSession>();
     if (tag == "Breakable")
     {
         level.CountBreakableBlocks();
     }
 }
示例#4
0
 private void Start()
 {
     lev = FindObjectOfType <level>();
     if (tag == "Breakable")
     {
         lev.CountBreakableBlocks();
     }
     gameStatus = FindObjectOfType <GameStatus>();
 }
示例#5
0
 private void Start()
 {
     level = FindObjectOfType <level>();
     level.CountBreakableBlocks();
 }