public void ShowConfirmationPopupCorrectly() { controller.Show(Vector2Int.zero); Assert.IsTrue(view.gameObject.activeSelf); Assert.IsTrue(view.cancelButton.gameObject.activeSelf); Assert.IsTrue(view.unpublishButton.gameObject.activeSelf); Assert.IsTrue(view.infoText.gameObject.activeSelf); Assert.IsTrue(view.closeButton.gameObject.activeSelf); Assert.IsFalse(view.doneButton.gameObject.activeSelf); Assert.IsFalse(view.errorText.gameObject.activeSelf); Assert.IsFalse(view.loadingBarContainer.gameObject.activeSelf); }
void OnContextMenuUnpublishPressed(string id) { unpublishPopupController.Show(sceneCoords, sceneSource); }