TMP_Asset.cs 606 B

1234567891011121314151617181920212223242526
  1. using UnityEngine;
  2. namespace TMPro
  3. {
  4. // Base class inherited by the various TextMeshPro Assets.
  5. [System.Serializable]
  6. public class TMP_Asset : ScriptableObject
  7. {
  8. /// <summary>
  9. /// HashCode based on the name of the asset.
  10. /// </summary>
  11. public int hashCode;
  12. /// <summary>
  13. /// The material used by this asset.
  14. /// </summary>
  15. public Material material;
  16. /// <summary>
  17. /// HashCode based on the name of the material assigned to this asset.
  18. /// </summary>
  19. public int materialHashCode;
  20. }
  21. }