public static void ClickPercents(float x, float y) { GameObject go = UITestUtils.FindObjectByPercents(x, y); if (go == null) { Assert.Fail("Cannot click to percents [" + x + ";" + y + "], couse there are no objects."); } Click(go); }