// Use this for initialization void Start() { // get all the objects we'll need for the cutscene //FlyingBBall = GameObject.Find ("Flying Basketball"); ScreenFlash = GameObject.Find("ScreenFlash").GetComponent <ScreenFlasher>(); ExplosionFlare = GameObject.Find("Explosion_Flare").GetComponent <LensFlare>(); SparkParticles = GameObject.Find("SparkParticles").GetComponent <ParticleSystem>(); mus = GameObject.Find("BGM").GetComponent <MusicPlayer>(); bc = GetComponent <BattleController>(); }
// Use this for initialization void Start () { // get all the objects we'll need for the cutscene //FlyingBBall = GameObject.Find ("Flying Basketball"); ScreenFlash = GameObject.Find ("ScreenFlash").GetComponent<ScreenFlasher>(); ExplosionFlare = GameObject.Find ("Explosion_Flare").GetComponent<LensFlare>(); SparkParticles = GameObject.Find ("SparkParticles").GetComponent<ParticleSystem>(); mus = GameObject.Find ("BGM").GetComponent<MusicPlayer>(); bc = GetComponent<BattleController>(); }
// Use this for initialization void Start () { // get all the objects we'll need for the cutscene Flashback = GameObject.Find ("Flashback"); ScreenFlash = GameObject.Find ("ScreenFlash").GetComponent<ScreenFlasher>(); FlyingBBall = GameObject.Find ("FlyingBasketball"); Background = GameObject.Find ("Background-Flicker"); Background2 = GameObject.Find ("Background"); mus = GameObject.Find ("BGM").GetComponent<MusicPlayer>(); flashbackBGs = new Queue<Sprite>(FlashbackBGList); }
// Use this for initialization void Start() { // get all the objects we'll need for the cutscene Flashback = GameObject.Find("Flashback"); ScreenFlash = GameObject.Find("ScreenFlash").GetComponent <ScreenFlasher>(); FlyingBBall = GameObject.Find("FlyingBasketball"); Background = GameObject.Find("Background-Flicker"); Background2 = GameObject.Find("Background"); mus = GameObject.Find("BGM").GetComponent <MusicPlayer>(); flashbackBGs = new Queue <Sprite>(FlashbackBGList); }
// Use this for initialization void Start() { screenFlasher = GetComponentInChildren <ScreenFlasher> (); }