15 lines
306 B
C#
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;
|
|
}
|
|
}
|