14 lines
399 B
C#
14 lines
399 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class AccountLoggedOut : MonoBehaviour
|
|
{
|
|
public Button loggedOutLoginButton;
|
|
public Button loggedOutRegisterButton;
|
|
|
|
void Awake()
|
|
{
|
|
loggedOutLoginButton.onClick.AddListener(() => AccountHandler.instance.SwitchPanel(2));
|
|
loggedOutRegisterButton.onClick.AddListener(() => AccountHandler.instance.SwitchPanel(3));
|
|
}
|
|
} |