private void OnChanedItemListener(UIInteriorFurnitureChangeScrollListChildNew child)
 {
     if (mStateManager.CurrentState == State.FurnitureSelect)
     {
         SoundUtils.PlaySE(mAudioClip_CommonCursolMove);
         mUIInteriorFurnitureDetail.Initialize(mDeckid, child.GetModel().GetFurnitureModel());
     }
 }
Example #2
0
        private void OnChanedItemListener(UIInteriorFurnitureChangeScrollListChildNew child)
        {
            bool flag = this.mStateManager.CurrentState == UserInterfaceInteriorChangeManager.State.FurnitureSelect;

            if (flag)
            {
                SoundUtils.PlaySE(this.mAudioClip_CommonCursolMove);
                this.mUIInteriorFurnitureDetail.Initialize(this.mDeckid, child.GetModel().GetFurnitureModel());
            }
        }
 private void OnSelectedListener(UIInteriorFurnitureChangeScrollListChildNew child)
 {
     if (mStateManager.CurrentState == State.FurnitureSelect)
     {
         mContext.SetSelectedFurniture(child.GetModel().GetFurnitureModel());
         mUIInteriorFurnitureChangeScrollList.LockControl();
         mStateManager.PushState(State.FurnitureDetail);
         SoundUtils.PlaySE(mAudioClip_CommonEnter1);
     }
 }
Example #4
0
        private void OnSelectedListener(UIInteriorFurnitureChangeScrollListChildNew child)
        {
            bool flag = this.mStateManager.CurrentState == UserInterfaceInteriorChangeManager.State.FurnitureSelect;

            if (flag)
            {
                this.mContext.SetSelectedFurniture(child.GetModel().GetFurnitureModel());
                this.mUIInteriorFurnitureChangeScrollList.LockControl();
                this.mStateManager.PushState(UserInterfaceInteriorChangeManager.State.FurnitureDetail);
                SoundUtils.PlaySE(this.mAudioClip_CommonEnter1);
            }
        }