public void RemoveAction(ActionState state) { Application.Current.ActionManager.RemoveAction(state); }
public override void Update(float time) { ActionState.Update(time); }
public void RemoveAction(ActionState actionState) { if (actionState == null || actionState.OriginalTarget == null) { return; } var target = actionState.OriginalTarget; HashElement element; if (targets.TryGetValue(target, out element)) { int i = element.ActionStates.IndexOf(actionState); if (i != -1) { RemoveActionAtIndex(i, element); } } }
protected internal override void Stop() { ActionState.Stop(); }