TrySetDefaultValue<T>(T)
Sets the default value of the variable.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
bool TrySetDefaultValue<T>(T value)
Parameters
Returns
Type | Description |
|---|---|
| bool | |
Remarks
The default value must be of a type compatible with the variable's IVariable.DataType.