Scriptum/Assets/Scripts/REFACTORING/Application/Dialogue/Panel/Loader/DialoguePanelsPrefabsLoader.cs
2022-12-04 20:48:40 +01:00

35 lines
850 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class DialoguePanelsPrefabsList
{
private static string SourcePath = "UiPanels/Dialogue/";
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");
}
}