素材替换问题处理完毕
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user