TheFrontRoomsGame/Assets/Key/KeyScripts/Key.cs
2023-03-24 10:33:36 +00:00

23 lines
347 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
public class Key : MonoBehaviour
{
[SerializeField] private KeyType keyType;
public int KeyNumber;
public enum KeyType
{
Red,
Green,
Blue
}
public KeyType GetKeyType()
{
return keyType;
}
}