• Add the object to the scene. Only objects added to the scene will appear.

    Parameters

    • obj: GameObject

      game object to be added

    Returns GameObject | undefined