Commit c9f527c2 authored by SherryChaos's avatar SherryChaos

fix cutin cache bug

parent b4fac7ca
This diff is collapsed.
...@@ -344,7 +344,6 @@ namespace MDPro3 ...@@ -344,7 +344,6 @@ namespace MDPro3
private async UniTask UnloadUnusedAssetsAsync() private async UniTask UnloadUnusedAssetsAsync()
{ {
ABLoader.ClearTemp();
await Resources.UnloadUnusedAssets(); await Resources.UnloadUnusedAssets();
} }
......
...@@ -37,7 +37,6 @@ namespace MDPro3.Servant ...@@ -37,7 +37,6 @@ namespace MDPro3.Servant
private CancellationTokenSource cts; private CancellationTokenSource cts;
#region Servant #region Servant
public override int Depth => 1; public override int Depth => 1;
protected override bool ShowLine => false; protected override bool ShowLine => false;
...@@ -65,7 +64,7 @@ namespace MDPro3.Servant ...@@ -65,7 +64,7 @@ namespace MDPro3.Servant
protected override void AfterHidingEvent() protected override void AfterHidingEvent()
{ {
Resources.UnloadUnusedAssets(); Program.instance.UnloadUnusedAssets();
} }
public override void PerFrameFunction() public override void PerFrameFunction()
...@@ -230,7 +229,7 @@ namespace MDPro3.Servant ...@@ -230,7 +229,7 @@ namespace MDPro3.Servant
bool diy = false; bool diy = false;
if (codes.Contains(code)) if (codes.Contains(code))
//cutin = await ABLoader.LoadFromFolderAsync<PlayableDirector>("MonsterCutin/" + code, false, true); //cutin = await ABLoader.LoadFromFolderAsync<PlayableDirector>("MonsterCutin/" + code, false, true);
cutin = await ABLoader.LoadMonsterCutinAsync(code); cutin = await ABLoader.LoadMonsterCutinAsync(code, false);
else else
{ {
cutin = await ABLoader.LoadFromFileAsync("MonsterCutin2/" + code, false, true); cutin = await ABLoader.LoadFromFileAsync("MonsterCutin2/" + code, false, true);
......
...@@ -982,7 +982,14 @@ PlayerSettings: ...@@ -982,7 +982,14 @@ PlayerSettings:
windowsGamepadBackendHint: 0 windowsGamepadBackendHint: 0
cloudProjectId: cloudProjectId:
framebufferDepthMemorylessMode: 0 framebufferDepthMemorylessMode: 0
qualitySettingsNames: [] qualitySettingsNames:
- Very Low
- Low
- Medium
- High
- Very High
- Ultra
- UI
projectName: projectName:
organizationId: organizationId:
cloudEnabled: 0 cloudEnabled: 0
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
QualitySettings: QualitySettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 5 serializedVersion: 5
m_CurrentQuality: 5 m_CurrentQuality: 0
m_QualitySettings: m_QualitySettings:
- serializedVersion: 4 - serializedVersion: 4
name: Very Low name: Very Low
...@@ -371,7 +371,4 @@ QualitySettings: ...@@ -371,7 +371,4 @@ QualitySettings:
terrainMaxTrees: 50 terrainMaxTrees: 50
excludedTargetPlatforms: [] excludedTargetPlatforms: []
m_TextureMipmapLimitGroupNames: [] m_TextureMipmapLimitGroupNames: []
m_PerPlatformDefaultQuality: m_PerPlatformDefaultQuality: {}
Android: 0
Standalone: 0
iPhone: 0
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