We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
UTSpace
1 parent 27fbf88 commit 359c6a2Copy full SHA for 359c6a2
docs/src/pages/docs/attributes/attributes-list.md
@@ -333,6 +333,22 @@ public UdonSharpBehaviour[] foldoutTargets;
333
public string[] foldoutEvents;
334
```
335
336
+### UTSpace
337
+
338
+`[UTSpace(float space)]`
339
340
+Similar to Unity's native `[Space(float space)]` but with explicit support for special layout elements like Foldouts
341
342
+```csharp
343
+[Space(10)] // Regular Unity Space, will create space _inside_ the foldout
344
+[FoldoutGroup("Foldout")]
345
+public float floatInFoldout;
346
347
+[UTSpace(10)] // UdonToolkit-compatible Space, will create space _before_ the foldout
348
349
350
+```
351
352
### OnValueChanged
353
354
`[OnValueChanged(string methodName)]`
0 commit comments