PuzzleGame/PuzzleGameProject/Assets/Scripts/Rooms/Locks/MatchingDiceLock.cs
2025-01-30 11:05:39 +01:00

15 lines
306 B
C#

using Unity.VisualScripting;
using UnityEngine;
public class MatchingDiceLock : Lock
{
public override bool CheckIfKeyFits(DicePair dicePair)
{
if (base.CheckIfKeyFits(dicePair) && dicePair.CheckIfResultsMatch())
{
return true;
}
return false;
}
}