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.