 | ReferenceTaskTryGetValueT Method (TaskParameterDescription, T) |
Tries to fetch the value of the parameter with the passed description.
Namespace: Slash.AI.BehaviorTrees.ImplementationsAssembly: Slash.AI.BehaviorTrees (in Slash.AI.BehaviorTrees.dll) Version: 1.0.6018.40184
Syntaxpublic bool TryGetValue<T>(
TaskParameterDescription parameterDescription,
ref T value
)
Public Function TryGetValue(Of T) (
parameterDescription As TaskParameterDescription,
ByRef value As T
) As Boolean
public:
generic<typename T>
bool TryGetValue(
TaskParameterDescription^ parameterDescription,
T% value
)
member TryGetValue :
parameterDescription : TaskParameterDescription *
value : 'T byref -> bool
Parameters
- parameterDescription
- Type: Slash.AI.BehaviorTrees.EditorTaskParameterDescription
Parameter description. - value
- Type: T
Contains the value of the parameter with the passed description if found.
Type Parameters
- T
- Expected type of value.
Return Value
Type:
Boolean True if the value for the parameter with the passed description was found; otherwise, false.
See Also