Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
quick:debug [2018/05/18 20:28] – pedro | quick:debug [2018/05/29 11:36] – pedro | ||
---|---|---|---|
Line 29: | Line 29: | ||
From the `Debug` tab is also possible to pause the execution of an entity behavior by clicking on the `Pause` button next to the entity name. Keep in mind that the pause will start after it finishes its current task. Once you have pressed the pause button you can either `Resume` the behavior or `Tick` it so the behavior receives one update call and then return to pause. | From the `Debug` tab is also possible to pause the execution of an entity behavior by clicking on the `Pause` button next to the entity name. Keep in mind that the pause will start after it finishes its current task. Once you have pressed the pause button you can either `Resume` the behavior or `Tick` it so the behavior receives one update call and then return to pause. | ||
- | ![Resume or Tick](images/ | + | {{ :images:debug:pause.png |
It is also possible to pause and resume all the entities that use a given behavior by pressing the corresponding `Resume all` or `Pause all` button. | It is also possible to pause and resume all the entities that use a given behavior by pressing the corresponding `Resume all` or `Pause all` button. | ||
- | ## Watching the blackboard | + | ## Watches |
- | In order to see the current values | + | While in debug mode it is possible |
- | - Be in Play Mode | + | {{ :images:debug: |
- | - Open the Behavior Bricks Editor | + | |
- | - Open the behavior that you want to debug (You can watch the assigned behavior and all the subbehaviors that it uses) | + | |
- | - Select the entity to debug in the Unity´s `Hierarchy` panel or in the `Debug` tab in the Behavior Bricks Editor (For more information read `Debug Tab` Section) | + | |
- | In the tab `Blackboard` you can see the current value of all blackboard parameters of the open behavior, but if you are only interested in the value of the parameters related to a concrete | + | and for a running tree, by clicking on one of its node it is possible to inspect |
- | ![Blackboard values](images/ | + | {{ :images: |
- | + | ||
- | ![Blackboard values](images/ | + | |
- | + | ||
- | + | ||
- | ## Breakpoints | + | |
With this feature you can pause the execution of the game when a node for a concrete behavior tree of a specific entity reach one of the following states: | With this feature you can pause the execution of the game when a node for a concrete behavior tree of a specific entity reach one of the following states: |