EditorUtility.UnloadUnusedAssets 卸载不使用的资源

static function UnloadUnusedAssets () : void

Description描述

Unloads assets that are not used.

卸载不使用的资源。

An asset is deemed to be unused if it isn't reached after walking the whole game object hierarchy, including script components. Static variables are also examined.

如果运行整个游戏层级,它没有使用,被视为闲置资源,包含脚本组件。静态变量也被检查。

参见: Resources.UnloadUnusedAssets.

Page last updated: 2011-7-15