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