oh yeah i did things idrm
This commit is contained in:
parent
d258d454a8
commit
cf9bdbcddc
5 changed files with 31 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue