r2mods/ilspy_dump/ror2_csproj/EntityStates.Halcyonite/DeathState.cs

17 lines
381 B
C#

using UnityEngine;
namespace EntityStates.Halcyonite;
public class DeathState : GenericCharacterDeath
{
public override void OnEnter()
{
base.OnEnter();
ChildLocator component = base.modelLocator.modelTransform.GetComponent<ChildLocator>();
if ((bool)component)
{
component.FindChild("ChestGlow").transform.gameObject.GetComponent<ParticleSystem>().Stop();
}
}
}