Scene.opIndex

Gets the object in the scene with the given id.

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

Parameters

index
Type: uint

The id of the object to look for.

Return Value

Type: GameObject

The object with the given id.

Meta