/// <summary> /// Called on the client when connected to a server. /// <para>The default implementation of this function sets the client as ready and adds a player. Override the function to dictate what happens when the client connects.</para> /// </summary> public override void OnClientConnect() { base.OnClientConnect(); canvasController.OnClientConnect(); }
/// <summary> /// Called on the client when connected to a server. /// <para>The default implementation of this function sets the client as ready and adds a player. Override the function to dictate what happens when the client connects.</para> /// </summary> /// <param name="conn">Connection to the server.</param> public override void OnClientConnect(NetworkConnection conn) { base.OnClientConnect(conn); canvasController.OnClientConnect(conn); }