fix/dev-room #5

Merged
Antoine2507 merged 31 commits from fix/dev-room into Prototype 2026-03-17 10:49:58 +01:00
Showing only changes of commit ceb4c54b9d - Show all commits

View File

@@ -55,8 +55,7 @@ public class ButtonSequenceDoorPuzzle : MonoBehaviour
if (button == null)
continue;
int buttonIndex = i;
UnityAction action = () => OnButtonPressed(buttonIndex);
UnityAction action = () => OnButtonPressed(i);
m_cachedListeners[i] = action;
button.OnInteract.AddListener(action);
}