public SyncData SendData() { //消息 SyncData data = new SyncData(); data.Add(movementSettings.isPushed); data.Add(movementSettings.isRun); return(data); }
public SyncData SendData() { SyncData data = new SyncData(); data.Add(1); return(data); }
public SyncData SendData() { //消息 SyncData data = new SyncData(); data.Add(isPushed); return(data); }
public SyncData SendData() { SyncData data = new SyncData(); data.Add(1);//防止空 foreach (var ai in AI_List) { if (ai.Value == null) { Debug.LogFormat("ai_name:{0}", ai.Key); } data.AddString(ai.Key); data.Add(ai.Value.transform.position); data.Add(ai.Value.transform.eulerAngles); } return(data); }