private void Awake() { instance = this; // クライアントが送るデータの初期化 cData = new Model.ClientData(null, 0, 0, new Vector2()); sendCardData = new Model.ClientData(null, 0, 0, new Vector2()); }
private void Awake() { instance = this; // クライアントが送るデータの初期化 sendCardData = new Model.ClientData(null, 0, 0, new Vector2()); recvSeverData.isRecvFinished = false; }
private void Awake() { if (instance == null) { instance = this; } useCardData = new Model.ClientData(null, -1, 0, new Vector2()); }
private void Awake() { if (instance == null) { instance = this; } // クライアントが送るデータの初期化 useCardData = new Model.ClientData(null, 0, 0, new Vector2()); }
//ClientData構造体を分解し、ClientDataClassに置き換える public Model.ClientData SendArrayConvertClass(SendClientDataArray severData) { ClientData cData = new Model.ClientData(null, 0, 0, new Vector2()); CardDataProxy setdata = new CardDataProxy(severData.Number, severData.Name, severData.Text, severData.Cost, severData.Score, severData.Type, severData.Rarity ); cData.CardDataProxy = setdata; cData._PlayerNum = severData._PlayerNum; cData._CardPlayTime = severData._CardPlayTime; cData._FieldPos = severData._FieldPos; return(cData); }
public override void OnStartClient() { cData = new Model.ClientData(null, 0, 0, new Vector2()); sendCardData = new Model.ClientData(null, 0, 0, new Vector2()); }