Task icon files

nemlar

New member
Hello!

First let me say congratulations and thank you for this amazing tool! Really great work!
I'd like to use some of the icons from the Main Package for the custom tasks I'll be scripting but I can't seem to locate the folder with the .png files in it.
In the task-scripts if I change an icon's file path the icon changes too, so I'm guessing it must be somewhere in the Assets..?
But going through all the folders (including the Editor folders) I can't find them anywhere. Is that intentional? If yes where do the paths in the scripts lead to?
The packs I downloaded (e.g. the Tactical one) all have an Editor with an Icons subfolder in them. And from what I see a lot if of the action-task icons are included in them.
But I'm still curious as to where the icon-pngs for the Main Package are stored..?

Thank you very much!
 
Happy to hear that you're enjoying Behavior Designer!

The icons that ship with the default asset are within the editor assembly. You can reference them directly by name without the file path. Here's a list of the icons:

BehaviorTreeReferenceIcon
(Light/Dark)ActionIcon
(Light/Dark)CompositeIcon
(Light/Dark)ConditionalEvaluatorIcon
(Light/Dark)ConditionalIcon
(Light/Dark)DecoratorIcon
(Light/Dark)EntryIcon
(Light/Dark)HasReceivedEventIcon
(Light/Dark)IdleIcon
(Light/Dark)InterruptionIcon
(Light/Dark)InverterIcon
(Light/Dark)LogIcon
(Light/Dark)ReflectionIcon
(Light/Dark)RepeaterIcon
(Light/Dark)RestartBehaviorTreeIcon
(Light/Dark)ReturnFailureIcon
(Light/Dark)RetunSuccessIcon
(Light/Dark)SelectorEvaluatorIcon
(Light/Dark)SelectorIcon
(Light/Dark)SendEventIcon
(Light/Dark)SequenceIcon
(Light/Dark)StartBehaviorTreeIcon
(Light/Dark)StopBehaviorTreeIcon
(Light/Dark)TaskGuardIcon
(Light/Dark)UntilFailureIcon
(Light/Dark)UntilSuccessIcon
(Light/Dark)UtilitySelectorIcon
(Light/Dark)WaitIcon
 
Top