Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public NovelCommandEditorAttribute(NovelCommandType type)
 {
     this.id             = (int)type;
     this.name           = type.ToString();
     this.parameterCount = 0;
     this.color          = Color.clear;
 }