Beispiel #1
0
    private void Awake()
    {
        m_PageController.Initialize(m_StartingPage);

        if (IsEnterHome)
        {
            m_HomeState.Enter();
        }
        else
        {
            m_Header.Exit();
            nav.Exit();

            if (IsEnterSignIn)
            {
                m_SignInState.Enter();
            }
        }
    }
Beispiel #2
0
 public void SignIn()
 {
     //Success
     PlayerPrefs.SetInt(Prefs.SignedIn, 1);
     m_HomeState.Enter();
 }