예제 #1
0
    private void Start()
    {
        levelGenerator = GameObject.FindGameObjectWithTag("playLevel").GetComponent <LevelGenerator>();
        playLevel      = GameObject.FindGameObjectWithTag("playLevel").GetComponent <PlayLevel>();

        ballExplode = playLevel.ballExplosion;
    }
예제 #2
0
 private void Awake()
 {
     playLevel = this;
 }
예제 #3
0
 // Start is called before the first frame update
 private void Awake()
 {
     instance = this;
 }
예제 #4
0
 private void Awake()
 {
     instance      = this;
     animationWait = new WaitForSeconds(1);
 }