namespace Wizard; public class LoadSceneStoryData { private const string FORMAT_STORY_TITLE_NAME = "StoryTitle_{0:0000}_1"; private const string FORMAT_STORY_VALUE_NAME = "StoryText_{0:0000}_1"; private const string STILL_TEXTURE_NAME = "bg_story_section_{0}"; public int StoryId { get; private set; } public string StoryTitle { get; private set; } public string StoryValue { get; private set; } public string StillImageName { get; private set; } public LoadSceneStoryData(int _storyId) { StoryId = _storyId; SystemText systemText = Data.SystemText; StoryTitle = systemText.Get($"StoryTitle_{StoryId:0000}_1"); StoryValue = systemText.Get($"StoryText_{StoryId:0000}_1"); StillImageName = "Images/Loading/" + $"bg_story_section_{StoryId}"; } }