예제 #1
0
    private void Update()
    {
        if (_tower.PlacingMode)
        {
            return;
        }
        var attack = Attack();

        _tower.Attack(attack);
        if (!attack)
        {
            _tower.AddTime(Time.deltaTime);
        }
    }