r2mods/ilspy_dump/ror2_csproj/EntityStates.LunarExploderM.../SpawnState.cs

21 lines
436 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2;
using UnityEngine;
namespace EntityStates.LunarExploderMonster;
public class SpawnState : GenericCharacterSpawnState
{
public static GameObject spawnEffectPrefab;
public static string spawnEffectChildString;
public override void OnEnter()
{
base.OnEnter();
if ((bool)spawnEffectPrefab)
{
EffectManager.SimpleMuzzleFlash(spawnEffectPrefab, base.gameObject, spawnEffectChildString, transmit: false);
}
}
}