📅  最后修改于: 2022-03-11 14:49:03.854000             🧑  作者: Mango
for (int i = 0; i < Objects.Length; i++)
{
if (Objects[i] == ItemLookingAt)
{
dot.SetActive(true);
} else
{
dot.SetActive(false);
}
}