Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     ag_level      = GameObject.FindGameObjectWithTag("AG_Level").GetComponent <AG_GameLevel>();
     ag_GameStatus = GameObject.FindGameObjectWithTag("AG_GameStatus").GetComponent <AG_GameStatus>();
     AG_CountingBlocks();
     ag_MaxHit = ag_hitSprite.Length + 1;
 }
Esempio n. 2
0
 void Start()
 {
     //ag_ScoreBoard = FindObjectOfType<AG_ScoreBoard>();
     aG_GameLevel = GameObject.FindGameObjectWithTag("AG_Level").GetComponent <AG_GameLevel>();
     AG_CountingAllEnemies();
 }