public void Release() { mKeyController = null; mItemStoreManager = null; mUIItemStoreBuyConfirm.Release(); mStateStack.Clear(); }
public void Initialize(ItemStoreManager itemStoreManager, ItemStoreModel[] itemStoreModels, Camera touchEventCatchCamera) { mTransform_ArrowDown.SetActive(isActive: false); mTransform_ArrowUp.SetActive(isActive: false); base.ChangeImmediateContentPosition(ContentDirection.Hell); mItemStoreManager = itemStoreManager; Initialize(itemStoreModels); SetSwipeEventCamera(touchEventCatchCamera); }
protected override void OnCallDestroy() { base.OnCallDestroy(); mItemStoreManager = null; mKeyController = null; mOnSelectListener = null; mTransform_ArrowDown = null; mTransform_ArrowUp = null; }
public void Initialize(ItemStoreManager itemStoreManager, ItemStoreModel[] itemStoreModels, Camera touchEventCatchCamera) { this.mTransform_ArrowDown.SetActive(false); this.mTransform_ArrowUp.SetActive(false); base.ChangeImmediateContentPosition(UIScrollList <ItemStoreModel, UIItemStoreChild> .ContentDirection.Hell); this.mItemStoreManager = itemStoreManager; base.Initialize(itemStoreModels); base.SetSwipeEventCamera(touchEventCatchCamera); }
private void OnDestroy() { UserInterfacePortManager.ReleaseUtils.Release(ref mButton_ChangeItemList); mCamera_SwipeEvent = null; mUIItemStoreBuyConfirm = null; mUIItemStoreChildren = null; mItemStoreManager = null; mKeyController = null; }
public void Initialize(ItemStoreModel itemStoreModel, ItemStoreManager checkUtils) { if (itemStoreModel != null) { this.mModel = itemStoreModel; this.mItemStoreCheckUtils = checkUtils; this.mLabel_Name.text = this.mModel.Name; this.mLabel_Price.text = this.mModel.Price.ToString(); this.mTexture_Icon.mainTexture = UserInterfaceItemManager.RequestItemStoreIcon(this.mModel.MstId); this.ChangeFocus(this.mButton_Positive, false); this.mAkashi.SetKeyController(null); } }
private void OnDestroy() { UserInterfacePortManager.ReleaseUtils.Releases(ref this.mTextures_Preload, false); UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_SE002, false); UserInterfacePortManager.ReleaseUtils.Release(ref this.mAudioClip_CommonCancel1, false); this.mAudioClip_SceneBGM = null; this.mUIItemListManager = null; this.mUIItemStoreManager = null; this.mUIItemAkashi = null; this.mTransform_SwitchViewRoot = null; this.__ItemlistManager__ = null; this.__ItemStoreManager__ = null; this.mKeyController = null; }
public void Release() { this.mModel = null; this.mItemStoreCheckUtils = null; this.mFocusButton = null; }
public void Initialize(ItemStoreManager manager) { mItemStoreManager = manager; ItemStoreModel[] itemStoreModels = mItemStoreManager.Items.ToArray(); mUIItemStoreChildren.Initialize(manager, itemStoreModels, mCamera_SwipeEvent); }
public void Release() { mModel = null; mItemStoreCheckUtils = null; mFocusButton = null; }