123456789101112131415161718192021 |
- using UnityEngine;
- namespace GFGGame
- {
- public class FullScreenTextController
- {
- public const string RESIN_TXT_DIR_PATH = "Assets/ResIn/Txt";
- public static string GetTxtPath(string res, string extName = "txt")
- {
- return $"{RESIN_TXT_DIR_PATH}/{res}.{extName}";
- }
- public static void Show(string eventName)
- {
- if (!string.IsNullOrEmpty(eventName))
- {
- FullScreenTextView.Instance.Show(eventName);
- }
- }
- }
- }
|