Skip to content

Commit 78ac528

Browse files
committed
2 parents a14dac4 + 49b81ca commit 78ac528

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ ScriptableObjectDropdown is an attribute for the Unity Inspector.
33
It is used for showing ScriptableObjects which are created in your project, in dropdown menu in Inspector.
44

55
# Usage Example
6-
This is `ScriptableObject` class which you create object with it.
6+
1. Clone this repository or download the latest [release package available](https://github.com/ATHellboy/ScriptableObjectDropdown/releases) (There isn't an example folder in `.unitypackage`).
7+
8+
2. Create `ScriptableObject` class which you want to create specified object by that.
79

810
```cs
911
using UnityEngine;
@@ -15,11 +17,11 @@ public class Block : ScriptableObject
1517
}
1618
```
1719

18-
Then you should put those created ScriptableObjects in `Resources` folder.
20+
3. Put those created ScriptableObjects in `Resources` folder.
1921

2022
![](Images/Resources.PNG)
2123

22-
Now we want to use `ScriptableObjectDropdown` attribute. We can use this attribute in both `MonoBeahviour` and `ScriptableObject` derived classes.
24+
4. Use `ScriptableObjectDropdown` attribute like this in `MonoBeahviour` or `ScriptableObject` derived classes.
2325

2426
**MonoBehavior**
2527

0 commit comments

Comments
 (0)