void Awake() { _transform = transform; _slider = GetComponent <SliderJoint2D>(); _arm_joint = GetComponent <GymanJoint>(); _hand_joint = HandU.GetComponent <GymanJoint>(); _grab = HandU.GetComponent <als_grab>(); _lfinger = FingerL.GetComponent <HingeJoint2D>(); _rfinger = FingerR.GetComponent <HingeJoint2D>(); _update_action = new UnityEngine.Events.UnityAction[] { update__wait_stretch, update__wait_fold }; }
// Use this for initialization void Start() { _parent = GetComponentInParent <als_grab>(); }