Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Scripts / NPC / Orc / EnemyNPCContoller.cs
@Rackday Rackday on 29 Oct 761 bytes Major Update
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using MyCollections.AI.FinitStateMachine;

public abstract class EnemyNPCContoller : NPCController
{
    protected new virtual void Awake()
    {
        base.Awake();
    }

    protected new virtual void OnEnable()
    {
        base.OnEnable();
        health = maxHealth;
        healthBarImage.fillAmount = MaxHealth;
    }

    // Start is called before the first frame update
    protected override void Start()
    {
        base.Start();
    }

    // Update is called once per frame
    protected override void Update()
    {
        base.Update();
    }

    protected override void OnDisable()
    {
        base.OnDisable();
    }

}