Beispiel #1
0
        public TextBG NewTextBox()
        {
            textBG    = new TextBG();
            Textlable = new Label();

            Textlable.Font = GameData.font;
            Textlable.SetPosition(207f, 389f);
            Textlable.TextColor = new UIColor(1f, 1f, 1f, 1.0f);
            Textlable.Width     = 560f;
            GameUI.Instance.RootWidget.AddChildLast(Textlable);
            return(textBG);
        }
Beispiel #2
0
        public TextBG NewTextBox()
        {
            textBG = new TextBG();
            Textlable = new Label();

            Textlable.Font = GameData.font;
            Textlable.SetPosition(207f,389f);
            Textlable.TextColor = new UIColor(1f,1f,1f,1.0f);
            Textlable.Width = 560f;
            GameUI.Instance.RootWidget.AddChildLast(Textlable);
            return textBG;
        }