Scriptum/Assets/Scripts/REFACTORING/Application/Dialogue/Panel/Loader/DialoguePanelsPrefabsLoader.cs

35 lines
850 B
C#
Raw Normal View History

2022-10-16 19:40:44 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class DialoguePanelsPrefabsList
{
2022-12-04 18:42:34 +01:00
private static string SourcePath = "UiPanels/Dialogue/";
2022-10-16 19:40:44 +02:00
public static GameObject GetPanel()
{
return Resources.Load<GameObject>(SourcePath + "DialoguePanel");
}
public static GameObject GetBaseButton()
{
return Resources.Load<GameObject>(SourcePath + "BaseButton");
}
public static GameObject GetAcceptButton()
{
return Resources.Load<GameObject>(SourcePath + "AcceptButton");
}
public static GameObject GetRejectButton()
{
return Resources.Load<GameObject>(SourcePath + "RejectButton");
}
public static GameObject GetContinueButton()
{
return Resources.Load<GameObject>(SourcePath + "ContinueButton");
}
}