Exemplo n.º 1
0
    private IEnumerator LoadConfig()
    {
        m_configProvider     = new ConfigProvider();
        m_configDataProvider = gameObject.AddComponent <ConfigDataProvider>();

        StoryConfig.PreloadInGameConfig();
        yield return(StartCoroutine(m_configDataProvider.LoadAllConfig()));
    }
Exemplo n.º 2
0
    private void LoadConfig()
    {
        m_configProvider     = new ConfigProvider();
        m_configDataProvider = new ConfigDataProvider();

        StoryConfig.PreloadInGameConfig();
        m_configDataProvider.InitialInfo();
    }
Exemplo n.º 3
0
 private void LoadConfig()
 {
     m_configProvider = new ConfigProvider();
     StoryConfig.PreloadInGameConfig();
 }
Exemplo n.º 4
0
 private void OnEnable()
 {
     data = target as StoryConfig;
 }