Example #1
0
 public ClientHandler(CustomNetworkManager net) : base(net)
 {
 }
Example #2
0
 public virtual void OnEnable()
 {
     _man = serializedObject.targetObject as CustomNetworkManager;
 }
 public ServerHandler(CustomNetworkManager net) : base(net)
 {
     NetworkServer.RegisterHandler <ClientConnectedMessage>(OnClientConnectedMessage);
     NetworkServer.RegisterHandler <ClientPlayerMessage>(OnClientPlayerMessage);
 }
Example #4
0
 public NetworkManagerHandler(CustomNetworkManager net)
 {
     _net = net;
 }