using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Rigging.Action
{

    public class RiggingActionBase : MonoBehaviour
    {
        protected Player player;

        private void Awake()
        {
            player = GetComponentInParent<Player>();
            OnAwake();
        }

        private void Update()
        {
            OnUpdate();
        }

        private void FixedUpdate()
        {
            OnFixedUpdate();
        }

        private void Start()
        {
            OnStart();
        }

        protected virtual void OnAwake()
        {
        }
        protected virtual void OnUpdate()
        {
        }
        protected virtual void OnFixedUpdate()
        {
        }
        protected virtual void OnStart()
        {
        }
    }

}