예제 #1
0
        //when splash window shows
        public void OnSplashShow(int value)
        {
            //Debug.Log ("OnSplashShow:"+value.ToString());
            BEAudioManager.SoundPlay(3);
            UISGSplash.Show(value);

            // change background image if free spin
            if (value == (int)SplashType.FreeSpin)
            {
                FreeSpinBackground.SetActive(true);
            }
            else if (value == (int)SplashType.FreeSpinEnd)
            {
                FreeSpinBackground.SetActive(false);
            }
            else
            {
            }
        }
예제 #2
0
 void Start()
 {
     instance = this;
     gameObject.SetActive(false);
 }