mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-24 13:29:01 +08:00
parent
29e0671cfe
commit
6689c15ce9
@ -1,5 +1,6 @@
|
|||||||
#if MA_VRCSDK3_AVATARS
|
#if MA_VRCSDK3_AVATARS
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
@ -123,8 +124,8 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
subMenu = c.subMenu,
|
subMenu = c.subMenu,
|
||||||
subParameters = c.subParameters?.Select(p =>
|
subParameters = c.subParameters?.Select(p =>
|
||||||
new VRCExpressionsMenu.Control.Parameter() { name = p?.name })
|
new VRCExpressionsMenu.Control.Parameter() { name = p?.name })
|
||||||
.ToArray(),
|
?.ToArray() ?? Array.Empty<VRCExpressionsMenu.Control.Parameter>(),
|
||||||
labels = c.labels.ToArray(),
|
labels = c.labels?.ToArray() ?? Array.Empty<VRCExpressionsMenu.Control.Label>(),
|
||||||
style = c.style,
|
style = c.style,
|
||||||
value = c.value,
|
value = c.value,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user