// ------------------------------------------------------------------------------- // OnClientAuthenticate // @Client -> @Server // ------------------------------------------------------------------------------- public override void OnClientAuthenticate(NetworkConnection conn) { AuthRequestMessage authRequestMessage = new AuthRequestMessage { clientVersion = Application.version }; NetworkClient.Send(authRequestMessage); }