fr.jeanf.universal.player 0.8.29 → 0.8.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -183,7 +183,7 @@ namespace jeanf.universalplayer
|
|
|
183
183
|
|
|
184
184
|
private void ReceiveGrabSide(string str)
|
|
185
185
|
{
|
|
186
|
-
if (!primaryItem
|
|
186
|
+
if (!primaryItem) return;
|
|
187
187
|
if (str == "RightHand")
|
|
188
188
|
{
|
|
189
189
|
SetIpadStateForASpecificHand(primaryItemPose.leftHandInfo, _leftHand.transform);
|
|
@@ -195,7 +195,7 @@ namespace jeanf.universalplayer
|
|
|
195
195
|
}
|
|
196
196
|
public void SetIpadStateForASpecificHand(string hand)
|
|
197
197
|
{
|
|
198
|
-
if (!primaryItem) return;
|
|
198
|
+
if (!primaryItem || _ipadState != IpadState.Disabled) return;
|
|
199
199
|
if (hand.Contains("LeftHand"))
|
|
200
200
|
{
|
|
201
201
|
SetIpadStateForRightHand(primaryItemPose.rightHandInfo);
|