UIStartFightRoomComponent.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 GameObject fightCardNode;
  13. public GameObject disCardsNode;
  14. }
  15. [ComponentOf(typeof(UI))]
  16. public class UIFightCardItemComponent
  17. {
  18. public GameObject node;
  19. public GameObject sourceItem;
  20. }
  21. [ComponentOf(typeof(UI))]
  22. public class UIStartFightRoomComponent : Entity, IAwake, IDestroy
  23. {
  24. public GameObject houseIcon;
  25. public GameObject houseIdTxt;
  26. public GameObject gameNumTxt;
  27. public GameObject curResidueTxt;
  28. public GameObject wifiImage;
  29. public GameObject powerImage;
  30. public Text timeTxt;
  31. public GameObject menuBtn;
  32. public GameObject faceBtn;
  33. public GameObject videoBtn;
  34. public GameObject menuPanel;
  35. public GameObject maskBtn;
  36. public GameObject menuBackBtn;
  37. public GameObject menuQuitBtn;
  38. public GameObject menuSettingBtn;
  39. public GameObject facePanel;
  40. public GameObject fastToggleBtn;
  41. public GameObject faceToggleBtn;
  42. public GameObject listFastGridBg;
  43. public GameObject listFastContent;
  44. public GameObject gridFastItem;
  45. public GameObject listFaceGridBg;
  46. public GameObject listFaceContent;
  47. public GameObject gridFaceItem;
  48. public List<UIStartFightRoomPlayerCom> uIStartFightRoomPlayerComs = new List<UIStartFightRoomPlayerCom>();
  49. public GameObject fightCardItem; //上下
  50. public GameObject fightCardItem1; //左右
  51. public GameObject readyBtn;
  52. public GameObject inviteBtn;
  53. public GameObject faceAndVideoObj;
  54. public GameObject facePanelCloseBtn;
  55. //战斗聊天弹框
  56. public List<GameObject> playChatObjList = new List<GameObject>();
  57. public Image shakeDiceImage;
  58. public Text timeCountTxt;
  59. //操作
  60. public GameObject operatorObj;
  61. public List<GameObject> operatorObj_btn = new List<GameObject>();
  62. public long RepeatedTimer;
  63. public long startTimer;
  64. public long startTimeCount = 0; //用于开始倒计时,以及每个回合倒计时
  65. public int curCardVal = -1;
  66. }
  67. }