public static void Destroy(System.Object obj){} public static void DestroyImmediate(System.Object obj, bool allowDestroyingAssets){}
public static T DestroySelfGracefully <T>(this T selfObj) where T : Object { if (selfObj) { Object.Destroy(selfObj); } return(selfObj); }