RemoveRule(ITransitionRule)
Removes a rule from this transition.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
void RemoveRule(ITransitionRule rule)
Parameters
The rule to remove. Must belong to this transition.
Remarks
A transition always keeps at least one rule. To remove all rules, use StateMachine.Disconnect instead. Throws ArgumentNullException when is . Throws ArgumentException when does not belong to this transition. Throws InvalidOperationException when is the last rule of this transition.
rulenullrulerule