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)
{