OnDrawGizmos of Conditional Task set in StackedConditional is not being called

tsujiha

New member
As the title suggests, I encountered an issue. When I added the following function to StackedConditional.cs, it worked as intended:
C#:
public override void OnDrawGizmos()
{
    if (conditionals == null)
    {
        return;
    }

    for (int i = 0; i < conditionals.Length; ++i)
    {
        if (conditionals[i] == null)
        {
            continue;
        }
        conditionals[i].OnDrawGizmos();
    }
}

I wanted to bring to your attention that this issue might also occur in StackedAction.
I would appreciate it if you could take a look at this. Thank you in advance.
 
Top