client_ui/template/Unity/Component.template
2020-03-30 10:23:50 +08:00

28 lines
379 B
Plaintext

using FairyGUI;
using FairyGUI.Utils;
namespace {packageName}
{
public partial class {className} : {componentName}
{
{variable}
public const string URL = "{uiPath}";
public static {className} CreateInstance()
{
{createInstance}
}
public {className}()
{
}
public override void ConstructFromXML(XML xml)
{
base.ConstructFromXML(xml);
{content}
}
}
}