📅  最后修改于: 2022-03-11 14:49:08.406000             🧑  作者: Mango
// Set the whole list of game objects to false:
public class Program : MonoBehaviour
{
public GameObject[] deck;
void Start()
{
foreach (var obj in deck)
{
obj.SetActive(true);
}
}
}