@@ -268,17 +268,6 @@ public int bigNumber;
268
268
269
269
![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/formattednumber.png )
270
270
271
- #### LabelWidthAttribute
272
-
273
- Supported types: ** all** .
274
-
275
- ``` csharp
276
- [LabelWidth (220 . 0 f )]
277
- public int veryVeryVeryVeryVeryLongName ;
278
- ```
279
-
280
- ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/labelwidth.png )
281
-
282
271
#### LayerAttribute
283
272
284
273
Supported types: ** int** .
@@ -348,6 +337,15 @@ public int var1;
348
337
[Label (" My Custom Header" , skinStyle : SkinStyle .Box , Alignment = TextAnchor .MiddleCenter )]
349
338
public int var1 ;
350
339
```
340
+ ``` csharp
341
+ [Highlight (0 , 1 , 0 )]
342
+ public int var1 ;
343
+ ```
344
+
345
+ ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/decorators.png )
346
+
347
+ ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/horizontal.png )
348
+
351
349
``` csharp
352
350
[EditorButton (nameof (MyMethod ), " <b>My</b> Custom Label" , activityType : ButtonActivityType .OnPlayMode , ValidateMethodName = nameof (ValidationMethod ))]
353
351
public int var1 ;
@@ -362,10 +360,9 @@ private bool ValidationMethod()
362
360
return var1 == 0 ;
363
361
}
364
362
```
365
- ``` csharp
366
- [Highlight (0 , 1 , 0 )]
367
- public int var1 ;
368
- ```
363
+
364
+ ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/button.png )
365
+
369
366
``` csharp
370
367
[Help (" Help information" , UnityMessageType .Warning , Order = - 1 )]
371
368
public int var1 ;
@@ -374,19 +371,23 @@ public int var2;
374
371
375
372
public string Message => " Dynamic Message" ;
376
373
```
374
+
375
+ ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/helpbox.png )
376
+
377
377
``` csharp
378
378
[ImageArea (" https://img.itch.zone/aW1nLzE5Mjc3NzUucG5n/original/Viawjm.png" , 150 . 0 f )]
379
379
public int var1 ;
380
380
```
381
- ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/decorators.png )
382
-
383
- ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/horizontal.png )
384
381
385
382
![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/imagearea.png )
386
383
387
- ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/helpbox.png )
384
+ ``` csharp
385
+ [LabelWidth (220 . 0 f )]
386
+ public int veryVeryVeryVeryVeryLongName ;
387
+ ```
388
+
389
+ ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/labelwidth.png )
388
390
389
- ![ inspector] ( https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/button.png )
390
391
391
392
#### Toolbox Condition Attributes <a name =" toolboxcondition " ></a >
392
393
0 commit comments