You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
640 B
37 lines
640 B
3 years ago
|
|
||
|
namespace FairyGUI
|
||
|
{
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public delegate void UILoadCallback();
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
public interface IUISource
|
||
|
{
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
string fileName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
bool loaded { get; }
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <param name="callback"></param>
|
||
|
void Load(UILoadCallback callback);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 取消加载
|
||
|
/// </summary>
|
||
|
void Cancel();
|
||
|
|
||
|
}
|
||
|
}
|