Utility class that contain a method to correctly destroy a Unity component without having to know if we are in Editor or Play mode.
More...
|
| static void | Destroy (Object obj) |
| | Destroys a UnityEngine.Object safely. Use either Destroy or DestroyImmediate when needed.
|
| |
Utility class that contain a method to correctly destroy a Unity component without having to know if we are in Editor or Play mode.
◆ Destroy()
| static void Inria.Avatar.AvatarReady.DestroyUtils.Destroy |
( |
Object | obj | ) |
|
|
inlinestatic |
Destroys a UnityEngine.Object safely. Use either Destroy or DestroyImmediate when needed.
- Parameters
-
| obj | Object to be destroyed. |
The documentation for this class was generated from the following file: