public void Play(MagicLoveSubSystem.ELastResult result, int value = 0) { this.result = result; this.mUI57_4.SetActive(false); this.mDraw.gameObject.SetActive(false); this.mLose.gameObject.SetActive(false); this.mWin.gameObject.SetActive(false); base.gameObject.SetActive(true); switch (result) { case MagicLoveSubSystem.ELastResult.ELR_Win: this.mWinValue.text = value.ToString(); this.PlaySequence(this.mWin); Globals.Instance.EffectSoundMgr.Play("ui/ui_009"); break; case MagicLoveSubSystem.ELastResult.ELR_Draw: this.PlaySequence(this.mDraw); break; case MagicLoveSubSystem.ELastResult.ELR_Lose: this.PlaySequence(this.mLose); break; } }
public void EnterResult(MagicLoveSubSystem.ELastResult result, int value = 0) { this.mResultLayer.Play(result, value); }