mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-06-01 08:13:14 +00:00
Upload Game
This commit is contained in:
parent
b3f494d5c2
commit
18b63ffa9b
150 changed files with 85782 additions and 0 deletions
23
Assets/KeyScripts/Key.cs
Normal file
23
Assets/KeyScripts/Key.cs
Normal file
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Key : MonoBehaviour
|
||||
{
|
||||
|
||||
[SerializeField] private KeyType keyType;
|
||||
|
||||
public enum KeyType
|
||||
{
|
||||
Red,
|
||||
Green,
|
||||
Blue
|
||||
}
|
||||
|
||||
public KeyType GetKeyType()
|
||||
{
|
||||
return keyType;
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue