//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 { } }
void Start() { instance = this; gameObject.SetActive(false); }