public IEnumerator Run() { if (RunOn == true) { if (blockgroup != null) { StartCoroutine(blockgroup.Run(0)); } } yield return(new WaitForSeconds(1)); }
public IEnumerator Run() { while (RunOn == true) { Debug.Log("런온"); if (blockgroup != null) { Debug.Log("블록그룹"); yield return(StartCoroutine(blockgroup.Run())); } } yield return(new WaitForSeconds(1)); }