Method Destroy
Destroy(Object)
Destroys a Unity object using the operation appropriate for the current play mode.
public static void Destroy(Object o)
Parameters
oObject
Destroys a Unity object using the operation appropriate for the current play mode.
public static void Destroy(Object o)
o Object