Table of Contents
Provides quick access to many major BTD6 singleton classes
public class Instances
Inheritance UnityEngine.MonoBehaviour Instances
The base GameModel class
public static GameModel BaseGameModel { get; }
Il2CppAssets.Scripts.Models.GameModel
The current UnityToSimulation bridge. Will be null if not in a game, or if the game isn't fully loaded in
public static UnityToSimulation Bridge { get; }
Il2CppAssets.Scripts.Unity.Bridge.UnityToSimulation
The instance of the Btd6CoopGameNetworked class. Will be null if not in a coop game
public static Btd6CoopGameNetworked Btd6CoopGame { get; }
Il2CppAssets.Scripts.Unity.Network.Btd6CoopGameNetworked
The current Btd6Player
public static Btd6Player Btd6Player { get; }
Il2CppAssets.Scripts.Unity.Player.Btd6Player
The CashManager for the current player.
public static CashManager CashManager { get; }
Il2CppAssets.Scripts.Simulation.CashManager
The current NetworkedUnityToSimulation bridge. Will be null if not in a coop game, or if the game isn't fully loaded in
public static UnityToSimulation CoOpBridge { get; }
Il2CppAssets.Scripts.Unity.Bridge.UnityToSimulation
The current NetworkedUnityToSimulation bridge. Will be null if not in a coop game, or if the game isn't fully loaded in
public static NetworkedUnityToSimulation CoOpUnityToSimulation { get; }
Il2CppAssets.Scripts.Unity.Bridge.NetworkedUnityToSimulation
The modified GameModel that's being used for the current game. Will be null if not in a game, or if the game isn't fully loaded yet
public static GameModel CurrentGameModel { get; }
Il2CppAssets.Scripts.Models.GameModel
The instance of the InGameData class for the current match
public static ReadonlyInGameData CurrentInGameData { get; }
Il2CppAssets.Scripts.Unity.UI_New.InGame.ReadonlyInGameData
The current Display Factory
public static Factory DisplayFactory { get; }
Il2CppAssets.Scripts.Unity.Display.Factory
The current FactoryFactory (factory for in game factories), or null if not in game
public static FactoryFactory FactoryFactory { get; }
Il2CppAssets.Scripts.Simulation.Factory.FactoryFactory
The instance of the Game class
public static Game Game { get; }
Il2CppAssets.Scripts.Unity.Game
The instance of the GameConnection class. Will be null if not in a coop game
public static GameConnection GameConnection { get; }
Il2CppNinjaKiwi.LiNK.Lobbies.GameConnection
The instance of the GameData class
public static GameData GameData { get; }
Il2CppAssets.Scripts.Data.GameData
The current instance of the InGame class. Will be null if not in a match.
public static InGame InGame { get; }
Il2CppAssets.Scripts.Unity.UI_New.InGame.InGame
The InputManager for the current player.
public static InputManager InputManager { get; }
Il2CppAssets.Scripts.Simulation.Input.InputManager
The current Map in simulation, or null if not in game
public static Map Map { get; }
Il2CppAssets.Scripts.Simulation.Track.Map
The instance of the InGameData class that will be used for the next match
public static InGameData NextInGameData { get; }
Il2CppAssets.Scripts.Unity.UI_New.InGame.InGameData
The instance of the NKMultiGameInterface class. Will be null if not in a coop game
public static NKMultiGameInterface NKGI { get; }
Il2CppNinjaKiwi.NKMulti.NKMultiGameInterface
The instance of the NKMultiConnection class. Will be null if not in a coop game
public static NKMultiConnection NKMultiConnection { get; }
Il2CppNinjaKiwi.LiNK.Lobbies.NKMultiConnection
The current instance of the PopupScreen component
public static PopupScreen PopupScreen { get; }
Il2CppAssets.Scripts.Unity.UI_New.Popups.PopupScreen
The current player's profile
public static ProfileModel Profile { get; }
Il2CppAssets.Scripts.Models.Profile.ProfileModel
The current instance of the ShopMenu component, may be null
public static ShopMenu ShopMenu { get; }
Il2CppAssets.Scripts.Unity.UI_New.InGame.RightMenu.ShopMenu
The current game Simulation. Will be null if not in a game, or if the game isn't fully loaded in.
public static Simulation Simulation { get; }
Il2CppAssets.Scripts.Simulation.Simulation
The TowerManger for the current game. Will be null if not in a game, or if the game isn't fully loaded yet
public static TowerManager TowerManager { get; }
Il2CppAssets.Scripts.Simulation.Towers.TowerManager
The current instance of the TowerSelectionMenu component, may be null
public static TowerSelectionMenu TowerSelectionMenu { get; }
Il2CppAssets.Scripts.Unity.UI_New.InGame.TowerSelectionMenu.TowerSelectionMenu
The current UnityToSimulation bridge. Will be null if not in a game, or if the game isn't fully loaded in
public static UnityToSimulation UnityToSimulation { get; }