diff options
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs')
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs b/ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs index 8cc245d..67e9a05 100644 --- a/ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs +++ b/ActiveRagdoll/Assets/TABG/Scripts/Action/Movement.cs @@ -1,5 +1,6 @@ using Rigging.Data; using Rigging.Inputs; +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -18,8 +19,6 @@ namespace Rigging.Action public AnimationParam<float> animationForceAmounts; - private AnimationHandler animationHandler; - private RigidbodyHolder allRigs; public AnimationCurve jumpCurve; @@ -30,21 +29,14 @@ namespace Rigging.Action private MovementDataHandler data; - //private PlayerDeath death; - - [HideInInspector] + [HideInInspector, NonSerialized] public float multiplier = 1f; - //private WobbleShake wobbleShake; - protected override void OnStart() { animationForceAmounts.SetPlayer(player); - //wobbleShake = GetComponentInChildren<WobbleShake>(); - //death = GetComponent<PlayerDeath>(); standingData = player.status.standingData; inputHandler = player.input; - animationHandler = player.status.animation; allRigs = player.status.body; data = player.status.movementData; } @@ -64,7 +56,6 @@ namespace Rigging.Action { data.sinceJump = 0f; StartCoroutine(AddJumpForce()); - //wobbleShake.AddShake(Vector3.up * 2f, 0.8f); } } |