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:
Jamie Greunbaum
2023-10-03 00:23:30 -04:00
parent 510ccb936a
commit dcaac98f50
22 changed files with 29 additions and 1342 deletions
@@ -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;
};