TryGetValue<T>(out T)
Retrieves the value of the constant node as the specified type.
Read time 1 minuteLast updated 7 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 provides type-safe access to the constant's stored value. It performs a type check and conversion internally. If the value cannot be cast to , the method returns and is set to the default value of .
TfalsevalueT