using AlicizaX.Network.Runtime; using AlicizaX.Runtime; public static partial class GameApp { /// /// 获取网络组件。 /// public static NetworkComponent Network { get { if (_network == null) { _network = GameEntry.GetComponent(); } return _network; } } private static NetworkComponent _network; }