コード例 #1
0
ファイル: GPGGui.cs プロジェクト: kgadzinowski/UnityGPGPlugin
 public void GPGAuthResult(string result)
 {
     // Success/failed
     if(result == "success") {
         m_loginState = GPLoginState.loggedin;
     } else
         m_loginState = GPLoginState.loggedout;
 }
コード例 #2
0
 public void GPGAuthResult(string result)
 {
     // success/failed
     if(result == "success") {
         m_loginState = GPLoginState.loggedin;
         needFullSignin = false;
     } else
         m_loginState = GPLoginState.loggedout;
 }
コード例 #3
0
 public void GPGAuthResult(string result)
 {
     // success/failed
     if (result == "success")
     {
         m_loginState = GPLoginState.loggedin;
     }
     else
     {
         m_loginState = GPLoginState.loggedout;
     }
 }
コード例 #4
0
    public void GPGAuthResult(string result)
    {
        // success/failed
        if (result == "success")
        {
            m_loginState = GPLoginState.loggedin;
        }
        else
        {
            m_loginState = GPLoginState.loggedout;
        }

        if (CBOnAuth != null)
        {
            CBOnAuth(m_loginState == GPLoginState.loggedin);
        }
    }
コード例 #5
0
ファイル: NerdGPG.cs プロジェクト: kraftdream/TimeKiller
    public void GPGAuthResult(string result)
    {
        // success/failed
        if (result == "success") {
            m_loginState = GPLoginState.loggedin;
        } else
            m_loginState = GPLoginState.loggedout;

        if (CBOnAuth != null)
            CBOnAuth(m_loginState == GPLoginState.loggedin);
    }