Commit c9f527c2 authored by SherryChaos's avatar SherryChaos

fix cutin cache bug

parent b4fac7ca
This diff is collapsed.
......@@ -344,7 +344,6 @@ namespace MDPro3
private async UniTask UnloadUnusedAssetsAsync()
{
ABLoader.ClearTemp();
await Resources.UnloadUnusedAssets();
}
......
......@@ -37,7 +37,6 @@ namespace MDPro3.Servant
private CancellationTokenSource cts;
#region Servant
public override int Depth => 1;
protected override bool ShowLine => false;
......@@ -65,7 +64,7 @@ namespace MDPro3.Servant
protected override void AfterHidingEvent()
{
Resources.UnloadUnusedAssets();
Program.instance.UnloadUnusedAssets();
}
public override void PerFrameFunction()
......@@ -230,7 +229,7 @@ namespace MDPro3.Servant
bool diy = false;
if (codes.Contains(code))
//cutin = await ABLoader.LoadFromFolderAsync<PlayableDirector>("MonsterCutin/" + code, false, true);
cutin = await ABLoader.LoadMonsterCutinAsync(code);
cutin = await ABLoader.LoadMonsterCutinAsync(code, false);
else
{
cutin = await ABLoader.LoadFromFileAsync("MonsterCutin2/" + code, false, true);
......
......@@ -982,7 +982,14 @@ PlayerSettings:
windowsGamepadBackendHint: 0
cloudProjectId:
framebufferDepthMemorylessMode: 0
qualitySettingsNames: []
qualitySettingsNames:
- Very Low
- Low
- Medium
- High
- Very High
- Ultra
- UI
projectName:
organizationId:
cloudEnabled: 0
......
......@@ -4,7 +4,7 @@
QualitySettings:
m_ObjectHideFlags: 0
serializedVersion: 5
m_CurrentQuality: 5
m_CurrentQuality: 0
m_QualitySettings:
- serializedVersion: 4
name: Very Low
......@@ -371,7 +371,4 @@ QualitySettings:
terrainMaxTrees: 50
excludedTargetPlatforms: []
m_TextureMipmapLimitGroupNames: []
m_PerPlatformDefaultQuality:
Android: 0
Standalone: 0
iPhone: 0
m_PerPlatformDefaultQuality: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment