示例#1
0
 public void UpdateAttributes(InputBox box, object[] attributes, Control control)
 {
 }
示例#2
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is EnumComboBox);
 }
示例#3
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is TypePickerControl);
 }
示例#4
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is CheckBox);
 }
示例#5
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.IsEnum);
 }
示例#6
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is ColorValueBox);
 }
示例#7
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(Color));
 }
示例#8
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(Quaternion));
 }
示例#9
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(string) && (box.Attributes == null || box.Attributes.All(x => x.GetType() != typeof(TypeReferenceAttribute))));
 }
示例#10
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(float) || type.Type == typeof(double));
 }