EntryTask.cs 422 B

12345678910111213
  1. namespace BehaviorDesigner.Runtime.Tasks
  2. {
  3. // The entry task is a task that is used for display purposes within Behavior Designer to indicate the root of the tree. It is not a real task and
  4. // cannot be used within the behavior tree.
  5. [TaskIcon("{SkinColor}EntryIcon.png")]
  6. public class EntryTask : ParentTask
  7. {
  8. public override int MaxChildren()
  9. {
  10. return 1;
  11. }
  12. }
  13. }