A completely working minigame Insert Keys, Added SFX + Light, Still not mergable - needs dev team check

This commit is contained in:
2026-05-11 21:19:01 +02:00
parent 2f86bab336
commit e55aa6b258
23 changed files with 671 additions and 205 deletions

View File

@@ -25,13 +25,13 @@ public class KeyHole : MonoBehaviour
if (key.isSelected)
{
key.transform.parent.position = transform.position + key.insertedOffset;
key.transform.parent.eulerAngles = key.insertedRotation;
key.transform.position = transform.position + key.insertedOffset;
key.transform.eulerAngles = key.insertedRotation;
Debug.Log("Key teleported to keyhole " + index);
if (manager.CheckKeyHole(index))
{
Debug.Log("Correct, You Win");
key.StartCoroutine(key.HandleWin());
}
else
{