Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 395 Bytes

File metadata and controls

17 lines (13 loc) · 395 Bytes

Generic UI Text Reference

A simple tool to create a SerializeField to reference UnityEngin.UI.Text and TMPro.TextMeshProUGUI at the same time. (中文)

Usage

    [SerializeField]
    SKUnityToolkit.GenericUITextReference.TextReference m_Caption;

    void Start()
    {
        m_Caption.text = "Caption";
    }

inspector