diff options
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Data')
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs b/ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs index b774c1a..8486c16 100644 --- a/ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs +++ b/ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs @@ -4,11 +4,29 @@ using UnityEngine; namespace Rigging.Data { - + //Player <Strength> 计算一个本角色范围内通行的力量缩放值 public class Strength : RiggingDataBase { + public float strength = 1f; + + public float lookStrenth = 1f; + + //private PlayerDeath death; + + //private RagdollHandler ragdoll; + + private void Start() + { + //ragdoll = GetComponent<RagdollHandler>(); + //death = GetComponent<PlayerDeath>(); + } + private void Update() + { + //strength = ragdoll.notRagdollMultiplier * death.muscleFunction * Mathf.Lerp(base.transform.localScale.x, 1f, 0.4f); + //lookStrenth = ragdoll.notRagdollMultiplier * death.muscleFunction; + } } |