oh yeah i did things idrm

This commit is contained in:
Lillith Rose 2025-12-14 21:44:58 -05:00
parent d258d454a8
commit cf9bdbcddc
5 changed files with 31 additions and 0 deletions

View file

@ -3,6 +3,7 @@ using UnityEngine;
using AnimatorAsCode.V1;
using System.Collections.Generic;
using gay.lilyy.aaccore;
using gay.lilyy.aacshared.runtimecomponents;
namespace gay.lilyy.aacshared.layers
{
@ -29,6 +30,9 @@ namespace gay.lilyy.aacshared.layers
public override bool IsApplicable(AACAssets assets)
{
var definition = assets.ctx.AvatarRootObject.GetComponent<LanternFlickerDefinition>();
if (definition == null) return false;
if (!definition.enabled) return false;
var lamp = GetLantern(assets);
if (lamp == null)
{

View file

@ -7,6 +7,7 @@ using UnityEditor;
namespace gay.lilyy.aacshared.runtimecomponents
{
[AddComponentMenu("LillithRosePup/Child Toggle")]
public class ChildToggleDefinition : MonoBehaviour, IEditorOnly {
// unity needs this to show the enable/disable box

View file

@ -4,6 +4,7 @@ using VRC.SDKBase;
namespace gay.lilyy.aacshared.runtimecomponents
{
[AddComponentMenu("LillithRosePup/Floater")]
public class FloaterDefinition: MonoBehaviour, IEditorOnly {
// unity needs this to show the enable/disable box

View file

@ -0,0 +1,14 @@
using System;
using UnityEngine;
using VRC.SDKBase;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace gay.lilyy.aacshared.runtimecomponents
{
[AddComponentMenu("LillithRosePup/Lantern Flicker")]
public class LanternFlickerDefinition : MonoBehaviour, IEditorOnly {
public bool enabled = true;
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: cb97112969463744bbb4e68b3021902b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: