示例#1
0
    protected override void Update()
    {
        base.Update();
        if (!HasHealth)
        {
            return;
        }

        Debug.Log(
            message: name + " enemy updating.");

        EnemySpotedAlert.Reposition();

        HealthBar.Reposition();
        HealthBar.Fill();
        //if (IsDead)
        //    OnDeath?.Invoke(this);
    }