summaryrefslogtreecommitdiff
path: root/ActiveRagdoll/Assets/TABG/Scripts/Data/Strength.cs
blob: 8486c16b3a7c7e4f10fe128e436176718dbab709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Collections;
using System.Collections.Generic;
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;
        }


    }

}