コード例 #1
0
        /// <summary>
        /// Description : Drawer for the logs messages in the upper panel  area
        /// </summary>
        private void DrawUpperPanel()
        {
            // design Upper panel area
            upperPanel = new Rect(0, menuBarHeight, position.width, (position.height * sizeRatio) - menuBarHeight);

            GUILayout.BeginArea(upperPanel);

            // Add a scroll
            upperPanelScroll = GUILayout.BeginScrollView(upperPanelScroll);

            // Draw console
            DrawDefaultConsole();
            DrawCustomLogs(ConsoleService.GetAll());

            // CLose Design
            GUILayout.EndScrollView();
            GUILayout.EndArea();
        }