Scriptum/Assets/Scripts/Domain/DialoguePanel/Loader/DialoguePanelsPrefabsLoader.cs

35 lines
841 B
C#
Raw Permalink Normal View History

2022-10-16 19:40:44 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class DialoguePanelsPrefabsList
{
private static string SourcePath = "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");
}
}