• Destroy the given game object. Destroyed game object is removed from the scene, and all of its listeners is also removed.

    Parameters

    • obj: GameObject

      game object itself

    Returns void