using System.Collections; using System.Collections.Generic; using UnityEngine; public class GroupReset : MonoBehaviour { public CheckDarg[] CheckGroup; public void ResetGroup() { for (int i = 0; i < CheckGroup.Length; i++) { CheckGroup[i].ResetItem(); } } }