[TaskTitle] Attribute

xjjon

New member
Would love to see a [TaskTitle("CustomTitle")] Attribute.

We name our task classes in the following format <Name>Task to make it clear these are Tasks for behavior designer.
Works fine for most cases but some tasks end up being very long in the behavior tree UI.
 
You can set the title through the FriendlyName property within the NodeData structure for each task. This is what the UI is doing and you can either do that within another editor script or within the constructor of the task itself. Make sure you serialize your tree after you set the name:

 
Top