Пример #1
0
    public void UpdateBlock()
    {
        EnemyBase enemy = owner as EnemyBase;

        if (enemy != null)
        {
            blockData.Animate(enemy.RemainingBlock);
        }
    }
Пример #2
0
 public void UpdateHealth()
 {
     healthData.Animate(owner.Health);
 }