Exemple #1
0
 private void DisplayDirectoryTree()
 {
     positionScrollDirectory = GUILayout.BeginScrollView(positionScrollDirectory, GuiStyleSet.StyleScrollbar.horizontalbar, GuiStyleSet.StyleScrollbar.verticalbar, GUILayout.Height(Rect.height / 2.0f));
     {
         viewDirectoryTree.OnGUI();
     }
     GUILayout.EndScrollView();
 }
Exemple #2
0
        public void OnGUI()
        {
            GUILayout.BeginVertical(GuiStyleSet.StyleGeneral.box);
            {
                // To Be Fixed.

                /*
                 *              if( GUILayout.Button( ( Texture2D )PoolTexture.GetTexture( "Graphic/Start.png" ), GuiStyleSetGeneral.instance.button, GUILayout.Width( 120.0f ) ) == true )
                 *              {
                 *
                 *              }*/

                positionScrollDirectory = GUILayout.BeginScrollView(positionScrollDirectory);
                {
                    viewDirectoryTree.OnGUI();
                }
                GUILayout.EndScrollView();
            }
            GUILayout.EndVertical();
        }