public bool CheckKey(InteractableItem key) { if (Key.Equals(key)) { Unlock(); return(true); } return(false); }
public bool Trigger(InteractableItem bulbNeeded) { if (BulbNeeded.Equals(bulbNeeded) && !IsFixed) { LightObject.SetActive(true); IsFixed = true; return(true); } return(false); }