[Memo-Unity] 37. 프로젝트 Define 만들기

업데이트:

카테고리:

태그: ,


Define

Define

Define








Define

public struct UIName
{
    public const string ControlKeyUI = "ControlKeyUI";
    public const string GoDungeonUI = "GoDungeonUI";
    public const string PlayerStatusUI = "PlayerStatusUI";
    public const string ReforgeUI = "ReforgeUI";
    public const string RestartUI = "RestartUI";
    public const string RestaurantUI = "RestaurantUI";
    public const string ResultUI = "ResultUI";
    public const string SettingUI = "SettingUI";
    public const string ShopUI = "ShopUI";
    public const string InventoryUI = "InventoryUI";
}

ex)
GameManager.instance.UIManager.ShowCanvas("InventoryUI");
GameManager.instance.UIManager.ShowCanvas(UIName.InventoryUI);







잡담




[Unity] UnityDocs TOP


📔

댓글남기기