35 lines
841 B
C#
35 lines
841 B
C#
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");
|
|
}
|
|
}
|
|
|
|
|