Table of Contents
Behavior extensions for AirUnitModels
public static class AirUnitModelBehaviorExt
Inheritance System.Object AirUnitModelBehaviorExt
Add a Behavior to this
public static void AddBehavior<T>(this AirUnitModel model, T behavior)
where T : Model;
T
The Behavior you want to add
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
behavior
T
Return the first Behavior of type T
public static T GetBehavior<T>(this AirUnitModel model)
where T : Model;
T
The Behavior you want
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
Return all Behaviors of type T
public static System.Collections.Generic.List<T> GetBehaviors<T>(this AirUnitModel model)
where T : Model;
T
The Behavior you want
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
System.Collections.Generic.List<T>
Check if this has a specific Behavior
public static bool HasBehavior<T>(this AirUnitModel model, out T behavior)
where T : Model;
T
The Behavior you're checking for
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
behavior
T
Check if this has a specific Behavior
public static bool HasBehavior<T>(this AirUnitModel model)
where T : Model;
T
The Behavior you're checking for
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
Removes a specific behavior from a tower
public static void RemoveBehavior<T>(this AirUnitModel model, T behavior)
where T : Model;
T
The Behavior you want to remove
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
behavior
T
Remove the first Behavior of Type T
public static void RemoveBehavior<T>(this AirUnitModel model)
where T : Model;
T
The Behavior you want to remove
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
Remove all Behaviors of type T
public static void RemoveBehaviors(this AirUnitModel model);
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel
Remove all Behaviors of type T
public static void RemoveBehaviors<T>(this AirUnitModel model)
where T : Model;
T
The Behavior you want to remove
model
Il2CppAssets.Scripts.Models.Towers.Behaviors.AirUnitModel