示例#1
0
 public ClientHandler(CustomNetworkManager net) : base(net)
 {
 }
示例#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);
 }
示例#4
0
 public NetworkManagerHandler(CustomNetworkManager net)
 {
     _net = net;
 }