Add color Parameter
This commit is contained in:
@@ -7,6 +7,8 @@ type ITemplateBehaviorParameter = {
|
||||
testNumber: "number";
|
||||
testString: "string";
|
||||
testBoolean: "boolean";
|
||||
testColor: "color";
|
||||
testOption: "option";
|
||||
testR: "R";
|
||||
testG: "G";
|
||||
testLR: "LR";
|
||||
@@ -43,6 +45,16 @@ class Template extends Behavior<ITemplateBehaviorParameter, ITemplateBehaviorEve
|
||||
defaultValue: "default",
|
||||
maxLength: 12
|
||||
},
|
||||
testColor: {
|
||||
name: "$Test",
|
||||
type: "color",
|
||||
defaultValue: [.5, .1, 1],
|
||||
colorNormal: true
|
||||
},
|
||||
testOption: {
|
||||
name: "$Test",
|
||||
type: "option"
|
||||
},
|
||||
testBoolean: {
|
||||
name: "$Test",
|
||||
type: "boolean",
|
||||
|
||||
Reference in New Issue
Block a user