public void EndGame() { slicerManager.Clear(); ballManager.Clear(); Destroy(shape.gameObject); gamePlay.OnCloseDialog(); }