private void OnFinishedPreview() { if (mStateManager.CurrentState == State.FurniturePreView) { SoundUtils.PlaySE(mAudioClip_CommonCursolMove); mUIInteriorChangeFurnitureSelector.transform.localScale = Vector3.one; mUIInteriorFurnitureChangeScrollList.transform.localScale = Vector3.one; mUIInteriorFurnitureDetail.transform.localScale = Vector3.one; mUIInteriorFurniturePreviewWaiter.SetKeyController(null); PreviewFurniture(mContext.CurrentCategory, mInteriorManager.GetRoomInfo()[mContext.CurrentCategory]); mStateManager.PopState(); mStateManager.ResumeState(); } }
public void Initialize(InteriorManager interiorManager) { this.mDeckid = interiorManager.Deck.Id; this.mInteriorManager = interiorManager; this.mUserInterfacePortInteriorManager.InitializeFurnituresForConfirmation(this.mInteriorManager.Deck, interiorManager.GetRoomInfo()); }
public void Initialize(InteriorManager interiorManager, FurnitureStoreManager furnitureStoreManager, UserInterfacePortInteriorManager uiPortInteriorManager) { this.mInteriorManager = interiorManager; this.mUserInterfacePortInteriorManager = uiPortInteriorManager; this.mFurnitureStoreManager = furnitureStoreManager; this.mUIFurnitureStoreTabList.Initialize(this.mFurnitureStoreManager); this.tabManager.InitTab(); this.tabManager.Init(new Action(this.OnChangedTabListener), new Action(this.OnDesideTabListener)); this.storeFrame.updateUserInfo(this.mFurnitureStoreManager); this.mUserInterfacePortInteriorManager.InitializeFurnituresForConfirmation(interiorManager.Deck, interiorManager.GetRoomInfo()); }
public void Initialize(InteriorManager interiorManager, FurnitureStoreManager furnitureStoreManager, UserInterfacePortInteriorManager uiPortInteriorManager) { mInteriorManager = interiorManager; mUserInterfacePortInteriorManager = uiPortInteriorManager; mFurnitureStoreManager = furnitureStoreManager; mUIFurnitureStoreTabList.Initialize(mFurnitureStoreManager); tabManager.InitTab(); tabManager.Init(OnChangedTabListener, OnDesideTabListener); storeFrame.updateUserInfo(mFurnitureStoreManager); mUserInterfacePortInteriorManager.InitializeFurnituresForConfirmation(interiorManager.Deck, interiorManager.GetRoomInfo()); }
private void OnResumeStatePreviewFurniture() { mUserInterfacePortInteriorManager.UpdateFurniture(mInteriorManager.Deck, mContext.SelectedCategory, mInteriorManager.GetRoomInfo()[mContext.SelectedCategory]); }