123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class MessageData
- {
- public string msgType { get; set; }
- public List<ModelData> listModelData { get; set; }
- public ModelData CreateModel { get; set; }
- public string DesModelId { get; set; }
- public MessageData(string msgType, List<ModelData> listModelData,ModelData createmodel,string desModelId)
- {
- this.msgType = msgType;
- this.listModelData = listModelData;
- this.CreateModel = createmodel;
- this.DesModelId = desModelId;
- }
- }
- public class TransformData
- {
- public Vector3 pos { get; set; }
- public Vector3 eul { get; set; }
- public Vector3 scale { get; set; }
- public TransformData( Vector3 pos , Vector3 eul, Vector3 scale)
- {
- this.pos = pos;
- this.eul = eul;
- this.scale = scale;
- }
- }
- public class ModelData
- {
- public string id { get; set; }
- public string name { get; set; }
- public TransformData transformData { get; set; }
- public bool isShowBox { get; set; }
- public bool isSnatch { get; set; }
- public bool isPlayer { get; set; }
- public ModelData( string id , string name ,TransformData transfromData, bool isShowBox,bool isSnatch,bool isPlayer)
- {
- this.id = id;
- this.name = name;
- this.transformData = transfromData;
- this.isShowBox = isShowBox;
- this.isSnatch = isSnatch;
- this.isPlayer = isPlayer;
- }
- }
- //public class Hand
- //{
- // public TransformData transformData { get; set; }
-
- //}
|