using XGame.Framework.Asyncs; namespace XGame.Framework.Nodes { public interface INodeGroup { bool IsActive(NodeKey nodeKey); IAsync AddAsync(NodeKey nodeKey, object intent = null); void Remove(NodeKey nodeKey, bool isDestroy = false); /// /// 预加载,已经加载的返回空 /// 加载完成不会显示 /// /// /// IAsync Preload(NodeKey nodeKey); } }