Kinematicsoup Service Login GUI More...
Public Member Functions | |
void | OnOpen (ksWindow window) |
Called when the menu is opened. More... | |
void | OnClose (ksWindow window) |
Clear the password when the menu is closed if the password is not saved. More... | |
void | Draw (ksWindow window) |
Creates the GUI. More... | |
Protected Member Functions | |
virtual void | DrawPasswordField (Rect rect) |
Draw the password field. More... | |
void | OnLogin (ksJSON response, string error) |
Handle a login response More... | |
abstract void | Login () |
Send a login request More... | |
abstract ksAuthenticatedMenu | GetNextMenu (ksWindow window) |
Get the menu to show when the user is logged in. More... | |
Protected Attributes | |
ksWindow | m_window = null |
string | m_consoleUrl = null |
string | m_email = "" |
string | m_password = "" |
Properties | |
static T | Instance [get] |
Singleton Instance More... | |
bool | DestroyOnClose [get] |
Destroy this menu on close. More... | |
abstract string | ConsoleURL [get] |
Get the console url More... | |
Kinematicsoup Service Login GUI
T | : | ScriptableObject | |
T | : | ksIMenu |
void KS.Unity.Editor.ksBaseLoginMenu< T >.Draw | ( | ksWindow | window | ) |
Creates the GUI.
window | window the GUI is for. |
|
protectedvirtual |
Draw the password field.
rect | password field bounds |
|
protectedpure virtual |
Get the menu to show when the user is logged in.
window |
Implemented in KS.Reactor.Client.Unity.Editor.ksLoginMenu.
|
protectedpure virtual |
Send a login request
Implemented in KS.Reactor.Client.Unity.Editor.ksLoginMenu.
void KS.Unity.Editor.ksBaseLoginMenu< T >.OnClose | ( | ksWindow | window | ) |
Clear the password when the menu is closed if the password is not saved.
window | window that closed the menu. |
|
protected |
Handle a login response
response | response data |
error | error message |
void KS.Unity.Editor.ksBaseLoginMenu< T >.OnOpen | ( | ksWindow | window | ) |
Called when the menu is opened.
window | window that opened the menu. |
|
getprotected |
Get the console url
|
get |
Destroy this menu on close.
|
staticget |
Singleton Instance