ChensHelpers
Chen.Helpers.GeneralHelpers.MinionExtensions
MinionExtensions.GetAllMinionComponents<T>(CharacterMaster) Method
Fetches all the minions and fellow minions, then returns a list of the minions’ component.
public static System.Collections.Generic.List<T> GetAllMinionComponents<T>(this CharacterMaster ownerOrMinion)
where T : Component;
Type parameters
Parameters
ownerOrMinion
RoR2.CharacterMaster
Master of the minions
Returns
System.Collections.Generic.List<T>
List of components of the minions