r2mods/ilspy_dump/ror2_csproj/HereticInitialStateHelper.cs

16 lines
342 B
C#

using EntityStates;
using EntityStates.Heretic;
using RoR2;
using UnityEngine;
public class HereticInitialStateHelper : MonoBehaviour
{
[SerializeField]
private EntityStateMachine entityStateMachine;
public void PrepareTransformation()
{
entityStateMachine.initialStateType = new SerializableEntityStateType(typeof(SpawnState));
}
}