Day1Day2”真“跑通

Day1基本Ok了
Day2分支还没测,Day2ClueBoard可以优化
插线功能还没改,插线对话还没接入
ClueBoard镜头功能还没加入
This commit is contained in:
2024-11-14 23:29:19 +08:00
parent 27d6c15a26
commit d886175ef8
6 changed files with 244 additions and 88 deletions
@@ -240,7 +240,9 @@ void OnClarityChanged(float value)
// Initialize and release slot
Init();
clueSlot.punchTape.used=true;
clueSlot.ReleaseSlot();
}
[YarnCommand("ColorFadeOut")]
public IEnumerator ColorFadeOut()
@@ -345,7 +347,7 @@ public IEnumerator PlayMemory(bool useYarn=false,string memName="")
Debug.LogWarning("Already processing a memory. Please wait until the process is finished.");
yield break;
}
processedPunchTapes.Add(punchTape,true);
//processedPunchTapes.Add(punchTape,true);
Sprite memorySprite = Resources.Load<Sprite>("Art/Memory/" + PunchTape.MemoryIndex);
memoryFinishedImage.sprite = memorySprite;
memoryFinishedImageNoColor.sprite = memorySprite;