public void JpgButtonControl() { if (GameObject.FindGameObjectWithTag("jpg")) { //SeceneklerPnl.SetActive(false); ScreenshotHandler.TakeScreenshot_Static_Jpg(390, 703); } }