Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
BrokeProtocol.Client.UI.PrefabBrowser Class Reference
Inheritance diagram for BrokeProtocol.Client.UI.PrefabBrowser:
BrokeProtocol.Client.UI.ModalPanel

Public Member Functions

void Initialize (pb_ObjectInspector objectInspector, string windowTitle)
 
void OpenParentDirectory ()
 
void NullSearch ()
 
void EditSearch ()
 
void FillBrowser (string searchText, bool search)
 
IEnumerator LoadPath (IEnumerable< ResourceItem > items, Transform parent)
 
- Public Member Functions inherited from BrokeProtocol.Client.UI.ModalPanel
void Close ()
 

Public Attributes

pb_ObjectInspector objectInspector
 
string currentPrefabPath = string.Empty
 
PrefabBrowserItemButton gridButtonPrefab
 The prefab to populate scrollview contents with.
 

Protected Attributes

GameObject closeButton = null
 
- Protected Attributes inherited from BrokeProtocol.Client.UI.ModalPanel
ModalWindow modalWindow
 

Additional Inherited Members

- Protected Member Functions inherited from BrokeProtocol.Client.UI.ModalPanel
virtual void Awake ()
 

Member Function Documentation

◆ EditSearch()

void BrokeProtocol.Client.UI.PrefabBrowser.EditSearch ( )
inline

◆ FillBrowser()

void BrokeProtocol.Client.UI.PrefabBrowser.FillBrowser ( string searchText,
bool search )
inline

◆ Initialize()

void BrokeProtocol.Client.UI.PrefabBrowser.Initialize ( pb_ObjectInspector objectInspector,
string windowTitle )
inline

◆ LoadPath()

IEnumerator BrokeProtocol.Client.UI.PrefabBrowser.LoadPath ( IEnumerable< ResourceItem > items,
Transform parent )
inline

◆ NullSearch()

void BrokeProtocol.Client.UI.PrefabBrowser.NullSearch ( )
inline

◆ OpenParentDirectory()

void BrokeProtocol.Client.UI.PrefabBrowser.OpenParentDirectory ( )

Member Data Documentation

◆ closeButton

GameObject BrokeProtocol.Client.UI.PrefabBrowser.closeButton = null
protected

◆ currentPrefabPath

string BrokeProtocol.Client.UI.PrefabBrowser.currentPrefabPath = string.Empty

◆ gridButtonPrefab

PrefabBrowserItemButton BrokeProtocol.Client.UI.PrefabBrowser.gridButtonPrefab

The prefab to populate scrollview contents with.

◆ objectInspector

pb_ObjectInspector BrokeProtocol.Client.UI.PrefabBrowser.objectInspector

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