using UnityEngine; namespace XGame.Framework.UI { public interface IComponentGetter { /// /// 获取指定序列化对象的Component /// /// /// 序列化对象的名字 /// T GetComponent(string key) where T : Component; } }