- 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;
- }
-
- protected override void Start()
- {
- base.Start();
- }
-
- protected override void Update()
- {
- base.Update();
- }
- protected override void OnDisable()
- {
- base.OnDisable();
- }
- }