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);"); } }
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);"); } }