private void Awake()
{
string[] ips = NetHelper.GetAddressIPs();
StartConfig[] startConfigs = Game.Scene.GetComponent<StartConfigComponent>().GetAll();
foreach (StartConfig startConfig in startConfigs)
{
if (!ips.Contains(startConfig.ServerIP) && startConfig.ServerIP != "*")
{
continue;
}
if (startConfig.AppType.Is(AppType.Manager))
{
continue;
}
StartProcess(startConfig.AppId);
}
this.WatchProcessAsync();
}