Beispiel #1
0
    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();
 }
Beispiel #3
0
 public void Load()
 {
     ChoicePool = JSONLoader.LoadFromFile <ChoicePool>(m_FilePath);
 }