private void Awake() { m_CandidateFactory.Load(); m_ChoiceFactory.Load(); m_ConversationConlusionStrings = JSONLoader.LoadFromFile <ConversationConclusionStrings>(m_ConversationConclusionStringsFilePath); Cult = JSONLoader.LoadFromFile <Cult>(m_CultStartingStatsFilePath); }
public void Load(int?seed = null) { m_Random = seed.HasValue ? new Random(seed.Value) : new Random(); CandidatePool = JSONLoader.LoadFromFile <CandidatePool>(m_FilePath); m_AvailableCandidates = CandidatePool.Candidates.ToList(); }
public void Load() { ChoicePool = JSONLoader.LoadFromFile <ChoicePool>(m_FilePath); }