|
|
◆ TryGetValue() [2/3]
| bool Sisus.Init.AnyGeneric< T >.TryGetValue |
( |
Component | client, |
|
|
Context | context, |
|
|
out T | result ) |
Gets the value of the current AnyGeneric<T> object if it has one.
If the underlying value is null and T is a global service or a scene service which is accessible to the client then gets the service.
- Parameters
-
| value | When this method returns, contains the value associated with the current AnyGeneric<T> object, if it has a value; otherwise, the default value of T. This parameter is passed uninitialized. |
- Returns
true if a valid underlying value has been assigned; otherwise, false.
|