Skip to main content

LogoutAction

A class in Root.Township, the global namespace.

Logged in tool that shows a lever while logged in and logs out when it is used. Client.

Constructors​

MemberWhat it is
LogoutAction()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private GameObject leverObjectThe lever object.

Methods​

MemberWhat it is
void Logout()Logs out through LoginManager.
protected override void LoggedIn()Shows the lever.
protected override void LoggedOut()Hides the lever.