You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
748 B

  1. using UnityEngine;
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. namespace TMPro
  6. {
  7. // Class which contains the Sprite Info for each sprite contained in the sprite asset.
  8. [Serializable]
  9. public class TMP_Sprite : TMP_TextElement
  10. {
  11. //public int fileID;
  12. //public int id;
  13. public string name;
  14. public int hashCode;
  15. public int unicode;
  16. //public float x;
  17. //public float y;
  18. //public float width;
  19. //public float height;
  20. public Vector2 pivot;
  21. //public float xOffset; // Pivot X
  22. //public float yOffset; // Pivot Y
  23. //public float xAdvance;
  24. //public float scale;
  25. public Sprite sprite;
  26. }
  27. }