示例#1
0
        /// <summary>
        /// Draw the body of the block.
        /// </summary>
        private static void DrawBody()
        {
            SimpleLayout.BeginVertical(Box.StyleCanvasBox);

            DrawItemType();

            // display the inspector fields in the editor
            if (propertyBlock.propertyTemplate != null)
            {
                HeroKitCommon.BuildPropertyFields(heroObject, propertyIndex);
                DrawStrings();
                DrawInts();
                DrawFloats();
                DrawBools();
                DrawHeroObjects();
                DrawUnityObjects();
                DrawGameObjects();
            }

            SimpleLayout.EndVertical();
        }