RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Drones.DroneDeathState

DroneDeathState.OnInteractableSpawn(GameObject) Method

A method that can be overridden to add or change the logic when the interactable is spawned.
Default logic is to compute for the scaled cost of the drone, and to carry over the drone upgrades to the interactable.

protected virtual void OnInteractableSpawn(GameObject spawnedObject);

Parameters

spawnedObject UnityEngine.GameObject