UnityScripterAI
Discord ↗
Link Copied to Clipboard
×
"get components of object"
using UnityEngine; public class Example : MonoBehaviour { void Start() { HingeJoint[] hinges = GetComponents<HingeJoint>(); for (int i = 0; i < hinges.Length; i ) { hinges[i].useSpring = false; } } }