UIStartFightRoomComponent.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 houseIdTxt;
  27. public GameObject gameNumTxt;
  28. public GameObject curResidueTxt;
  29. public GameObject wifiImage;
  30. public GameObject powerImage;
  31. public Text timeTxt;
  32. public GameObject menuBtn;
  33. public GameObject faceBtn;
  34. public GameObject videoBtn;
  35. public GameObject menuPanel;
  36. public GameObject maskBtn;
  37. public GameObject menuBackBtn;
  38. public GameObject menuQuitBtn;
  39. public GameObject menuSettingBtn;
  40. public GameObject facePanel;
  41. public GameObject fastToggleBtn;
  42. public GameObject faceToggleBtn;
  43. public GameObject listFastGridBg;
  44. public GameObject listFastContent;
  45. public GameObject gridFastItem;
  46. public GameObject listFaceGridBg;
  47. public GameObject listFaceContent;
  48. public GameObject gridFaceItem;
  49. public List<UIStartFightRoomPlayerCom> uIStartFightRoomPlayerComs = new List<UIStartFightRoomPlayerCom>();
  50. public GameObject fightCardItem; //上下
  51. public GameObject fightCardItem1; //左右
  52. public GameObject readyBtn;
  53. public GameObject inviteBtn;
  54. public GameObject faceAndVideoObj;
  55. public GameObject facePanelCloseBtn;
  56. //战斗聊天弹框
  57. public List<GameObject> playChatObjList = new List<GameObject>();
  58. public GameObject shakeDiceImage1;
  59. public GameObject shakeDiceImage2;
  60. public GameObject shakeDiceImage3;
  61. public GameObject shakeDiceImage4;
  62. public Text timeCountTxt;
  63. //操作
  64. public GameObject operatorObj;
  65. public List<GameObject> operatorObj_btn = new List<GameObject>();
  66. public long RepeatedTimer;
  67. public long startTimer;
  68. public long startTimeCount = 0; //用于开始倒计时,以及每个回合倒计时
  69. public string[] orientationList = new string[4] { "东","南","西","北"};
  70. }
  71. }