C# Class GILES.Interface.pb_FileDialog

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: procore3d/giles

Public Properties

Property Type Description
OnCancel Callback
OnSave Callback
backButton UnityEngine.UI.Button
currentDirectory string
directoryCrumbsField InputField
fileInputField InputField
oddRowStyle pb_GUIStyle
rowButtonPrefab pb_SaveDialogButton
saveButton UnityEngine.UI.Button
scrollContent UnityEngine.GameObject

Public Methods

Method Description
AddOnCancelListener ( Callback listener ) : void
AddOnSaveListener ( Callback listener ) : void
Back ( ) : void
Cancel ( ) : void
Forward ( ) : void
OpenParentDirectory ( ) : void
Save ( ) : void
SetDirectory ( string directory ) : void
SetFile ( string path ) : void
UpdateDirectoryContents ( ) : void

Private Methods

Method Description
Awake ( ) : void
ClearScrollRect ( ) : void
GetFilePath ( ) : string
Initialize ( ) : void
UpdateNavButtonInteractibility ( ) : void
ValidDir ( string dir ) : bool

Method Details

AddOnCancelListener() public method

public AddOnCancelListener ( Callback listener ) : void
listener Callback
return void

AddOnSaveListener() public method

public AddOnSaveListener ( Callback listener ) : void
listener Callback
return void

Back() public method

public Back ( ) : void
return void

Cancel() public method

public Cancel ( ) : void
return void

Forward() public method

public Forward ( ) : void
return void

OpenParentDirectory() public method

public OpenParentDirectory ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SetDirectory() public method

public SetDirectory ( string directory ) : void
directory string
return void

SetFile() public method

public SetFile ( string path ) : void
path string
return void

UpdateDirectoryContents() public method

public UpdateDirectoryContents ( ) : void
return void

Property Details

OnCancel public_oe property

public Callback OnCancel
return Callback

OnSave public_oe property

public Callback OnSave
return Callback

backButton public_oe property

public Button,UnityEngine.UI backButton
return UnityEngine.UI.Button

currentDirectory public_oe property

public string currentDirectory
return string

directoryCrumbsField public_oe property

public InputField directoryCrumbsField
return InputField

fileInputField public_oe property

public InputField fileInputField
return InputField

oddRowStyle public_oe property

public pb_GUIStyle,GILES.Interface oddRowStyle
return pb_GUIStyle

rowButtonPrefab public_oe property

public pb_SaveDialogButton,GILES.Interface rowButtonPrefab
return pb_SaveDialogButton

saveButton public_oe property

public Button,UnityEngine.UI saveButton
return UnityEngine.UI.Button

scrollContent public_oe property

public GameObject,UnityEngine scrollContent
return UnityEngine.GameObject