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; }
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; }