void Start()

in UltraFrogRoyale/Assets/GameNetworkManager.cs [44:63]


    void Start()
    {
        // required to initialize the AWS Mobile SDK
        UnityInitializer.AttachToGameObject(this.gameObject);

        // tells UNET we want more than the default 8 players
        maxConnections = MAX_PLAYERS;

        // detect headless server mode
        if (SystemInfo.graphicsDeviceType == UnityEngine.Rendering.GraphicsDeviceType.Null)
        {
            Debug.Log("** SERVER MODE **");
            isHeadlessServer = true;
            SetupServerAndGamelift();
        }
        else
        {
            SetupClient();
        }
    }