C# Class Browser, gro-ui

Inheritance: MonoBehaviour
Datei anzeigen Open project: OpenAgInitiative/gro-ui Class Usage Examples

Public Properties

Property Type Description
defaultWidth int
minWidth int
skin UnityEngine.GUISkin

Public Methods

Method Description
AddPath ( String add, int indexOfAdd ) : void
AddScrollPosition ( int indexOfAdd ) : void
AddWidth ( ) : void
DrawBrowser ( int windowID ) : void
GetAllSubDirectoriesAndFiles ( String MainDirectory ) : void
OnGUI ( ) : void
OpenFile ( String mainFolder ) : void
OverwriteDuplicates ( String FTS, String FL ) : void
SaveFile ( String FilePath, String mainFolder ) : void
WalkTheTree ( DirectoryInfo DI ) : void

Private Methods

Method Description
AddPathArrays ( Path IN1, Path IN2 ) : Path[]
GetMouseCord ( ) : Vector2
GetPathIndexesAt ( string Parent ) : int[]
GetRect ( int index, int space, int height ) : Rect

Method Details

AddPath() public method

public AddPath ( String add, int indexOfAdd ) : void
add String
indexOfAdd int
return void

AddScrollPosition() public method

public AddScrollPosition ( int indexOfAdd ) : void
indexOfAdd int
return void

AddWidth() public method

public AddWidth ( ) : void
return void

DrawBrowser() public method

public DrawBrowser ( int windowID ) : void
windowID int
return void

GetAllSubDirectoriesAndFiles() public method

public GetAllSubDirectoriesAndFiles ( String MainDirectory ) : void
MainDirectory String
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OpenFile() public method

public OpenFile ( String mainFolder ) : void
mainFolder String
return void

OverwriteDuplicates() public method

public OverwriteDuplicates ( String FTS, String FL ) : void
FTS String
FL String
return void

SaveFile() public method

public SaveFile ( String FilePath, String mainFolder ) : void
FilePath String
mainFolder String
return void

WalkTheTree() public method

public WalkTheTree ( DirectoryInfo DI ) : void
DI DirectoryInfo
return void

Property Details

defaultWidth public_oe property

public int defaultWidth
return int

minWidth public_oe property

public int minWidth
return int

skin public_oe property

public GUISkin,UnityEngine skin
return UnityEngine.GUISkin