RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Extensions

Extensions.AssignDeathBehavior(GameObject, Type) Method

Assigns the Death Behavior of the CharacterMaster GameObject.

public static void AssignDeathBehavior(this GameObject masterObject, System.Type newStateType);

Parameters

masterObject UnityEngine.GameObject
CharacterMaster GameObject whose DeathBehavior state is being modified.

newStateType System.Type
The new DeathBehavior state.