Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 198d6c3

Browse files
committed
SOlve bug on right hand disappear
1 parent d9ef74e commit 198d6c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Assets/Example/Scenes/Hand Control Example.unity

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ MonoBehaviour:
407407
- v_sign
408408
- fist
409409
- thumb_up
410+
- swipe_up
410411
--- !u!114 &1978953160
411412
MonoBehaviour:
412413
m_ObjectHideFlags: 0

Assets/IRToolkit/Scripts/HandPositionManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void CheckStateChange(State isLeftHandAppear,State isRightHandAppear)
6666
Boardcast("OnRightHandAppear");
6767
else
6868
Boardcast("OnRightHandDisappear");
69-
rightHandState = isLeftHandAppear;
69+
rightHandState = isRightHandAppear;
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)