protected override void ReleaseSelf(bool calledDestroy) { if (SystemConfig.IsReleaseResourceOn) { BattlePassUIView.Instance = null; BattlePassUIViewModel.Instance = null; base.ReleaseSelf(true); } }
private void Awake() { BattlePassUIView.Instance = this; base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false); }