예제 #1
0
    public IEnumerator Run()
    {
        if (RunOn == true)
        {
            if (blockgroup != null)
            {
                StartCoroutine(blockgroup.Run(0));
            }
        }


        yield return(new WaitForSeconds(1));
    }
예제 #2
0
파일: RunButton.cs 프로젝트: tmxk061/486_AP
    public IEnumerator Run()
    {
        while (RunOn == true)
        {
            Debug.Log("런온");
            if (blockgroup != null)
            {
                Debug.Log("블록그룹");

                yield return(StartCoroutine(blockgroup.Run()));
            }
        }
        yield return(new WaitForSeconds(1));
    }