Skip to content

Commit

Permalink
GITBOOK-21: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierarpa authored and gitbook-bot committed May 21, 2024
1 parent 4d3ece4 commit 9fd49ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .wiki/getting-started/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public class Test : MonoFlux
{
private void Start()
{
// Allows you to call any method subscribe with "0" Key
"0".Dispatch();
}
[MethodFlux("0")] private void Tester()
Expand All @@ -57,6 +58,7 @@ public class Test : MonoFlux
```
{% endcode %}

{% code fullWidth="true" %}
```csharp
using UniFlux;
using UnityEngine;
Expand All @@ -69,6 +71,7 @@ public class Test_2 : MonoFlux
}
}
```
{% endcode %}

You can put both in a scene and see if they both receive the event

Expand Down

0 comments on commit 9fd49ff

Please sign in to comment.