static State MoveStackedNodes(State previousState, MoveStackedNodesAction action) { Undo.RegisterCompleteObjectUndo(action.StackModel.NodeAssetReference, "Move stacked nodes"); ((StackBaseModel)action.StackModel).MoveStackedNodes(action.NodeModels, action.Index); return(previousState); }
static State MoveStackedNodes(State previousState, MoveStackedNodesAction action) { ((StackBaseModel)action.StackModel).MoveStackedNodes(action.NodeModels, action.Index); return(previousState); }