Bring in AAC!

project ive been working on for a while, just felt confident enough to move it here
This commit is contained in:
Lillith Rose 2025-12-09 21:40:28 -05:00
parent e608e2a56b
commit 1d7052a258
209 changed files with 1561 additions and 74738 deletions

View file

@ -0,0 +1,36 @@
using System;
using UnityEngine;
using VRC.SDKBase;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace gay.lilyy.aacshared.runtimecomponents
{
public class ChildToggleDefinition : MonoBehaviour, IEditorOnly {
// unity needs this to show the enable/disable box
void Start(){}
public string MenuPath = "";
}
#if UNITY_EDITOR
[CustomEditor(typeof(ChildToggleDefinition))]
public class ChildToggleDefinitionInspector : Editor
{
public override void OnInspectorGUI()
{
EditorGUILayout.HelpBox(
"Any direct children of this object will have a toggle in the menu",
MessageType.Info
);
EditorGUILayout.Space();
// Draw the default inspector to show the 'enable' field
DrawDefaultInspector();
}
}
#endif
}