UIStartFightRoomComponent.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3. using UnityEngine.UI;
  4. namespace ET.Client
  5. {
  6. [ComponentOf(typeof(UI))]
  7. public class UIStartFightRoomPlayerCom
  8. {
  9. public GameObject playerObj;
  10. public Image playerIcon;
  11. public GameObject readyImage;
  12. public Text playName;
  13. public GameObject fightCardNode;
  14. public GameObject disCardsNode;
  15. public GameObject haveBeenOutContentNode;
  16. }
  17. [ComponentOf(typeof(UI))]
  18. public class UIFightCardItemComponent
  19. {
  20. public GameObject node;
  21. public GameObject sourceItem;
  22. }
  23. [ComponentOf(typeof(UI))]
  24. public class UIStartFightRoomComponent : Entity, IAwake, IDestroy
  25. {
  26. public GameObject houseIcon;
  27. public GameObject houseIdTxt;
  28. public GameObject gameNumTxt;
  29. public GameObject curResidueTxt;
  30. public GameObject wifiImage;
  31. public GameObject powerImage;
  32. public Text timeTxt;
  33. public GameObject menuBtn;
  34. public GameObject faceBtn;
  35. public GameObject videoBtn;
  36. public GameObject menuPanel;
  37. public GameObject maskBtn;
  38. public GameObject menuBackBtn;
  39. public GameObject menuQuitBtn;
  40. public GameObject menuSettingBtn;
  41. public GameObject facePanel;
  42. public GameObject fastToggleBtn;
  43. public GameObject faceToggleBtn;
  44. public GameObject listFastGridBg;
  45. public GameObject listFastContent;
  46. public GameObject gridFastItem;
  47. public GameObject listFaceGridBg;
  48. public GameObject listFaceContent;
  49. public GameObject gridFaceItem;
  50. public List<UIStartFightRoomPlayerCom> uIStartFightRoomPlayerComs = new List<UIStartFightRoomPlayerCom>();
  51. public GameObject fightCardItem; //上下
  52. public GameObject fightCardItem1; //左右
  53. public GameObject readyBtn;
  54. public GameObject inviteBtn;
  55. public GameObject faceAndVideoObj;
  56. public GameObject facePanelCloseBtn;
  57. //战斗聊天弹框
  58. public List<GameObject> playChatObjList = new List<GameObject>();
  59. public Image shakeDiceImage;
  60. public Text timeCountTxt;
  61. public Text dongTxt;
  62. public Text nanTxt;
  63. public Text xiTxt;
  64. public Text beiTxt;
  65. //操作
  66. public GameObject operatorObj;
  67. public List<GameObject> operatorObj_btn = new List<GameObject>();
  68. public long RepeatedTimer;
  69. public long startTimer;
  70. public long startTimeCount = 0; //用于开始倒计时,以及每个回合倒计时
  71. public string[] orientationList = new string[4] { "东","南","西","北"};
  72. }
  73. }