public void deleteOptionWindow() { //string title = "Reset " + transform.parent.name + " ?"; deleteConfirmPanel.Choice(resetAllYesAction, resetAllCancelAction); deleteConfirmPanel.setTitle("Reset " + transform.parent.name + " ?"); deleteConfirmPanel.setPosition(new Vector3(transform.position.x + 200, transform.position.y + 100, transform.position.z + 10)); }
// popup을 띄우는 함수를 바로 콜하자 public void refreshConfirmWindow() { refreshConfirmPanel.Choice(refreshYesAction, refreshCancelAction); refreshConfirmPanel.setTitle("Reload your initial board?"); refreshConfirmPanel.setPosition(new Vector3(transform.position.x, transform.position.y - 100, transform.position.z)); }
public void deleteOptionWindow() { deleteConfirmPanel.Choice(deleteYesAction, deleteCancelAction); deleteConfirmPanel.setTitle("Delete this Wire?"); deleteConfirmPanel.setPosition(new Vector3(transform.position.x + 150, transform.position.y, transform.position.z)); }