Exemplo n.º 1
0
 public override void OnResponse(string data)
 {
     string[] strs = data.Split('|');
     role     = (RoleType)int.Parse(strs[0]);
     pos      = Vector3_Parse.Parse(strs[1]);
     rotation = Vector3_Parse.Parse(strs[2]);
     isNeedSyncRemoteArrow = true;
 }
Exemplo n.º 2
0
 public override void OnResponse(string data)
 {
     string[] strs = data.Split('|');
     pos              = Vector3_Parse.Parse(strs[0]);
     rotation         = Vector3_Parse.Parse(strs[1]);
     forward          = float.Parse(strs[2]);
     isNeedSyncRemote = true;
 }