C# Class FileBrowser, App42-Unity-Sample

Inheritance: System.Web.UI.UserControl
ファイルを表示 Open project: shephertz/App42-Unity-Sample Class Usage Examples

Protected Properties

Property Type Description
m_browserType FileBrowserType
m_callback FinishedCallback
m_centredText GUIStyle,
m_currentDirectory string
m_currentDirectoryMatches bool
m_currentDirectoryParts string[]
m_directories string[]
m_directoriesWithImages GUIContent[],
m_directoryImage Texture2D
m_fileImage Texture2D
m_filePattern string
m_files string[]
m_filesWithImages GUIContent[],
m_name string
m_newDirectory string
m_nonMatchingDirectories string[]
m_nonMatchingDirectoriesWithImages GUIContent[],
m_nonMatchingFiles string[]
m_nonMatchingFilesWithImages GUIContent[],
m_screenRect Rect,
m_scrollPosition Vector2
m_selectedDirectory int
m_selectedFile int
m_selectedNonMatchingDirectory int

Public Methods

Method Description
FileBrowser ( Rect, screenRect, string name, FinishedCallback callback ) : System
OnGUI ( ) : void

Protected Methods

Method Description
BuildContent ( ) : void
DirectoryDoubleClickCallback ( int i ) : void
FileDoubleClickCallback ( int i ) : void
NonMatchingDirectoryDoubleClickCallback ( int i ) : void
ReadDirectoryContents ( ) : void
SetNewDirectory ( string directory ) : void
SwitchDirectoryNow ( ) : void

Method Details

BuildContent() protected method

protected BuildContent ( ) : void
return void

DirectoryDoubleClickCallback() protected method

protected DirectoryDoubleClickCallback ( int i ) : void
i int
return void

FileBrowser() public method

public FileBrowser ( Rect, screenRect, string name, FinishedCallback callback ) : System
screenRect Rect,
name string
callback FinishedCallback
return System

FileDoubleClickCallback() protected method

protected FileDoubleClickCallback ( int i ) : void
i int
return void

NonMatchingDirectoryDoubleClickCallback() protected method

protected NonMatchingDirectoryDoubleClickCallback ( int i ) : void
i int
return void

OnGUI() public method

public OnGUI ( ) : void
return void

ReadDirectoryContents() protected method

protected ReadDirectoryContents ( ) : void
return void

SetNewDirectory() protected method

protected SetNewDirectory ( string directory ) : void
directory string
return void

SwitchDirectoryNow() protected method

protected SwitchDirectoryNow ( ) : void
return void

Property Details

m_browserType protected_oe property

protected FileBrowserType m_browserType
return FileBrowserType

m_callback protected_oe property

protected FinishedCallback m_callback
return FinishedCallback

m_centredText protected_oe property

protected GUIStyle, m_centredText
return GUIStyle,

m_currentDirectory protected_oe property

protected string m_currentDirectory
return string

m_currentDirectoryMatches protected_oe property

protected bool m_currentDirectoryMatches
return bool

m_currentDirectoryParts protected_oe property

protected string[] m_currentDirectoryParts
return string[]

m_directories protected_oe property

protected string[] m_directories
return string[]

m_directoriesWithImages protected_oe property

protected GUIContent[], m_directoriesWithImages
return GUIContent[],

m_directoryImage protected_oe property

protected Texture2D m_directoryImage
return Texture2D

m_fileImage protected_oe property

protected Texture2D m_fileImage
return Texture2D

m_filePattern protected_oe property

protected string m_filePattern
return string

m_files protected_oe property

protected string[] m_files
return string[]

m_filesWithImages protected_oe property

protected GUIContent[], m_filesWithImages
return GUIContent[],

m_name protected_oe property

protected string m_name
return string

m_newDirectory protected_oe property

protected string m_newDirectory
return string

m_nonMatchingDirectories protected_oe property

protected string[] m_nonMatchingDirectories
return string[]

m_nonMatchingDirectoriesWithImages protected_oe property

protected GUIContent[], m_nonMatchingDirectoriesWithImages
return GUIContent[],

m_nonMatchingFiles protected_oe property

protected string[] m_nonMatchingFiles
return string[]

m_nonMatchingFilesWithImages protected_oe property

protected GUIContent[], m_nonMatchingFilesWithImages
return GUIContent[],

m_screenRect protected_oe property

protected Rect, m_screenRect
return Rect,

m_scrollPosition protected_oe property

protected Vector2 m_scrollPosition
return Vector2

m_selectedDirectory protected_oe property

protected int m_selectedDirectory
return int

m_selectedFile protected_oe property

protected int m_selectedFile
return int

m_selectedNonMatchingDirectory protected_oe property

protected int m_selectedNonMatchingDirectory
return int