TryGetValue<T>(out T)
Retrieves the current value assigned to the port’s UI field.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
TryGetValue<T>(T)
bool TryGetValue<T>(out T value)
Parameters
Returns
Type | Description |
|---|---|
| bool | |
Remarks
This method is intended for editor-time inspection of an input port’s value, configured through a field displayed in the UI. If the port is connected, the field is hidden and no value is available, so the method returns . If the value was never explicitly set, this method still returns , and will contain the default value for type .
falsetruevalueT