public static void HideAllPath() { for (int idx = 0; idx <= 8; idx++) { for (int idz = 0; idz <= 9; idz++) { points[idx][idz].SetActive(false); } } ChessManager.SetUnCanAttackClick(); }