コード例 #1
0
 public ClientDataServer(ClientTransform clientTransform, string name, int clientId, int lastPacketCounter, string clientIp)
 {
     this.clientTransform   = clientTransform;
     this.name              = name;
     this.clientId          = clientId;
     this.lastPacketCounter = lastPacketCounter;
     this.clientIp          = clientIp;
 }
コード例 #2
0
ファイル: DemoNetwork.cs プロジェクト: Moosan/PhotonTest
 public void SetClientTransform(ClientTransform transformState)
 {
     transform.SetPositionAndRotation(transformState.Pos, transformState.Rot);
     Body.transform.SetPositionAndRotation(transformState.Pos, transformState.Rot);
 }
コード例 #3
0
 public PlayerDataPacket(ClientTransform clientTransform, int clientId, int packetCounter)
 {
     this.clientTransform = clientTransform;
     this.clientId        = clientId;
     this.packetCounter   = packetCounter;
 }