Update YooAssetDriver
在游戏对象销毁的时候释放YooAssets
This commit is contained in:
@@ -9,6 +9,11 @@ namespace YooAsset
|
||||
YooAssets.InternalUpdate();
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
YooAssets.InternalDestroy();
|
||||
}
|
||||
|
||||
void OnApplicationQuit()
|
||||
{
|
||||
YooAssets.InternalDestroy();
|
||||
|
||||
Reference in New Issue
Block a user