Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Scripts / NPC / FSM / Action.cs
@Rackday Rackday on 29 Oct 463 bytes Major Update
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace MyCollections.AI.FinitStateMachine
  5. {
  6. [CreateAssetMenu(menuName = "Finite State Machine/Action")]
  7. public class Action : ScriptableObject
  8. {
  9. //Runs Action on the normal Update
  10. public virtual void Run(FSM fsm)
  11. {
  12. }
  13. //Runs Action on the fixed update
  14. public virtual void FixedRun(FSM fsm)
  15. {
  16. }
  17. }
  18. }