using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Rigging.Data { //Player 计算一个本角色范围内通行的力量缩放值 public class Strength : RiggingDataBase { public float strength = 1f; public float lookStrenth = 1f; //private PlayerDeath death; //private RagdollHandler ragdoll; private void Start() { //ragdoll = GetComponent(); //death = GetComponent(); } private void Update() { //strength = ragdoll.notRagdollMultiplier * death.muscleFunction * Mathf.Lerp(base.transform.localScale.x, 1f, 0.4f); //lookStrenth = ragdoll.notRagdollMultiplier * death.muscleFunction; } } }