// --------------------------------------------------------------------------------------------- // Copyright (c) 2021-2024, Jiaqi (0x7c13) Liu. All rights reserved. // See LICENSE file in the project root for license information. // --------------------------------------------------------------------------------------------- namespace Engine.Extensions { public static class UnityObjectExtensions { public static void Destroy(this UnityEngine.Object obj) { if (obj != null) { UnityEngine.Object.Destroy(obj); } } } }