We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3a9791 + 98a1263 commit 316fe8dCopy full SHA for 316fe8d
Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/PressableButtons/PressableButton.cs
@@ -213,7 +213,7 @@ private void Start()
213
Debug.LogWarning("PressableButton will not work if game object layer is set to 'Ignore Raycast'.");
214
}
215
216
- initialOffsetMovingVisuals = PushSpaceSourceTransform.localPosition;
+ initialOffsetMovingVisuals = PushSpaceSourceTransform.position - PushSpaceSourceTransform.parent.position;
217
218
219
void OnDisable()
0 commit comments