Exemplo n.º 1
0
    private void Update()
    {
        curTime += Time.deltaTime;

        if (curTime >= bulletDelayTime)
        {
            bulletManager.FireBullets(this.transform.position);

            curTime = 0f;
        }
    }