Esempio n. 1
0
        //Method to Initiliaze
        public static void Instantiate()
        {
            //Initialize the buttongroup
            buttons = new ButtonGroup();

            background = new Sprite();
        }
Esempio n. 2
0
        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();
        }