Skip to content

Commit

Permalink
特殊メニューの位置を一番上に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
pandrabox committed Sep 27, 2024
1 parent ad5f2d5 commit a090fdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor/ExpressionCreater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private void AddHeightControl()
{
var obj = new GameObject("Height");
obj.transform.SetParent(_emoteObjRoot.transform);
obj.transform.SetSiblingIndex(0);
var menu=obj.AddComponent<ModularAvatarMenuItem> ();
menu.Control.type = VRC.SDK3.Avatars.ScriptableObjects.VRCExpressionsMenu.Control.ControlType.RadialPuppet;
menu.Control.subParameters = new[] {
Expand All @@ -70,6 +71,7 @@ private void AddFootLockControl()
{
var obj = new GameObject("FootLock");
obj.transform.SetParent(_emoteObjRoot.transform);
obj.transform.SetSiblingIndex(0);
var menu = obj.AddComponent<ModularAvatarMenuItem>();
menu.Control.type = VRC.SDK3.Avatars.ScriptableObjects.VRCExpressionsMenu.Control.ControlType.Toggle;
menu.Control.parameter =
Expand Down

0 comments on commit a090fdc

Please sign in to comment.