r2mods/ilspy_dump/ror2_csproj/HereticInitialStateHelper.cs

16 lines
342 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
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));
}
}