素材替换问题处理完毕

This commit is contained in:
2025-11-15 21:34:02 +08:00
parent 6465835444
commit f693734b72
8 changed files with 2037 additions and 1966 deletions
@@ -73,8 +73,8 @@ namespace AibisDream
{
if (!isFading)
{
string fullPath = $"Assets/Resources/Art/CG/{imagePath}";
Sprite flashSprite = Resources.Load<Sprite>($"Art/CG/{imagePath}");
string fullPath = $"CG/{imagePath}";
Sprite flashSprite = ResourceKit.LoadAssetSync<Sprite>(fullPath);
if (flashSprite != null)
{
yield return StartFlash(flashSprite, fadeDuration);
@@ -95,8 +95,8 @@ namespace AibisDream
{
if (!isFading)
{
string fullPath = $"Assets/Resources/Art/CG/{imagePath}";
Sprite endingSprite = Resources.Load<Sprite>($"Art/CG/{imagePath}");
string fullPath = $"CG/{imagePath}";
Sprite endingSprite = ResourceKit.LoadAssetSync<Sprite>(fullPath);
if (endingSprite != null)
{
if (currentEndingIndex == 0)