示例#1
0
    private void Awake()
    {
        _allSystems = RegisterSystems.GetListOfSystems();

        // If system missing from config, add it and enable it.
        foreach (var system in _allSystems)
        {
            if (!Config.SystemsEnabled.ContainsKey(system.Name))
            {
                Config.SystemsEnabled[system.Name] = true;
            }
        }
    }
 private void Awake()
 {
     _allSystems = RegisterSystems.GetListOfSystems();
 }