} //end OnViewNotificationsButtonclicked public void ViewMyNotifications(ISFSObject objIn) { //this function will get notifications from server and display it to the member ISFSArray AuctionReq = objIn.GetSFSArray("AuctionRequests"); //get auction requests //get membership in auction requests ISFSArray MembershipReq = objIn.GetSFSArray("membershipRequests"); ISFSArray CreditCard = objIn.GetSFSArray("CreditCard");//get cridit cards Debug.Log(AuctionReq.Size()); Debug.Log(MembershipReq.Size()); //to store auction requests Transverser.AuctionReq = AuctionReq; Transverser.MembershipReq = MembershipReq; //to store membership requests Transverser.CreditCard = CreditCard; //to store cridit cards Debug.Log(CreditCard.Size()); Debug.Log("Display Notifications"); //display form that will show the notifications NotificationForm.gameObject.SetActive(true); //class that will deal with notification form contents ScrollableAdminNotificationsPanel m = new ScrollableAdminNotificationsPanel(); if (display > 0) //to allaw request notification from server each time { m.Start(); } display++; } //end ViewMyNotifications