Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ WithTag() [1/3]

static GameObject Sisus.Init.Find.WithTag ( string tag,
bool includeInactive = false )
static

Returns the first loaded GameObject with the provided tag , if any.

Parameters
tagThe tag to search for.
includeInactiveShould inactive GameObjects be included in the search?

Note that searching for inactive GameObjects is a slow operation.

Returns
GameObject with the provided tag, if found; otherwise, null.