summaryrefslogtreecommitdiff
path: root/ActiveRagdoll/Assets/TABG/Scripts/Player.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Player.cs')
-rw-r--r--ActiveRagdoll/Assets/TABG/Scripts/Player.cs8
1 files changed, 5 insertions, 3 deletions
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<RigidbodyHolder>();
status.step = GetComponentInChildren<StepHandler>();
status.strength = GetComponentInChildren<Strength>();
- status.input = GetComponentInChildren<InputHandler>();
status.animation = GetComponentInChildren<AnimationHandler>();
actions = new Actions();
@@ -105,6 +105,8 @@ namespace Rigging
body.legRight = GetComponentInChildren<Rigging.BodyPart.LegRight>();
body.torso = GetComponentInChildren<Rigging.BodyPart.Torso>();
+ input = GetComponent<Rigging.Inputs.InputHandler>();
+
}
}