Exemple #1
0
 public void UpdateAttributes(InputBox box, object[] attributes, Control control)
 {
 }
Exemple #2
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is EnumComboBox);
 }
Exemple #3
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is TypePickerControl);
 }
Exemple #4
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is CheckBox);
 }
Exemple #5
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.IsEnum);
 }
Exemple #6
0
 public bool IsValid(InputBox box, Control control)
 {
     return(control is ColorValueBox);
 }
Exemple #7
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(Color));
 }
Exemple #8
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(Quaternion));
 }
Exemple #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))));
 }
Exemple #10
0
 public bool CanUse(InputBox box, ref ScriptType type)
 {
     return(type.Type == typeof(float) || type.Type == typeof(double));
 }