Skip to content

Commit cf7b705

Browse files
authored
Added preview mesh in README.md
1 parent a541921 commit cf7b705

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,24 @@ public float lengthInMeters;
288288
public float freeTextUnit;
289289
```
290290

291+
#### Preview Mesh
292+
293+
![Preview Mesh](https://github.com/user-attachments/assets/d589a769-dc55-4e96-b0cc-edcde2677760)
294+
295+
```csharp
296+
[LabelWidth(270f)]
297+
[PreviewMesh(100, 100)]
298+
public GameObject meshCustomLengthAndWidth;
299+
300+
[LabelWidth(200f)]
301+
[PreviewMesh(200, 160, false)]
302+
public GameObject meshNoFoldoutNoMesh;
303+
304+
[LabelWidth(200f)]
305+
[PreviewMesh(200, 160, false)]
306+
public GameObject meshNoFoldoutWithMesh;
307+
```
308+
291309
### Styling
292310

293311
#### Title

0 commit comments

Comments
 (0)