Source Academy Modules
    Preparing search index...

    Function add

    • 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