ToolElement.Designer.cs 651 B

1234567891011121314151617181920212223242526272829
  1. /****************************************************************************
  2. * 2021.10 DESKTOP-PBQ45G2
  3. ****************************************************************************/
  4. using UnityEngine;
  5. using UnityEngine.UI;
  6. using QFramework;
  7. namespace QFramework
  8. {
  9. public partial class ToolElement
  10. {
  11. [SerializeField] public UnityEngine.UI.Button ToolBtn;
  12. [SerializeField] public UnityEngine.UI.Image ToolImg;
  13. [SerializeField] public UnityEngine.UI.Text ToolName;
  14. public void Clear()
  15. {
  16. ToolBtn = null;
  17. ToolImg = null;
  18. ToolName = null;
  19. }
  20. public override string ComponentName
  21. {
  22. get { return "ToolElement";}
  23. }
  24. }
  25. }