|
|
◆ GameObjectOf() [2/2]
| static bool Sisus.Init.Find.GameObjectOf |
( |
[DisallowNull] object | attachedObject, |
|
|
[NotNullWhen(true), MaybeNullWhen(false)] out GameObject | gameObject ) |
|
static |
Gets the GameObject to which the given object is attached.
- Parameters
-
| attachedObject | The Component or plain old class object wrapped by a Wrapper<> component whose containing GameObject should be returned. |
| result | When this method returns, contains the GameObject to which the given object is attached to, if any; otherwise, null. This parameter is passed uninitialized. |
- Returns
true if GameObject was found; otherwise, false.
|