Skip to content

Commit

Permalink
Corrected docs/tutorials/mono-hooks.md to reference a Collider2D Even…
Browse files Browse the repository at this point in the history
…t Reference Listener

updated screenshot to match
  • Loading branch information
drdavient authored and miikalo committed Jun 18, 2022
1 parent a41a7f4 commit 5df498b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified docs/assets/mono-hooks/listener.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/tutorials/mono-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A great use for Mono Hooks in our example would allow us to remove the `Harmful.

![mono-hooks-trigger-2d](../assets/mono-hooks/trigger-2d.png)

We could then create a Collider2DAction called `DecreasePlayersHealth.cs` and add it to a Collider2D Listener attached to the Harmful GameObject:
We could then create a Collider2DAction called `DecreasePlayersHealth.cs` and add it to a Collider2D Event Reference Listener attached to the Harmful GameObject:

```cs
public class DecreasePlayersHealth : Collider2DAction
Expand Down

0 comments on commit 5df498b

Please sign in to comment.