using System;
using UnityEngine;
namespace TMPro
{
// Base class inherited by the various TextMeshPro Assets.
[Serializable]
public abstract class TMP_Asset : ScriptableObject
{
///
/// Instance ID of the TMP Asset
///
public int instanceID
{
get
{
if (m_InstanceID == 0)
m_InstanceID = GetInstanceID();
return m_InstanceID;
}
}
private int m_InstanceID;
///
/// HashCode based on the name of the asset.
///
public int hashCode;
///
/// The material used by this asset.
///
public Material material;
///
/// HashCode based on the name of the material assigned to this asset.
///
public int materialHashCode;
}
}