private void Awake() { _wristOffset = target as HandWristOffset; _offsetPositionProperty = serializedObject.FindProperty("_offset"); _rotationProperty = serializedObject.FindProperty("_rotation"); _relativeTransformProperty = serializedObject.FindProperty("_relativeTransform"); }
public void InjectAllHandGrabInteractor(HandGrabAPI handGrabApi, IHand hand, Rigidbody rigidbody, GrabTypeFlags supportedGrabTypes, HandWristOffset gripPoint) { InjectHandGrabApi(handGrabApi); InjectHand(hand); InjectRigidbody(rigidbody); InjectSupportedGrabTypes(supportedGrabTypes); InjectGripPoint(gripPoint); }
public void InjectGripPoint(HandWristOffset gripPoint) { _gripPoint = gripPoint; }