Method FindSceneObject
FindSceneObject(String)
Finds the game object in the scene by name, even if it is inactive. If multiple objects in the scene have the same name, the first one found is used
Declaration
public static GameObject FindSceneObject(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the object in the scene |
Returns
Type | Description |
---|---|
GameObject |