//Method to Initiliaze public static void Instantiate() { //Initialize the buttongroup buttons = new ButtonGroup(); background = new Sprite(); }
public static void Instantiate() { background = new Sprite(); buttons = new ButtonGroup(); moneyDisplay = new Sprite(); ArenaShop.Instantiate(); CarShop.Instantiate(); DefensiveUpgradeShop.Instantiate(); OffensiveUpgradeShop.Instantiate(); //Instantiate the example example = new Car(); exampleRoad = new Sprite(); //Instantiate the popups notEnoughMoneyNotice = new Popup(); areYouSurePopup = new Popup(); }