Skip to content

Commit 334b2b1

Browse files
committed
2 parents 45762af + 9fefec7 commit 334b2b1

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# ScriptableObjectEventSystem
2+
This repo stores a custom Scriptable Object Event System, configured as a Unity package. It allows to create the necessary SOEvent-Listener script touple from Unity's Create menu
3+
4+
## How to install
5+
6+
<ol>
7+
<li>Copy repository's URL (the same you would use to clone it): https://github.com/danigfedev/ScriptableObjectEventSystem.git</li>
8+
<li>Open Unity Package Manager</li>
9+
<li>Add new package from git URL (+ button on the top-left corner) and paste the previously copied URL</li>
10+
<li>Wait until Unity imports package contents</li>
11+
</ol>
12+
13+
## How to use
14+
15+
1 - Open/Create the directory where you want to create your Scriptable Object events.
16+
17+
2 - Right click to open Unity's Context Menu.
18+
19+
3 - Click on Create/EspidiGames/SO Events / SO Event Creation Window
20+
21+
<img src="https://user-images.githubusercontent.com/37219448/172149202-8f3d5cc9-7018-4c6f-8cd9-f3d7c86b25d8.png" width="500">
22+
23+
4 - A modal window will open. Select the options of your SO Event and hit "Create SO event scripts"
24+
25+
<p align="left">
26+
<img src="https://user-images.githubusercontent.com/37219448/172149490-73e860f3-0dea-4ed8-95cf-88bed08cd600.png" width="300">
27+
<img src="https://user-images.githubusercontent.com/37219448/172149721-4dc95ec9-a5c1-459a-a585-307b175bac65.png" width="300">
28+
<br>
29+
30+
5 - Wait for script creation. After a few seconds, two scripts will appear on your selected directory.
31+
32+
<img src="https://user-images.githubusercontent.com/37219448/172150009-a127ce75-9767-47ee-a131-411651dbf7cf.png" width="300">
33+
34+
35+
6 - Now you can create Scriptable objects of the created type from the same menu.
36+
37+
<img src="https://user-images.githubusercontent.com/37219448/172150179-0484e88b-f24a-49d0-bd5a-c37f31bacdb7.png" width="500">
38+

0 commit comments

Comments
 (0)