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();
     }
 }
Exemplo n.º 2
0
 public void Initialize(InteriorManager interiorManager)
 {
     this.mDeckid          = interiorManager.Deck.Id;
     this.mInteriorManager = interiorManager;
     this.mUserInterfacePortInteriorManager.InitializeFurnituresForConfirmation(this.mInteriorManager.Deck, interiorManager.GetRoomInfo());
 }
Exemplo n.º 3
0
 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());
 }
Exemplo n.º 4
0
 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());
 }
Exemplo n.º 5
0
 private void OnResumeStatePreviewFurniture()
 {
     mUserInterfacePortInteriorManager.UpdateFurniture(mInteriorManager.Deck, mContext.SelectedCategory, mInteriorManager.GetRoomInfo()[mContext.SelectedCategory]);
 }