mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-05-28 22:33:15 +00:00
20 lines
311 B
C#
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);
|
|
}
|
|
|
|
}
|