UnityMol  0.9.6-875
UnityMol viewer / In developement
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
FileBro Class Reference
+ Inheritance diagram for FileBro:
+ Collaboration diagram for FileBro:

Public Member Functions

void GoToParent ()
 

Public Attributes

string fileToOpen
 
Button fileButton
 
Button foldButton
 
GameObject fileBro
 
GameObject folderBro
 

Private Member Functions

void Awake ()
 
void Start ()
 
void UpdateBro (string pathToGo)
 
void UpdateParentsFolderPanel ()
 
void SetFileToOpen (string fileSelected)
 

Private Attributes

string currentPath
 
float lastClicked = 0.0f
 
string lastPath = null
 

Detailed Description

Definition at line 8 of file FileBro.cs.

Member Function Documentation

void FileBro.Awake ( )
private

Definition at line 20 of file FileBro.cs.

void FileBro.GoToParent ( )

Move to the parent directory and display it

Definition at line 121 of file FileBro.cs.

References Directory, and UpdateBro().

+ Here is the call graph for this function:

void FileBro.SetFileToOpen ( string  fileSelected)
private

Definition at line 107 of file FileBro.cs.

Referenced by UpdateBro().

+ Here is the caller graph for this function:

void FileBro.Start ( )
private

Definition at line 26 of file FileBro.cs.

References UpdateBro().

+ Here is the call graph for this function:

void FileBro.UpdateBro ( string  pathToGo)
private

Change current path and updates the content of the browser.

Parameters
pathToGoPath to go.

Definition at line 36 of file FileBro.cs.

References SetFileToOpen(), and UpdateParentsFolderPanel().

Referenced by GoToParent(), Start(), and UpdateParentsFolderPanel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FileBro.UpdateParentsFolderPanel ( )
private

Update the panel which contain parents folder

Definition at line 89 of file FileBro.cs.

References UpdateBro().

Referenced by UpdateBro().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

string FileBro.currentPath
private

Definition at line 16 of file FileBro.cs.

GameObject FileBro.fileBro

Definition at line 14 of file FileBro.cs.

Button FileBro.fileButton

Definition at line 12 of file FileBro.cs.

string FileBro.fileToOpen

Definition at line 11 of file FileBro.cs.

Referenced by LoadGUI.OpenFileCallback().

Button FileBro.foldButton

Definition at line 13 of file FileBro.cs.

GameObject FileBro.folderBro

Definition at line 15 of file FileBro.cs.

float FileBro.lastClicked = 0.0f
private

Definition at line 17 of file FileBro.cs.

string FileBro.lastPath = null
private

Definition at line 18 of file FileBro.cs.


The documentation for this class was generated from the following file: