blob: ee3c350e51865736904b040f1730c0df482f9246 (
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
|
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;
}
}
}
|