Skip to content

Commit 375cde6

Browse files
committed
Update README.md
1 parent 9dabb40 commit 375cde6

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

Assets/Editor Toolbox/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ public Component var2;
145145

146146
Supported types: **all**.
147147

148+
```csharp
149+
[Suffix("cm")]
150+
public string var1;
151+
```
152+
148153
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/suffix.png)
149154

150155

@@ -179,6 +184,11 @@ public FlagExample enumFlag = FlagExample.Flag1 | FlagExample.Flag2 | FlagExampl
179184

180185
Supported types: UnityEngine.**Object**.
181186

187+
```csharp
188+
[NotNull]
189+
public GameObject var1;
190+
```
191+
182192
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull1.png)\
183193
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull2.png)
184194

@@ -187,13 +197,23 @@ Supported types: UnityEngine.**Object**.
187197

188198
Supported types: **string**.
189199

200+
```csharp
201+
[Directory]
202+
public string var1;
203+
```
204+
190205
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory1.png)\
191206
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory2.png)
192207

193208
#### SceneNameAttribute
194209

195210
Supported types: **string**.
196211

212+
```csharp
213+
[SceneName]
214+
public string var1;
215+
```
216+
197217
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename1.png)\
198218
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename2.png)
199219

@@ -254,6 +274,11 @@ public string password;
254274

255275
Supported types: **bool**.
256276

277+
```csharp
278+
[LeftToggle]
279+
public bool var1;
280+
```
281+
257282
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/lefttoggle.png)
258283

259284
#### FormattedNumberAttribute

Docs/animationcurvesettings.png

9.47 KB
Loading

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ public Component var2;
145145

146146
Supported types: **all**.
147147

148+
```csharp
149+
[Suffix("cm")]
150+
public string var1;
151+
```
152+
148153
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/suffix.png)
149154

150155

@@ -179,6 +184,11 @@ public FlagExample enumFlag = FlagExample.Flag1 | FlagExample.Flag2 | FlagExampl
179184

180185
Supported types: UnityEngine.**Object**.
181186

187+
```csharp
188+
[NotNull]
189+
public GameObject var1;
190+
```
191+
182192
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull1.png)\
183193
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull2.png)
184194

@@ -187,13 +197,23 @@ Supported types: UnityEngine.**Object**.
187197

188198
Supported types: **string**.
189199

200+
```csharp
201+
[Directory]
202+
public string var1;
203+
```
204+
190205
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory1.png)\
191206
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory2.png)
192207

193208
#### SceneNameAttribute
194209

195210
Supported types: **string**.
196211

212+
```csharp
213+
[SceneName]
214+
public string var1;
215+
```
216+
197217
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename1.png)\
198218
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename2.png)
199219

@@ -254,6 +274,11 @@ public string password;
254274

255275
Supported types: **bool**.
256276

277+
```csharp
278+
[LeftToggle]
279+
public bool var1;
280+
```
281+
257282
![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/lefttoggle.png)
258283

259284
#### FormattedNumberAttribute

0 commit comments

Comments
 (0)