void ToggleUI() { if (inEditing && (int.Parse(AllStoreData[currentStoreIndex].data[currIndex].price) > coinsValue)) { BuyItemB.SetActive(false); } else { BuyItemB.SetActive(inEditing); } SitDownB.SetActive(false); ReturnB.SetActive(inEditing); NextItemB.SetActive(inEditing); PrevItemB.SetActive(inEditing); objectTitle.SetActive(inEditing); price.SetActive(inEditing); GoHomeB.SetActive(!inEditing); if (inEditing) { chatBubbleIsActive = currentChatBubble.activeSelf; RequestSent.SetActive(false); RequestRejected.SetActive(false); AcceptRequest.SetActive(false); SendRequest.SetActive(false); currentChatBubble.SetActive(false); } else { currentChatBubble.SetActive(chatBubbleIsActive); } ScreenshotB.SetActive(!inEditing); joystick.SetActive(!inEditing); StoreB.SetActive(!inEditing); }
private void pboxStatus_MouseClick(object sender, MouseEventArgs e) { if (!this.isRequest) { if (AddUserPressed != null) { AddUserPressed.Invoke(this.username, this); } this.OnMouseClick(e); } else { if (RequestRejected != null) { RequestRejected.Invoke(this); } } }
public RequestRejectedWrap(RequestRejected request) { Request = request; }