public void SereializeReceive(PhotonStream stream, PhotonMessageInfo info) { this.gameOrder = (Game_order_Name)stream.ReceiveNext(); this.actionName = (Action_Name)stream.ReceiveNext(); this.current_player = (int)stream.ReceiveNext(); this.start_player = (int)stream.ReceiveNext(); }
/// <summary> /// /// </summary> /// <param name="groupInfo"></param> /// <param name="token"></param> public CreateQrcodeRequest(string token, int scene_id, Action_Name action_name) : base() { this.token = token; this.action_name = action_name; this.scene_id = scene_id; }
public void ChangeActionName(Action_Name type) { GameSystem.Instance.gameRule.actionName = type; Debug.Log("게임시스템 액션 이름 바꾸기 : " + type.ToString()); }