Skip to content

Commit ddb1af7

Browse files
committed
Update documentation wording, add example of how to define Unity Event
1 parent 55e1544 commit ddb1af7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation~/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ For such uses cases, this package provides a set of events with commonly used ar
6262
<img src="scriptable-event-arg.png"/>
6363
</p>
6464

65-
Next, you'll need to add a listener. Each corresponding _Scriptable Event_ type provides a listener component. Each typed listener works in the same fashion as _Simple Scriptable Event Listener_. The only caveat is when inserting your methods into the _On Raised_ [Unity Event] field. In this case make sure to select a **dynamic** method:
65+
Next, you'll need to add a listener. Each corresponding _Scriptable Event_ type provides a listener component. Each typed listener works in the same fashion as _Simple Scriptable Event Listener_. The only caveat is when inserting your methods into the _On Raised_ [Unity Event] field, make sure to select a **dynamic** method:
6666
<p align="center">
6767
<img hspace="2%" width="40%" src="scriptable-event-listener-components.png"/>
6868
<img hspace="2%" width="40%" src="scriptable-event-listener-dynamic.png"/>
6969
</p>
7070

71-
To trigger the event follow the same steps as with _Simple Scriptable Event_. However, make sure to select a **dynamic** `Raise` method:
71+
To trigger the event, follow the same steps as with _Simple Scriptable Event_. However, make sure to select a **dynamic** `Raise` method:
7272
<p align="center">
7373
<img src="scriptable-event-raise-dynamic.png"/>
7474
</p>
@@ -132,7 +132,7 @@ public class MaterialData
132132
}
133133
```
134134

135-
Next, define a `Scriptable Event` asset which will accept your argument. Note the `CreateAssetMenu` attribute, as it defines where your event will be located in the _Create_ menu:
135+
Next, define a _Scriptable Event_ asset which will accept your argument. Note the `CreateAssetMenu` attribute, as it defines where your event will be located in the _Create_ menu:
136136
```cs
137137
using ScriptableEvents;
138138
using UnityEngine;

0 commit comments

Comments
 (0)