From 0464810f2f83c86560c3422d664380d474cb3e56 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Mon, 15 Apr 2024 21:05:01 +0800 Subject: *misc --- ActiveRagdoll/Assets/TABG/Scripts/Player.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Player.cs') diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Player.cs b/ActiveRagdoll/Assets/TABG/Scripts/Player.cs index b2168df..e07da7f 100644 --- a/ActiveRagdoll/Assets/TABG/Scripts/Player.cs +++ b/ActiveRagdoll/Assets/TABG/Scripts/Player.cs @@ -6,6 +6,7 @@ using Rigging.Action; using Rigging.Camera; using System; using Rigging.BodyPart; +using Rigging.Inputs; namespace Rigging { @@ -25,8 +26,6 @@ namespace Rigging public Strength strength; - public InputHandler input; - public AnimationHandler animation; } @@ -71,6 +70,8 @@ namespace Rigging public BodyParts body; + public Rigging.Inputs.InputHandler input; + private void Awake() { status = new Status(); @@ -80,7 +81,6 @@ namespace Rigging status.body = GetComponentInChildren(); status.step = GetComponentInChildren(); status.strength = GetComponentInChildren(); - status.input = GetComponentInChildren(); status.animation = GetComponentInChildren(); actions = new Actions(); @@ -105,6 +105,8 @@ namespace Rigging body.legRight = GetComponentInChildren(); body.torso = GetComponentInChildren(); + input = GetComponent(); + } } -- cgit v1.1-26-g67d0