mirror of
https://github.com/xiaopeng12138/MaiDXR.git
synced 2025-02-17 11:18:37 +01:00
Add enter button and fix window search issue
This commit is contained in:
parent
6ee963ea2f
commit
644ffe750f
Binary file not shown.
@ -963,15 +963,15 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8258196058206172477, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
value: -0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8258196058206172477, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1.1633
|
||||
value: 1.1685
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8258196058206172477, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0.02
|
||||
value: 0.0343
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8066801168910908481, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_Enabled
|
||||
@ -1155,11 +1155,11 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 795547410136657018, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1.402
|
||||
value: 1.4005
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 795547410136657018, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0.077
|
||||
value: 0.0735
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_Name
|
||||
@ -1177,6 +1177,18 @@ PrefabInstance:
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 30.5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1018638153358675470, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1018638153358675470, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 1.1631
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1018638153358675470, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0.0197
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1121748732791834861, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
propertyPath: m_Enabled
|
||||
value: 0
|
||||
@ -2446,6 +2458,38 @@ MonoBehaviour:
|
||||
scaleControlType: 3
|
||||
scalePer1000Pixel: 1
|
||||
updateScaleForcely: 0
|
||||
--- !u!1 &856927131 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 3300913674446824185, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
m_PrefabInstance: {fileID: 856927026}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &856927132
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 856927131}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 959162235c603d347af0fd284c7d339d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
keyToPress: 13
|
||||
--- !u!64 &856927133
|
||||
MeshCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 856927131}
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 4
|
||||
m_Convex: 0
|
||||
m_CookingOptions: 30
|
||||
m_Mesh: {fileID: -7726249702934650104, guid: ea6463ca199d52046962b69f2ab654ef, type: 3}
|
||||
--- !u!1001 &903004875
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2596,7 +2640,7 @@ Transform:
|
||||
m_GameObject: {fileID: 995594085}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -0.01, y: -0.02, z: 0.06}
|
||||
m_LocalScale: {x: 0.09, y: 0.09, z: 0.09}
|
||||
m_LocalScale: {x: 0.085, y: 0.085, z: 0.085}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 367081678}
|
||||
m_RootOrder: 0
|
||||
@ -2692,7 +2736,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Hand: 3
|
||||
duration: 0.05
|
||||
duration: 0.07
|
||||
amplitude: 1
|
||||
--- !u!1 &1079558957
|
||||
GameObject:
|
||||
@ -2860,7 +2904,7 @@ Transform:
|
||||
m_GameObject: {fileID: 1213452594}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0.01, y: -0.02, z: 0.06}
|
||||
m_LocalScale: {x: 0.09, y: 0.09, z: 0.09}
|
||||
m_LocalScale: {x: 0.085, y: 0.085, z: 0.085}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 141732346}
|
||||
m_RootOrder: 0
|
||||
@ -2956,7 +3000,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Hand: 2
|
||||
duration: 0.05
|
||||
duration: 0.07
|
||||
amplitude: 1
|
||||
--- !u!1 &1278537032 stripped
|
||||
GameObject:
|
||||
|
@ -11,7 +11,7 @@ public class Serial : MonoBehaviour
|
||||
static byte[] touchPacket = new byte[9];
|
||||
static byte[] touchPacketReset = new byte[9];
|
||||
|
||||
static bool startUp = false;
|
||||
static bool startUp = true; //use ture for default start up state to prevent restart game
|
||||
float timer = 0;
|
||||
bool failed = false;
|
||||
byte recivData;
|
||||
@ -93,12 +93,6 @@ public class Serial : MonoBehaviour
|
||||
if (startUp)
|
||||
ByteArrayExt.SetBit(touchPacket, Area+8, State);
|
||||
}
|
||||
|
||||
public static void ResetTouch()
|
||||
{
|
||||
if (startUp)
|
||||
p1Serial.Write(touchPacketReset, 0, 9);
|
||||
}
|
||||
}
|
||||
|
||||
public static class ByteArrayExt
|
||||
|
Loading…
x
Reference in New Issue
Block a user