Hi,
I'm using OnDrawGizmo() to dynamically changed the FriendlyName of a custom task node I made. Works perfectly fine when editing a behavior tree from a script instance in a gameobject, but doesn't work when editing a behavior tree from an ExternalBehaviorTree. Seems odd...any solution for this?
I'm using OnDrawGizmo() to dynamically changed the FriendlyName of a custom task node I made. Works perfectly fine when editing a behavior tree from a script instance in a gameobject, but doesn't work when editing a behavior tree from an ExternalBehaviorTree. Seems odd...any solution for this?
Code:
public override void OnDrawGizmos()
{
this.FriendlyName = newname;
base.OnDrawGizmos();
}