Scene.opIndex

Gets the object in the scene with the given name.

  1. GameObject opIndex(string name)
    class Scene
    final
    GameObject
    opIndex
    (
    string name
    )
  2. GameObject opIndex(uint index)

Parameters

name
Type: string

The name of the object to look for.

Return Value

Type: GameObject

The object with the given name.

Meta