Table of Contents
Extensions for Towers
public static class TowerExt
Inheritance System.Object TowerExt
Return the DisplayNode for this Tower
public static DisplayNode GetDisplayNode(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Il2CppAssets.Scripts.Simulation.Display.DisplayNode
Return the Factory that creates Towers
public static Factory<Tower> GetFactory(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Il2CppAssets.Scripts.Simulation.Factory.Factory
Get the MonkeyAnimationController for this Tower. Needed to modify 3D models
public static MonkeyAnimationController GetMonkeyAnimController(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Il2CppAssets.Scripts.Unity.Display.Animation.MonkeyAnimationController
Gets all other towers that are in range of this tower not including itself
public static System.Collections.Generic.IEnumerable<Tower> GetTowersInRange(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
System.Collections.Generic.IEnumerable<Il2CppAssets.Scripts.Simulation.Towers.Tower>
Return the TowerToSimulation for this specific Tower
public static TowerToSimulation GetTowerToSim(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Il2CppAssets.Scripts.Unity.Bridge.TowerToSimulation
Return the UnityDisplayNode for this Tower. Is apart of DisplayNode. Needed to modify sprites
public static UnityDisplayNode GetUnityDisplayNode(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Il2CppAssets.Scripts.Unity.Display.UnityDisplayNode
Sell this tower
public static void SellTower(this Tower tower);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
Change TowerModel to a different one. Will update display
public static void SetTowerModel(this Tower tower, TowerModel towerModel);
tower
Il2CppAssets.Scripts.Simulation.Towers.Tower
The Simulation Tower
towerModel
Il2CppAssets.Scripts.Models.Towers.TowerModel
TowerModel to change to