RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Extensions

Extensions.MuzzleEffect(GameObject, GameObject, bool) Method

Method that provides an easy way of displaying effect prefabs for muzzle effects.
Mainly used for Options and Option Seeds.

public static void MuzzleEffect(this GameObject catalyst, GameObject effectPrefab, bool transmit);

Parameters

catalyst UnityEngine.GameObject
The Game Object of the user

effectPrefab UnityEngine.GameObject
Effect prefab to display

transmit System.Boolean
Determines whether the effect should be networked