diff options
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Action/RiggingActionBase.cs')
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Scripts/Action/RiggingActionBase.cs | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Action/RiggingActionBase.cs b/ActiveRagdoll/Assets/TABG/Scripts/Action/RiggingActionBase.cs new file mode 100644 index 0000000..75adc53 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Action/RiggingActionBase.cs @@ -0,0 +1,47 @@ +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() + { + } + } + +}
\ No newline at end of file |