//Удаление продукта public void deleteProductOnButtonByYes() { // Product prodOnDelete = panelProductLogic.getProdEidt(); // GameObject tempFix = getProductById GameObject prodOnDeleteGO = contLogic.getProductById(prodOnDelete.getId()); //prodOnDeleteGO.dest // prodOnDeleteGO.GetComponent<Product>(). allDay_Now.deleteProductComp(prodOnDelete); prodOnDeleteGO.SetActive(false); //Destroy(prodOnDeleteGO.GetComponent<Product>()); // Destroy(prodOnDeleteGO); contLogic.resetIdProducts(); contLogic.initProductsInCont(); panelProductLogic.setProducts(contLogic.getProducts()); updateNameProduct_dropdown(); // initDefaultTextList() initTextListForNight(contentNight); initTextListForDay(contentDay); resetAll(); // initDefaultTextList(); //update_showInfoNightProduct_onViewScroll(); //ToDo operator action }