22 lines
337 B
C#
22 lines
337 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace SRF.UI
|
|
{
|
|
[AddComponentMenu("SRF/UI/SRText")]
|
|
public class SRText : Text
|
|
{
|
|
public event Action<SRText> LayoutDirty;
|
|
|
|
public override void SetLayoutDirty()
|
|
{
|
|
base.SetLayoutDirty();
|
|
if (this.LayoutDirty != null)
|
|
{
|
|
this.LayoutDirty(this);
|
|
}
|
|
}
|
|
}
|
|
}
|