예제 #1
0
    void Action(InvateWindowEnum a)
    {
        if (a == InvateWindowEnum.Close || a == InvateWindowEnum.Skip)
            Application.LoadLevel(Application.loadedLevel + 1);

        if (a == InvateWindowEnum.Invite)
        {
            Application.ExternalEval(@"FB.ui({
    method: 'apprequests',
    message: '3D Game Ropector http://www.youtube.com/watch?v=LnYmmddTNrs',
  }, null);");
        }
    }
예제 #2
0
파일: Invite.cs 프로젝트: patel22p/dorumon
    void Action(InvateWindowEnum a)
    {
        if (a == InvateWindowEnum.Close || a == InvateWindowEnum.Skip)
        {
            Application.LoadLevel(Application.loadedLevel + 1);
        }

        if (a == InvateWindowEnum.Invite)
        {
            Application.ExternalEval(@"FB.ui({
    method: 'apprequests',
    message: '3D Game Ropector http://www.youtube.com/watch?v=LnYmmddTNrs',
  }, null);");
        }
    }