mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-05-31 15:53:15 +00:00
Upload Game
This commit is contained in:
parent
b3f494d5c2
commit
18b63ffa9b
150 changed files with 85782 additions and 0 deletions
20
Assets/KeyScripts/KeyDoor.cs
Normal file
20
Assets/KeyScripts/KeyDoor.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue