using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Object = UnityEngine.Object; namespace MyFrameworkPure { /// /// 内存工具 /// public static class MemoryTool { /// /// 清理内存 /// public static void ClearMemory() { Resources.UnloadUnusedAssets(); GC.Collect(); } } }