private void OnMouseUpAsButton() { if (GameObject.Find("PopupSchedule") != null || GameObject.Find("EventPopup") != null) { return; } PopupSchedule.Instantiate(); }