i added BehaviorManager into Script Execution Order before default time.
but when runnnig Unity, BehaviorManager is created another when CanSeeObject task executed.
um.
i searched old posts.
you said
the solution is Adding Script Execution Order.
but it didn't work for me.
my situation is.
there are 2 type of External Behavior ( Player, Enemy).
Player , Enemy gameobjects are from prefabs.
when playing game,
bt.EnableBehavior() is called.
and Behavior started.
but when runnnig Unity, BehaviorManager is created another when CanSeeObject task executed.
um.
i searched old posts.
you said
the solution is Adding Script Execution Order.
but it didn't work for me.
my situation is.
there are 2 type of External Behavior ( Player, Enemy).
Player , Enemy gameobjects are from prefabs.
when playing game,
bt.EnableBehavior() is called.
and Behavior started.