Exemple #1
0
    IEnumerator Start()
    {
        originalDelayShoot = delayShoot;
        cam = Camera.main;


        while (true)
        {
            yield return(new WaitForSeconds(delayShoot));


            BulletManager.BulletPosition(cam.transform.TransformPoint(Vector3.forward * 1.8f), cam.transform.rotation, 1);
        }
    }