Files
HauntedBloodlines/Assets/Scripts/Scripted Events/ChangeKeyForKeyHole.cs
2025-05-29 22:31:40 +03:00

16 lines
329 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using InfallibleCode;
public class ChangeKeyForKeyHole : MonoBehaviour
{
public KeyHole targetKeyHole;
public KeyPickup newkeyPickup;
public void ChangeKeyInTargetKeyHole()
{
targetKeyHole.KeyPickup = newkeyPickup;
}
}