Exemple #1
0
 public NovelCommandEditorAttribute(NovelCommandType type, float r, float g, float b, float a)
 {
     this.id             = (int)type;
     this.name           = type.ToString();
     this.parameterCount = 0;
     this.color          = new Color(r, g, b, a);
 }
Exemple #2
0
 public NovelCommandEditorAttribute(NovelCommandType type)
 {
     this.id             = (int)type;
     this.name           = type.ToString();
     this.parameterCount = 0;
     this.color          = Color.clear;
 }
Exemple #3
0
 public NovelCommandAttribute(NovelCommandType type)
 {
     this.t = type;
 }
Exemple #4
0
 public NovelCommandAttribute(NovelCommandType type)
 {
     this.id = (int)type;
 }