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