NotePader.cs 905 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using PublicTools.Unity;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. namespace ShadowStudio.Tool
  6. {
  7. /// <summary>
  8. /// 记事本的结构体
  9. /// </summary>
  10. public struct NoteData
  11. {
  12. /// <summary>
  13. /// 便签的名字
  14. /// 通过时间生成唯一码
  15. /// </summary>
  16. public string noteName;
  17. /// <summary>
  18. /// 记事本的内容
  19. /// </summary>
  20. public string noteMsg;
  21. /// <summary>
  22. /// 便签的颜色
  23. /// </summary>
  24. public XColor notePadColor;
  25. /// <summary>
  26. /// 字体大小
  27. /// </summary>
  28. public int fontSize;
  29. /// <summary>
  30. /// 建立连接的物体的Id
  31. /// 建立连接后
  32. /// </summary>
  33. public int linkGoodsId;
  34. }
  35. public class NotePader : MonoBehaviour
  36. {
  37. }
  38. }