예제 #1
0
        // ALL NEEDED EVENTS ARE HERE
        public void StartDragging(IDroppable droppable)
        {
            if (this.droppable != null)
            {
                return;
            }

            objectFlying = true;
            audioManager.PlayUIPopup();

            this.droppable = droppable;
            droppable.StartDrag(x => RemoveFromUpdate());
        }
예제 #2
0
        // ALL NEEDED EVENTS ARE HERE
        public void StartDragging(IDroppable droppable)
        {
            if (this.droppable != null)
            {
                return;
            }

            audioManager.PlayUIPopup();

            this.droppable = droppable;
            PutDroppableOnTopOfList(droppable);
            droppable.StartDrag(x => RemoveFromUpdateAndPlaceholders(x));
        }