namespace SRF.UI
{
using System;
using Internal;
using UnityEngine;
using UnityEngine.UI;
///
/// Adds a LayoutDirty callback to the default Text component.
///
[AddComponentMenu(ComponentMenuPaths.SRText)]
public class SRText : Text
{
public event Action LayoutDirty;
public override void SetLayoutDirty()
{
base.SetLayoutDirty();
if (LayoutDirty != null)
{
LayoutDirty(this);
}
}
}
}