コード例 #1
0
ファイル: MainMenu.cs プロジェクト: bvanderdrift/EpicGrip
        //Method to Initiliaze
        public static void Instantiate()
        {
            //Initialize the buttongroup
            buttons = new ButtonGroup();

            background = new Sprite();
        }
コード例 #2
0
ファイル: ShopScreen.cs プロジェクト: bvanderdrift/EpicGrip
        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();
        }