public void onSequenceDrop(SequenceDragHandler dragHandler)
        {
            var droppedSequence = dragHandler.linkedSequence;
            Logger.Log("[SequenceDropHandler] onSequenceDrop called");

            if (linkedState == null || droppedSequence == null)
                return;

            droppedSequence.startState = linkedState;

            Logger.Log("[SequenceDropHandler] onSequenceDrop finished, new startState = " + droppedSequence.startState.stateName);
        }
예제 #2
0
        public void onSequenceDrop(SequenceDragHandler dragHandler)
        {
            var droppedSequence = dragHandler.linkedSequence;

            Logger.Log("[SequenceDropHandler] onSequenceDrop called");

            if (linkedState == null || droppedSequence == null)
            {
                return;
            }

            droppedSequence.startState = linkedState;

            Logger.Log("[SequenceDropHandler] onSequenceDrop finished, new startState = " + droppedSequence.startState.stateName);
        }