Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Finds the first game object with an ordinally matching tag in scene storage order.

API: scripting
Project: Inno.Scene
Scope: Runtime

public InnoEngine.Scene.GameObject? InnoEngine.Scene.GameScene.FindObjectWithTag(string tag)

Parameter tag: Tag to find.

The first match, or null when no object matches.

Exception T:System.ArgumentException: Thrown when tag is empty or contains only white-space characters.