コード例 #1
0
    IEnumerator StopFire()
    {
        for (int i = 0; i < bulletsArray.Length; i++)
        {
            if (bulletsArray[i] != null)
            {
                StandardFireFunctions.StopFire(bulletsArray[i]);
            }
        }

        yield return(null);
    }
コード例 #2
0
    IEnumerator Stop()
    {
        StandardFireFunctions.StopFire(gameObject);

        yield return(new WaitForSeconds(stopWaitTime));
    }