Synced
GameScene.FindObjectWithTag
Section titled “GameScene.FindObjectWithTag”
- Finds the first game object with an ordinally matching tag in scene storage order.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Scene
Declaration
Section titled “Declaration”public Inno.Scene.GameObject? Inno.Scene.GameScene.FindObjectWithTag(string tag)Parameters
Section titled “Parameters”Parameter tag: Tag to find.
Returns
Section titled “Returns”The first match, or null when no object matches.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when tag is empty or contains only white-space characters.