//01 OnStartServer public override void OnStartServer() { base.OnStartServer(); //NetworkServer.RegisterHandler<PlayerCreationNetworkMessage>(playerPrefab.GetComponent<PlayerMainSync>().OnCreateCharacter); OnStartServerEvent?.Invoke(); }
public override void OnStartServer() { InitializeServer(); OnStartServerEvent?.Invoke(); }