GetVariable(int)
Retrieves a variable declared in the state machine by index.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public IVariable GetVariable(int index)
Parameters
The index of the variable to retrieve.
Returns
Remarks
The index is zero-based and reflects the order in which the variables were created. The index must be within the valid range of the variable list (see: StateMachine.VariableCount).