Skip to content

Commit

Permalink
Update BehaviorTreeData.cs
Browse files Browse the repository at this point in the history
Fix build bug
  • Loading branch information
AkiKurisu committed Jul 7, 2024
1 parent 1644ed9 commit 3827b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Runtime/Core/Model/BehaviorTreeData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public BehaviorTreeData(BehaviorTree tree)
// clear duplicated reference
behaviors[i].ClearChildren();
}
#if UNITY_EDITOR
blockData = tree.blockData.ToArray();
#endif
}
public NodeBehavior Build()
{
Expand Down

0 comments on commit 3827b47

Please sign in to comment.