Practice_Unity/Assets/Scripts/Utils/Define.cs
SEAN-59 b9b2e92284 작업
UI 들 세분화 작업
2025-10-13 00:22:30 +09:00

42 lines
791 B
C#

using System.Collections.Generic;
using UnityEngine;
public class Define
{
static readonly Dictionary<string, string> PathtoObject = new ()
{
{"JoyStick", "Prefabs/UI/JoyStick"},
{"Button_Action", "Prefabs/UI/Button_Action"},
{"ExpBar", "Prefabs/UI/ExpBar"}
};
public static string MapPath(string name) => PathtoObject.TryGetValue(name, out string path) ? path : string.Empty;
public enum Scene
{
Uknown,
Title,
Lobby,
Game,
}
public enum InputEvent
{
Down,
Up,
Press,
Click,
}
public enum CameraMode
{
QuarterView,
SideView,
TopView,
}
public enum EnemyType
{
Unknown,
Test
}
}