using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TinaX.Systems.Configuration { public interface IConfigurationProvider { /// /// Tries to get a configuration value for the specified key. /// /// /// /// bool TryGet(string key, out string value); /// /// Sets a configuration value for the specified key. /// /// /// void Set(string key, string value); /// /// Returns the immediate descendant configuration keys for a given parent path based on this /// 基于此返回给定父路径的直接子代配置键 /// s data and the set of keys returned by all the preceding /// s. /// /// The child keys returned by the preceding providers for the same parent path. /// The parent path. /// The child keys. IEnumerable GetChildKeys(IEnumerable earlierKeys, string parentPath); void Load(); } }