Unity UI Unifier (UUU) is a Unity library that unifiedly handles UI components (such as Text and Button).
Attach a UnifiedText component to each Text component.
When referencing text components, use UnifiedText instead of concrete classes (e.g. Text and TextMesh).
public class UpdateTextSample : MonoBehaviour
{
[SerializeField]
UnifiedText text = null;
void Start()
{
text.Text = "some text";
}
}
UnifiedButton can be used in the same way as UnifiedText.
Attach UnifiedButton to each button and reference UnifiedButton.
Furuta, Yusuke (@tarukosu)
MIT