private void Awake() { VIPManager.Instance.SendPushVip(); PrivilegeUIView.Instance = this; base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false); this.AddFX(); }
protected override void ReleaseSelf(bool calledDestroy) { if (SystemConfig.IsReleaseResourceOn) { this.DeleteFX(); PrivilegeUIView.Instance = null; PrivilegeUIViewModel.Instance = null; base.ReleaseSelf(true); } }