Skip to content

Commit 914ffbc

Browse files
author
Joe Ward
committed
Added right and left attachment prefabs; other minor changes.
1 parent f37e819 commit 914ffbc

File tree

8 files changed

+608
-77
lines changed

8 files changed

+608
-77
lines changed

Assets/LeapMotion/Scripts/DetectionUtilities/ExtendedFingerDetector.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ IEnumerator extendedFingerWatcher() {
121121
&& matchFingerState(hand.Fingers[4], Pinky);
122122

123123
int extendedCount = 0;
124-
for (int f = 0; f < 4; f++) {
124+
for (int f = 0; f < 5; f++) {
125125
if (hand.Fingers[f].IsExtended) {
126126
extendedCount++;
127127
}

Assets/LeapMotionModules/Attachments/Prefabs/HandAttachments.prefab Assets/LeapMotionModules/Attachments/Prefabs/HandAttachments-L.prefab

+21-29
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ GameObject:
139139
- 114: {fileID: 11449018}
140140
- 114: {fileID: 11429166}
141141
m_Layer: 0
142-
m_Name: HandAttachments
142+
m_Name: HandAttachments-L
143143
m_TagString: Untagged
144144
m_Icon: {fileID: 0}
145145
m_NavMeshLayer: 0
@@ -311,9 +311,8 @@ MonoBehaviour:
311311
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
312312
m_Name:
313313
m_EditorClassIdentifier:
314-
IsActive: 0
315-
InTransition: {fileID: 0}
316-
OutTransition: {fileID: 0}
314+
DeactivateOnDisable: 1
315+
Transition: {fileID: 0}
317316
--- !u!114 &11429166
318317
MonoBehaviour:
319318
m_ObjectHideFlags: 1
@@ -334,7 +333,8 @@ MonoBehaviour:
334333
Ring: {fileID: 418796}
335334
Pinky: {fileID: 473886}
336335
GrabPoint: {fileID: 454304}
337-
_handedness: 2
336+
_handedness: 0
337+
DrawHand: 0
338338
--- !u!114 &11445584
339339
MonoBehaviour:
340340
m_ObjectHideFlags: 1
@@ -346,9 +346,8 @@ MonoBehaviour:
346346
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
347347
m_Name:
348348
m_EditorClassIdentifier:
349-
IsActive: 0
350-
InTransition: {fileID: 0}
351-
OutTransition: {fileID: 0}
349+
DeactivateOnDisable: 1
350+
Transition: {fileID: 0}
352351
--- !u!114 &11449018
353352
MonoBehaviour:
354353
m_ObjectHideFlags: 1
@@ -371,9 +370,8 @@ MonoBehaviour:
371370
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
372371
m_Name:
373372
m_EditorClassIdentifier:
374-
IsActive: 0
375-
InTransition: {fileID: 0}
376-
OutTransition: {fileID: 0}
373+
DeactivateOnDisable: 1
374+
Transition: {fileID: 0}
377375
--- !u!114 &11453046
378376
MonoBehaviour:
379377
m_ObjectHideFlags: 1
@@ -385,9 +383,8 @@ MonoBehaviour:
385383
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
386384
m_Name:
387385
m_EditorClassIdentifier:
388-
IsActive: 0
389-
InTransition: {fileID: 0}
390-
OutTransition: {fileID: 0}
386+
DeactivateOnDisable: 1
387+
Transition: {fileID: 0}
391388
--- !u!114 &11458088
392389
MonoBehaviour:
393390
m_ObjectHideFlags: 1
@@ -399,9 +396,8 @@ MonoBehaviour:
399396
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
400397
m_Name:
401398
m_EditorClassIdentifier:
402-
IsActive: 0
403-
InTransition: {fileID: 0}
404-
OutTransition: {fileID: 0}
399+
DeactivateOnDisable: 1
400+
Transition: {fileID: 0}
405401
--- !u!114 &11473994
406402
MonoBehaviour:
407403
m_ObjectHideFlags: 1
@@ -413,9 +409,8 @@ MonoBehaviour:
413409
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
414410
m_Name:
415411
m_EditorClassIdentifier:
416-
IsActive: 0
417-
InTransition: {fileID: 0}
418-
OutTransition: {fileID: 0}
412+
DeactivateOnDisable: 1
413+
Transition: {fileID: 0}
419414
--- !u!114 &11478258
420415
MonoBehaviour:
421416
m_ObjectHideFlags: 1
@@ -427,9 +422,8 @@ MonoBehaviour:
427422
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
428423
m_Name:
429424
m_EditorClassIdentifier:
430-
IsActive: 0
431-
InTransition: {fileID: 0}
432-
OutTransition: {fileID: 0}
425+
DeactivateOnDisable: 1
426+
Transition: {fileID: 0}
433427
--- !u!114 &11494032
434428
MonoBehaviour:
435429
m_ObjectHideFlags: 1
@@ -441,9 +435,8 @@ MonoBehaviour:
441435
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
442436
m_Name:
443437
m_EditorClassIdentifier:
444-
IsActive: 0
445-
InTransition: {fileID: 0}
446-
OutTransition: {fileID: 0}
438+
DeactivateOnDisable: 1
439+
Transition: {fileID: 0}
447440
--- !u!114 &11499148
448441
MonoBehaviour:
449442
m_ObjectHideFlags: 1
@@ -455,9 +448,8 @@ MonoBehaviour:
455448
m_Script: {fileID: 11500000, guid: 151c8c2f008764de9a6626d477f47115, type: 3}
456449
m_Name:
457450
m_EditorClassIdentifier:
458-
IsActive: 0
459-
InTransition: {fileID: 0}
460-
OutTransition: {fileID: 0}
451+
DeactivateOnDisable: 1
452+
Transition: {fileID: 0}
461453
--- !u!1001 &100100000
462454
Prefab:
463455
m_ObjectHideFlags: 1

0 commit comments

Comments
 (0)