Skip to content

Commit

Permalink
Adjusted tips
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBrixia committed Oct 14, 2023
1 parent 96ea09e commit 1737c4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Documentation/articles/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public sealed class NewAction : BT_ActionNode
}
```

> ![!NOTE]
> [!NOTE]
> By default, actions will be created as <b>sealed classes</b>; this is done to prevent developers from creating other nodes which derives from the current one. As a general rule, actions should only derive from: <b> BT_ActionNode</b> type.
## Start
Expand All @@ -58,7 +58,7 @@ protected override void OnStart()
// Initialize properties here...
}
```
> ![!TIP]
> [!TIP]
> Usually on start is used to initialize properties and retrieve key info from the blackboard.
## Stop
Expand Down
4 changes: 2 additions & 2 deletions Documentation/articles/behavior-tree-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In this article you find a step-by-step guide on how to get started using the Be
2. Right-click inside the behavior tree graph to pen the contextual menu; Use it to select the type of node you want to create. In this case we're gonna create a selector node ![image](../images/CreateNodeExample.png)

3. Click on nodes input/output ports and drag the spawned line to the destination node port. By doing so you're going to create a link between the two nodes.
<video src="../videos/CreateConnectionExample.mp4" controls title="Title" style="margin-top:10px"></video>
<video src="../videos/CreateConnectionExample.mp4" controls title="Title" style="margin-top:10px; width:auto,height:auto"></video>

4. You can right click on parent nodes to open the contextual menu and choose which child node to create and attach to it. For more informations on parent and child nodes look at the [Behavior Tree introduction page.](../articles/behavior-tree.md)
![image](../images/CreateChildExample.png)
Expand All @@ -24,4 +24,4 @@ In this article you find a step-by-step guide on how to get started using the Be
![mage](../images/EditNodesExample.png)

6. You can copy/paste nodes inside the current or other behavior tree graphs.
<video src="../videos/CopyPasteExample.mp4" controls title="Title" style="margin-top:10px"></video>
<video src="../videos/CopyPasteExample.mp4" controls title="Title" style="margin-top:10px; width:auto,height:auto"></video>

0 comments on commit 1737c4f

Please sign in to comment.