// 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;
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     ag_gameStatus = GameObject.FindGameObjectWithTag("AG_GameStatus").GetComponent <AG_GameStatus>();
     ag_Ball       = GameObject.FindGameObjectWithTag("AG_Ball").GetComponent <AG_Ball>();
 }