Destroys an instance from the scene or from memory, depending on the template argument, by its class.
Type destroy.
Instance class.
Type: InScene - Removes only from the scene, does not free memory. InMemory - Removes permanently, from the scene and from memory (by the garbage collector).
See Implementation
Destroys an instance from the scene or from memory, depending on the template argument, by its class.