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(SourcePath + "DialoguePanel"); } public static GameObject GetBaseButton() { return Resources.Load(SourcePath + "BaseButton"); } public static GameObject GetAcceptButton() { return Resources.Load(SourcePath + "AcceptButton"); } public static GameObject GetRejectButton() { return Resources.Load(SourcePath + "RejectButton"); } public static GameObject GetContinueButton() { return Resources.Load(SourcePath + "ContinueButton"); } }