Exemplo n.º 1
0
    private void OnFacebookAppRequestDeleted(object sender, FacebookAppRequestDeletedEventArgs args)
    {
        FacebookManager.Instance.FacebookAppRequestDeletedEvent -= this.OnFacebookAppRequestDeleted;

        if (args.DeletedAppRequest == this.AppRequest)
        {
            // Delete was successful, so it's safe to process the request now
            GameManager.Instance.ProcessAppRequest(args.DeletedAppRequest);

            this.gameObject.transform.parent = null;
            Destroy(this.gameObject);
            this.Grid.Reposition();
        }
    }
Exemplo n.º 2
0
    private void OnFacebookAppRequestDeleted(object sender, FacebookAppRequestDeletedEventArgs args)
    {
        FacebookManager.Instance.FacebookAppRequestDeletedEvent -= this.OnFacebookAppRequestDeleted;

        if (args.DeletedAppRequest == this.AppRequest)
        {
            // Delete was successful, so it's safe to process the request now
            GameManager.Instance.ProcessAppRequest(args.DeletedAppRequest);

            this.gameObject.transform.parent = null;
            Destroy(this.gameObject);
            this.Grid.Reposition();
        }
    }
Exemplo n.º 3
0
 private void OnFacebookAppRequestDeleted(object sender, FacebookAppRequestDeletedEventArgs e)
 {
     this.SetUpMailboxNotification(FacebookManager.Instance.AppRequests);
 }