TMP_TextElement_Legacy.cs 519 B

12345678910111213141516171819202122232425
  1. using UnityEngine;
  2. using System;
  3. using System.Collections;
  4. namespace TMPro
  5. {
  6. /// <summary>
  7. /// Base class for all text elements like characters (glyphs) and sprites.
  8. /// </summary>
  9. [Serializable]
  10. public class TMP_TextElement_Legacy
  11. {
  12. public int id;
  13. public float x;
  14. public float y;
  15. public float width;
  16. public float height;
  17. public float xOffset;
  18. public float yOffset;
  19. public float xAdvance;
  20. public float scale;
  21. }
  22. }