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.
This method can only be called from the main thread.
- 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.