Files
peng-zhihui 06ec2e469e Released.
2022-03-13 06:31:07 +08:00

81 lines
874 B
C#

namespace UIWidgets
{
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Text proxy interface.
/// </summary>
public interface ITextProxy
{
/// <summary>
/// Gameobject.
/// </summary>
GameObject GameObject
{
get;
}
/// <summary>
/// Graphic component.
/// </summary>
Graphic Graphic
{
get;
}
/// <summary>
/// Text.
/// </summary>
string text
{
get;
set;
}
/// <summary>
/// Color.
/// </summary>
Color color
{
get;
set;
}
/// <summary>
/// Font size.
/// </summary>
float fontSize
{
get;
set;
}
/// <summary>
/// Font style.
/// </summary>
FontStyle fontStyle
{
get;
set;
}
/// <summary>
/// Bold.
/// </summary>
bool Bold
{
get;
set;
}
/// <summary>
/// Italic.
/// </summary>
bool Italic
{
get;
set;
}
}
}