调整了模板
This commit is contained in:
20
BITKit/Scripts/Builder/Form/FormResource.cs
Normal file
20
BITKit/Scripts/Builder/Form/FormResource.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Godot;
|
||||
using System;
|
||||
using BITFactory;
|
||||
|
||||
namespace BITKit;
|
||||
|
||||
public interface IFormField
|
||||
{
|
||||
int FieldCount { get; }
|
||||
string[] FieldNames { get; }
|
||||
string[] FieldTypes { get; }
|
||||
string[] DefaultValues { get; }
|
||||
}
|
||||
|
||||
[GlobalClass]
|
||||
public abstract partial class FormResource : Resource
|
||||
{
|
||||
public abstract string Name { get; set;}
|
||||
public abstract IFormField[] Fields { get; set; }
|
||||
}
|
Reference in New Issue
Block a user