Esempio n. 1
0
        //--------------------------------------
        // Methods (Draw Hero Property Windows)
        //--------------------------------------

        /// <summary>
        /// Draw the title window inside the hero kit editor (hero property).
        /// </summary>
        /// <param name="id">ID assigned to the GUI Window</param>
        private void DrawTitleWindowHeroProperty(int id)
        {
            SimpleLayout.BeginHorizontal(Box.StyleTitleWindow);
            TitleBlock.Block(heroKitProperty.name, 2);
            SimpleLayout.Space();
            TitleButtonBlock.Block(true);
            SimpleLayout.EndHorizontal();
        }
Esempio n. 2
0
        // --------------------------------------------------------------
        // Methods (Draw Hero Object Windows)
        // --------------------------------------------------------------

        /// <summary>
        /// Draw the title window inside the hero kit editor (hero object).
        /// </summary>
        /// <param name="id">ID assigned to the GUI Window</param>
        private void DrawTitleWindowHeroObject(int id)
        {
            SimpleLayout.BeginHorizontal(Box.StyleTitleWindow);
            TitleBlock.Block(heroObject.name, 0);
            SimpleLayout.Space();
            TitleButtonBlock.Block();
            SimpleLayout.EndHorizontal();
        }