Table of Contents
Extensions for AddBehaviorToBloonModels
public static class AddBehaviorToBloonModelExt
Inheritance System.Object AddBehaviorToBloonModelExt
Add a Behavior to this model
public static void AddBehavior<T>(this AddBehaviorToBloonModel model, T behavior)
where T : BloonBehaviorModel;
T
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
behavior
T
Return the first Behavior of type T, or null if there isn't one
public static T GetBehavior<T>(this AddBehaviorToBloonModel model)
where T : Model;
T
The Behavior you want
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
Return all Behaviors of type T
public static System.Collections.Generic.List<T> GetBehaviors<T>(this AddBehaviorToBloonModel model)
where T : Model;
T
The Behavior you want
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
System.Collections.Generic.List<T>
Check if this has a specific Behavior
public static bool HasBehavior<T>(this AddBehaviorToBloonModel model)
where T : Model;
T
The Behavior you're checking for
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
Removes a specific behavior from a tower
public static void RemoveBehavior<T>(this AddBehaviorToBloonModel model, T behavior)
where T : Model;
T
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
behavior
T
Remove the first Behavior of Type T
public static void RemoveBehavior<T>(this AddBehaviorToBloonModel model)
where T : Model;
T
The Behavior you want to remove
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
Remove all Behaviors of type T
public static void RemoveBehaviors(this AddBehaviorToBloonModel model);
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel
Remove all Behaviors of type T
public static void RemoveBehaviors<T>(this AddBehaviorToBloonModel model)
where T : Model;
T
model
Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors.AddBehaviorToBloonModel