public StoryInstance NewStoryInstance(int storyId, int sceneId) { StoryInstance instance = null; int id = GetId(storyId, sceneId); StoryInstance temp = GetStoryInstanceResource(id); if (temp != null) { instance = temp.Clone(); } return(instance); }
public StoryInstance NewStoryInstance(int storyId, int sceneId) { StoryInstance instance = null; int id = GetId(storyId, sceneId); StoryInstance temp = GetStoryInstanceResource(id); if (temp != null) { instance = temp.Clone(); } return(instance); }