コード例 #1
0
 private void AssignReferences()
 {
     TextInstance      = this.GetGraphicalUiElementByName("TextInstance") as Frbcon2019.GumRuntimes.TextRuntime;
     ContainerInstance = this.GetGraphicalUiElementByName("ContainerInstance") as Frbcon2019.GumRuntimes.ContainerRuntime;
     TextInstance1     = this.GetGraphicalUiElementByName("TextInstance1") as Frbcon2019.GumRuntimes.TextRuntime;
     FinalScoreValue   = this.GetGraphicalUiElementByName("FinalScoreValue") as Frbcon2019.GumRuntimes.TextRuntime;
 }
コード例 #2
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            FinalScoreValue = GameOverGum.GetGraphicalUiElementByName("FinalScoreValue") as Frbcon2019.GumRuntimes.TextRuntime;
            PlayAgainButton = GameOverGum.GetGraphicalUiElementByName("PlayAgainButton") as Frbcon2019.GumRuntimes.ButtonRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
コード例 #3
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            LivesValue           = ScoreboardGum.GetGraphicalUiElementByName("LivesValue") as Frbcon2019.GumRuntimes.TextRuntime;
            ScoreValue           = ScoreboardGum.GetGraphicalUiElementByName("ScoreValue") as Frbcon2019.GumRuntimes.TextRuntime;
            TimerValue           = ScoreboardGum.GetGraphicalUiElementByName("TimerValue") as Frbcon2019.GumRuntimes.TextRuntime;
            LivesContainer       = ScoreboardGum.GetGraphicalUiElementByName("LivesContainer") as Frbcon2019.GumRuntimes.ContainerRuntime;
            ScoreboardGumRuntime = ScoreboardGum.GetGraphicalUiElementByName("this") as Frbcon2019.GumRuntimes.ScoreboardGumRuntime;
            DifficultyValue      = ScoreboardGum.GetGraphicalUiElementByName("DifficultyValue") as Frbcon2019.GumRuntimes.TextRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
コード例 #4
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            TimerValue = MiniGameBaseGum.GetGraphicalUiElementByName("TimerValue") as Frbcon2019.GumRuntimes.TextRuntime;
            InstructionsTimeLeftText  = MiniGameBaseGum.GetGraphicalUiElementByName("InstructionsTimeLeftText") as Frbcon2019.GumRuntimes.TextRuntime;
            InstructionsDisplayedText = MiniGameBaseGum.GetGraphicalUiElementByName("Instructions") as Frbcon2019.GumRuntimes.TextRuntime;
            GameTimeLeft           = MiniGameBaseGum.GetGraphicalUiElementByName("GameTimeLeft") as Frbcon2019.GumRuntimes.TextRuntime;
            ButtonInstance         = MiniGameBaseGum.GetGraphicalUiElementByName("ButtonInstance") as Frbcon2019.GumRuntimes.ButtonRuntime;
            MiniGameBaseGumRuntime = MiniGameBaseGum.GetGraphicalUiElementByName("this") as Frbcon2019.GumRuntimes.MiniGameBaseGumRuntime;
            ContentBlocker         = MiniGameBaseGum.GetGraphicalUiElementByName("ContentBlocker") as Frbcon2019.GumRuntimes.ColoredRectangleRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
コード例 #5
0
 private void AssignReferences()
 {
     ButtonInstance = this.GetGraphicalUiElementByName("ButtonInstance") as Frbcon2019.GumRuntimes.ButtonRuntime;
     TextInstance   = this.GetGraphicalUiElementByName("TextInstance") as Frbcon2019.GumRuntimes.TextRuntime;
 }