예제 #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));
 }