Super Sexy Properties Panel
Properties panel now allows nested lists with foldouts, item selection and click callbacks Properties Panel UI has a new look Refactored lambdas in control module code into methods for readability
This commit is contained in:
parent
68473a84ab
commit
50a8059ed4
43 changed files with 894 additions and 916 deletions
|
|
@ -24,7 +24,7 @@ public class LoginScreen : MonoBehaviour
|
|||
LoginButton.CurrentState = FlatButtonState.Selected;
|
||||
CultClient.AddMessageListener<LoginSuccessMessage>(success => SceneManager.LoadScene("Main"));
|
||||
CultClient.OnError += s => Error.text = s;
|
||||
RegisterButton.OnClick += _ =>
|
||||
RegisterButton.OnClick += () =>
|
||||
{
|
||||
if(!CultClient.Connected)
|
||||
CultClient.Connect(Server.text);
|
||||
|
|
@ -42,7 +42,7 @@ public class LoginScreen : MonoBehaviour
|
|||
RegisterButton.CurrentState = FlatButtonState.Selected;
|
||||
}
|
||||
};
|
||||
LoginButton.OnClick += _ =>
|
||||
LoginButton.OnClick += () =>
|
||||
{
|
||||
if(!CultClient.Connected)
|
||||
CultClient.Connect(Server.text);
|
||||
|
|
|
|||
Loading…
Reference in a new issue