Node colours are now driven by combo input assets, and overridden by the combo action if a colour is set there.
This commit is contained in:
@@ -23,6 +23,10 @@ public:
|
||||
// Human-readable name of this combo action.
|
||||
UPROPERTY(BlueprintReadOnly, EditAnywhere)
|
||||
FName ActionName;
|
||||
|
||||
// Sets the colour of the node this action is tied to. Will override any other colours.
|
||||
UPROPERTY(BlueprintReadOnly, EditAnywhere)
|
||||
FLinearColor NodeColor;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -87,4 +91,8 @@ public:
|
||||
// this combo input asset will simply represent that action.
|
||||
UPROPERTY(BlueprintReadWrite, EditAnywhere)
|
||||
TSet<const class UInputAction*> ActionGroup;
|
||||
|
||||
// Sets the colour of the node this action is tied to. Can be overridden by UComboAction.
|
||||
UPROPERTY(BlueprintReadOnly, EditAnywhere)
|
||||
FLinearColor NodeColor;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user