Behavior extensions for Emissions
public static class EmissionBehaviorExt
Inheritance System.Object EmissionBehaviorExt
Add a Behavior to this
public static void AddEmissionBehavior<T>(this Emission emission, T behavior)
where T : RootBehavior;
T
The Behavior you want to add
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
behavior T
Return the first Behavior of type T
public static T GetEmissionBehavior<T>(this Emission emission)
where T : RootBehavior;
T
The Behavior you want
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
Return all Behaviors of type T
public static List<T> GetEmissionBehaviors<T>(this Emission emission)
where T : RootBehavior;
T
The Behavior you want
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
Il2CppSystem.Collections.Generic.List
Check if this has a specific Behavior
public static bool HasEmissionBehavior<T>(this Emission emission, out T item)
where T : RootBehavior;
T
The Behavior you're checking for
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
item T
The returned item, if it exists
Check if this has a specific Behavior
public static bool HasEmissionBehavior<T>(this Emission emission)
where T : RootBehavior;
T
The Behavior you're checking for
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
Remove the first Behavior of type T
public static void RemoveEmissionBehavior<T>(this Emission emission, T behavior)
where T : RootBehavior;
T
The Behavior you want to remove
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
behavior T
Remove the first Behavior of Type T
public static void RemoveEmissionBehavior<T>(this Emission emission)
where T : RootBehavior;
T
The Behavior you want to remove
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission
Remove all Behaviors of type T
public static void RemoveEmissionBehaviors<T>(this Emission emission)
where T : RootBehavior;
T
The Behavior you want to remove
emission Il2CppAssets.Scripts.Simulation.Towers.Emissions.Emission