Add behavior attr panel basic props editer

This commit is contained in:
2022-04-04 17:41:26 +08:00
parent 4d818988f9
commit c10dd6e882
9 changed files with 55 additions and 15 deletions
+3 -3
View File
@@ -295,7 +295,7 @@ class Behavior<
/**
* 颜色
*/
public color: string = "";
public color: number[] = [0, 0, 0];
/**
* 优先级
@@ -397,7 +397,7 @@ class Behavior<
type IRenderBehavior = BehaviorInfo | Behavior;
export {
Behavior, BehaviorRecorder, IBehaviorParameterOption, IBehaviorParameterOptionItem,
IAnyBehavior, IAnyBehaviorRecorder, BehaviorInfo, IRenderBehavior
Behavior, BehaviorRecorder, IBehaviorParameterOption, IBehaviorParameterOptionItem, IParamValue,
IAnyBehavior, IAnyBehaviorRecorder, BehaviorInfo, IRenderBehavior, IBehaviorParameter
};
export default { Behavior };