예제 #1
0
 void Awake()
 {
     soundDropBall = GameObject.FindWithTag("GameManager").GetComponent <SoundBreaking>();
     updateScore   = GameObject.FindWithTag("UI").GetComponent <UpdateScore>();
     cube          = GetComponent <Cube>();
 }
예제 #2
0
 void Awake()
 {
     soundBallDrop = GameObject.FindWithTag("GameManager").GetComponent <SoundBreaking>();
     updateScore   = GameObject.FindWithTag("UI").GetComponent <UpdateScore>();
     showUI        = GameObject.FindWithTag("UI").GetComponent <ShowPanels>();
 }