29 lines
503 B
C#
29 lines
503 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
public class DoorManager : MonoBehaviour
|
|
{
|
|
public string type;
|
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
private void OnDrawGizmos()
|
|
{
|
|
#if UNITY_EDITOR
|
|
Handles.Label(
|
|
transform.position + Vector3.up * 2f,
|
|
type
|
|
);
|
|
#endif
|
|
}
|
|
|
|
}
|