diff options
author | chai <215380520@qq.com> | 2024-03-19 10:12:53 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2024-03-19 10:12:53 +0800 |
commit | 999a454764e91714847f531aee13903bfc31b0a9 (patch) | |
tree | c310c29e6f9121d322c41045b267b68b6076e7c7 /ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs | |
parent | fe83481de86efc4890752b4e45b8c190c1e0cfa2 (diff) |
*misc
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs')
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs b/ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs new file mode 100644 index 0000000..ee3c350 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Scripts/Data/RigidbodyHolder.cs @@ -0,0 +1,30 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace Rigging.Data +{ + + // ±£´æËùÓÐ14¸ö¹Ç÷À + public class RigidbodyHolder : MonoBehaviour + { + public Rigidbody[] allRigs; + + //private WeaponHandler weapons; + + private void Start() + { + allRigs = GetComponentsInChildren<Rigidbody>(); + //weapons = GetComponent<WeaponHandler>(); + } + + private void Update() + { + } + + public Rigidbody[] GetAllRigs() + { + return allRigs; + } + } + +}
\ No newline at end of file |