TheFrontRoomsGame/Assets/KeyScripts/KeyDoor.cs
2023-03-14 14:43:42 +00:00

20 lines
311 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
public class KeyDoor : MonoBehaviour
{
[SerializeField] private Key.KeyType keyType;
public Key.KeyType GetKeyType()
{
return keyType;
}
public void OpenDoor()
{
gameObject.SetActive(false);
}
}