From 1af7f29945a0ccfc4c67c51d1a53a1d304d3bcdc Mon Sep 17 00:00:00 2001 From: shenjianxing <”315615051@qq.com“> Date: Tue, 25 Mar 2025 11:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Toolkits/UIKit/Example.unitypackage.meta | 7 + .../Scripts/Resources/TuringUIRoot.prefab | 1580 ++++++ .../Resources/TuringUIRoot.prefab.meta | 7 + .../Toolkits/UIKit/Scripts/UIRoot.cs | 5 + .../Toolkits/UIKit/Tests.unitypackage.meta | 7 + Assets/Samples.meta | 8 + Assets/Samples/Turing 3D Core.meta | 8 + Assets/Samples/Turing 3D Core/1.0.0.meta | 8 + .../Samples/Turing 3D Core/1.0.0/Samples.meta | 8 + .../1.0.0/Samples/Materials.meta | 8 + .../1.0.0/Samples/Materials/Blue.mat | 88 + .../1.0.0/Samples/Materials/Blue.mat.meta | 8 + .../1.0.0/Samples/Materials/Green.mat | 83 + .../1.0.0/Samples/Materials/Green.mat.meta | 8 + .../1.0.0/Samples/Materials/Purple.mat | 83 + .../1.0.0/Samples/Materials/Purple.mat.meta | 8 + .../1.0.0/Samples/Materials/Red.mat | 83 + .../1.0.0/Samples/Materials/Red.mat.meta | 8 + .../1.0.0/Samples/Materials/Violet.mat | 83 + .../1.0.0/Samples/Materials/Violet.mat.meta | 8 + .../Turing 3D Core/1.0.0/Samples/Models.meta | 8 + .../1.0.0/Samples/Models/Arrow.fbx | Bin 0 -> 13164 bytes .../1.0.0/Samples/Models/Arrow.fbx.meta | 97 + .../Turing 3D Core/1.0.0/Samples/Scenes.meta | 8 + .../Samples/Scenes/00_BasicScene_Menu.unity | 4595 +++++++++++++++++ .../Scenes/00_BasicScene_Menu.unity.meta | 7 + .../Scenes/01_BasicScene_WithTuring.unity | 659 +++ .../01_BasicScene_WithTuring.unity.meta | 7 + .../Scenes/02_TuringCamera_TuringFrame.unity | 2811 ++++++++++ .../02_TuringCamera_TuringFrame.unity.meta | 7 + .../Samples/Scenes/03_IpointerHandlers.unity | 1977 +++++++ .../Scenes/03_IpointerHandlers.unity.meta | 7 + .../04_TuringPointer_MaxHitDistance.unity | 2157 ++++++++ ...04_TuringPointer_MaxHitDistance.unity.meta | 7 + .../05_TuringPointer_MaxHitRadius.unity | 3787 ++++++++++++++ .../05_TuringPointer_MaxHitRadius.unity.meta | 7 + .../Scenes/06_TuringPointer_IgnoreMask.unity | 2600 ++++++++++ .../06_TuringPointer_IgnoreMask.unity.meta | 7 + .../07_TuringPointer_PriorityMask.unity | 3006 +++++++++++ .../07_TuringPointer_PriorityMask.unity.meta | 7 + .../08_TuringPointer_DefaultDragPolicy.unity | 2251 ++++++++ ...TuringPointer_DefaultDragPolicy.unity.meta | 7 + .../09_TuringPointer_CustomDragPlane.unity | 2358 +++++++++ ...9_TuringPointer_CustomDragPlane.unity.meta | 7 + .../Samples/Scenes/10_TuringFirstPerson.unity | 1834 +++++++ .../Scenes/10_TuringFirstPerson.unity.meta | 7 + .../Turing 3D Core/1.0.0/Samples/Scripts.meta | 8 + .../Scripts/ArrowPointerVisualization.cs | 33 + .../Scripts/ArrowPointerVisualization.cs.meta | 11 + .../Samples/Scripts/DisplayPropertyPrinter.cs | 87 + .../Scripts/DisplayPropertyPrinter.cs.meta | 11 + .../1.0.0/Samples/Scripts/Draggable.cs | 203 + .../1.0.0/Samples/Scripts/Draggable.cs.meta | 11 + .../Samples/Scripts/DraggableCustomPlane.cs | 147 + .../Scripts/DraggableCustomPlane.cs.meta | 11 + .../1.0.0/Samples/Scripts/FramePickerMenu.cs | 61 + .../Samples/Scripts/FramePickerMenu.cs.meta | 11 + .../1.0.0/Samples/Scripts/HighlightOnHover.cs | 56 + .../Samples/Scripts/HighlightOnHover.cs.meta | 11 + .../Samples/Scripts/IPointerHandlerLogger.cs | 41 + .../Scripts/IPointerHandlerLogger.cs.meta | 11 + .../1.0.0/Samples/Scripts/MoveObject.cs | 22 + .../1.0.0/Samples/Scripts/MoveObject.cs.meta | 11 + .../1.0.0/Samples/Scripts/PointerTracer.cs | 108 + .../Samples/Scripts/PointerTracer.cs.meta | 11 + .../Samples/Scripts/PriorityMaskToggle.cs | 58 + .../Scripts/PriorityMaskToggle.cs.meta | 11 + .../1.0.0/Samples/Scripts/RightClickRotate.cs | 19 + .../Samples/Scripts/RightClickRotate.cs.meta | 11 + .../Samples/Scripts/RotatableAndScalable.cs | 230 + .../Scripts/RotatableAndScalable.cs.meta | 11 + .../1.0.0/Samples/Scripts/SceneController.cs | 122 + .../Samples/Scripts/SceneController.cs.meta | 11 + .../Samples/Scripts/StylusLEDFeedback.cs | 71 + .../Samples/Scripts/StylusLEDFeedback.cs.meta | 11 + .../Scripts/StylusVibrationFeedback.cs | 109 + .../Scripts/StylusVibrationFeedback.cs.meta | 11 + .../1.0.0/Samples/Turing.Sample.asmdef | 16 + .../1.0.0/Samples/Turing.Sample.asmdef.meta | 7 + 79 files changed, 31894 insertions(+) create mode 100644 Assets/QFramework/Toolkits/UIKit/Example.unitypackage.meta create mode 100644 Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab create mode 100644 Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab.meta create mode 100644 Assets/QFramework/Toolkits/UIKit/Tests.unitypackage.meta create mode 100644 Assets/Samples.meta create mode 100644 Assets/Samples/Turing 3D Core.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Models.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Models/Arrow.fbx create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Models/Arrow.fbx.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/00_BasicScene_Menu.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/00_BasicScene_Menu.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/01_BasicScene_WithTuring.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/01_BasicScene_WithTuring.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/02_TuringCamera_TuringFrame.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/02_TuringCamera_TuringFrame.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/03_IpointerHandlers.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/03_IpointerHandlers.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/04_TuringPointer_MaxHitDistance.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/04_TuringPointer_MaxHitDistance.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/05_TuringPointer_MaxHitRadius.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/05_TuringPointer_MaxHitRadius.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/06_TuringPointer_IgnoreMask.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/06_TuringPointer_IgnoreMask.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/07_TuringPointer_PriorityMask.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/07_TuringPointer_PriorityMask.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/08_TuringPointer_DefaultDragPolicy.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/08_TuringPointer_DefaultDragPolicy.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/09_TuringPointer_CustomDragPlane.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/09_TuringPointer_CustomDragPlane.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/10_TuringFirstPerson.unity create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scenes/10_TuringFirstPerson.unity.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/ArrowPointerVisualization.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/ArrowPointerVisualization.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/FramePickerMenu.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/FramePickerMenu.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/HighlightOnHover.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/HighlightOnHover.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/IPointerHandlerLogger.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/IPointerHandlerLogger.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/MoveObject.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/MoveObject.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/PointerTracer.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/PointerTracer.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/PriorityMaskToggle.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/PriorityMaskToggle.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/RightClickRotate.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/RightClickRotate.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/RotatableAndScalable.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/RotatableAndScalable.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/SceneController.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/SceneController.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/StylusLEDFeedback.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/StylusLEDFeedback.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/StylusVibrationFeedback.cs create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/StylusVibrationFeedback.cs.meta create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Turing.Sample.asmdef create mode 100644 Assets/Samples/Turing 3D Core/1.0.0/Samples/Turing.Sample.asmdef.meta diff --git a/Assets/QFramework/Toolkits/UIKit/Example.unitypackage.meta b/Assets/QFramework/Toolkits/UIKit/Example.unitypackage.meta new file mode 100644 index 00000000..28fa79a2 --- /dev/null +++ b/Assets/QFramework/Toolkits/UIKit/Example.unitypackage.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 976cb377135fda24791255ebe76b2e57 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab b/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab new file mode 100644 index 00000000..543a604c --- /dev/null +++ b/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab @@ -0,0 +1,1580 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &393539345515768666 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5416027591705738238} + - component: {fileID: 943641143338076124} + - component: {fileID: 5760486628010198106} + m_Layer: 0 + m_Name: ZProvider + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5416027591705738238 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 393539345515768666} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &943641143338076124 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 393539345515768666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2ece34ffbfa3abb4bba858342f374b20, type: 3} + m_Name: + m_EditorClassIdentifier: + displayReferenceProfile: 3 + displayReferenceSize: {x: 0.5977, y: 0.3362} + displayReferenceResolution: {x: 3840, y: 2160} + screenSizeInInch: 0 + portrait: 0 + doubleWidthFlag: 1 +--- !u!114 &5760486628010198106 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 393539345515768666} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &703038500382084863 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8508193098297317467} + - component: {fileID: 7798751856580429168} + m_Layer: 0 + m_Name: Cursor + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8508193098297317467 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 703038500382084863} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 4681155323948863004} + m_Father: {fileID: 6080568899120853703} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &7798751856580429168 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 703038500382084863} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 41c6c02e8ce0fe641a3e2be899f4a31e, type: 3} + m_Name: + m_EditorClassIdentifier: + FlipDuration: 0.1 + SnapDuration: 0.05 + cursorMultiple: 1 +--- !u!1 &1415527739617221884 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1372060658199881816} + - component: {fileID: 1940444843581884560} + - component: {fileID: 2372596777558482015} + m_Layer: 0 + m_Name: ZEventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1372060658199881816 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1415527739617221884} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1940444843581884560 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1415527739617221884} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 10 +--- !u!114 &2372596777558482015 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1415527739617221884} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7660e6f4e71099d4ab29b22023cc04a7, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SendPointerHoverToParent: 1 + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!1 &1575696050932885685 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8684060255739018452} + - component: {fileID: 2681634486908687048} + m_Layer: 0 + m_Name: ZFrame + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8684060255739018452 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1575696050932885685} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -2.25} + m_LocalScale: {x: 15, y: 15, z: 15} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 5728826667600616938} + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &2681634486908687048 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1575696050932885685} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f1bb5088fdde4dfe8fc007cd266ad24e, type: 3} + m_Name: + m_EditorClassIdentifier: + ViewerScale: 15 +--- !u!1 &1786791119020729706 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5714635882356047817} + - component: {fileID: 8875626003724390953} + m_Layer: 0 + m_Name: StylusRoot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5714635882356047817 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1786791119020729706} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1959269300948834137} + m_Father: {fileID: 3575489315677848625} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &8875626003724390953 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1786791119020729706} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 78bd7dd29eb6eb6419cb71d59ff8fdc2, type: 3} + m_Name: + m_EditorClassIdentifier: + CurveStartPivot: 0.5 + EndPointSmoothTime: 0 +--- !u!1 &1872662176820263159 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4681155323948863004} + - component: {fileID: 8009830141474313921} + m_Layer: 0 + m_Name: Sprite + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4681155323948863004 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1872662176820263159} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.01, y: 0.01, z: 0.01} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8508193098297317467} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &8009830141474313921 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1872662176820263159} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 257 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: f8d699050b52a5d4b9723beff552d3b7, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 0 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Sprite: {fileID: 21300000, guid: 4f85c6ddbfc050e45bb9f42065335148, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 12, y: 19} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 + m_SpriteSortPoint: 0 +--- !u!1 &2204498251796384840 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 589906243851748108} + - component: {fileID: 5925789499923357028} + - component: {fileID: 1897932439047681754} + - component: {fileID: 5925063392544471581} + - component: {fileID: 5497114332070106473} + m_Layer: 0 + m_Name: Camera + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &589906243851748108 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2204498251796384840} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0.6857665} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 792273720784494827} + m_Father: {fileID: 1110872368399341694} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!20 &5925789499923357028 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2204498251796384840} + m_Enabled: 0 + serializedVersion: 2 + m_ClearFlags: 4 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_projectionMatrixMode: 0 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 4.51 + far clip plane: 1000 + field of view: 30 + orthographic: 0 + orthographic size: 5 + m_Depth: 2 + m_CullingMask: + serializedVersion: 2 + m_Bits: 0 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 0.6857665 + m_StereoSeparation: 0.00064999994 +--- !u!81 &1897932439047681754 +AudioListener: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2204498251796384840} + m_Enabled: 1 +--- !u!114 &5925063392544471581 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2204498251796384840} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9454cf5c5d7dd474ab4b1ee1113372ec, type: 3} + m_Name: + m_EditorClassIdentifier: + enableStereo: 1 + fovScaleFactor: 1 + stereoToMonoDelay: 5 + stereoToMonoDuration: 1 + monoToStereoDuration: 1 + leftCamera: {fileID: 4319845310448798838} + rightCamera: {fileID: 7916350301946161488} + debugMode: 0 + showGizmos: 1 + viewDistance: 0.5 + stereoMode: 1 + iP: 127.0.0.1 + trackingMethod: 0 + eyeTrackFOVHor: 40 + eyeTrackFOVVer: 51.5 + compensationParam: 0.5 + useStereobasis: 1 + ignoreHeadRotation: 1 + trueScreenSize: 0 + VirtualScreenWidth: 20 + FrustumSyncEnable: 1 + NearClamp: 0.4 + ExitBypass2DSwitch: 0 + ClearScreenWhileSwitch: 0 + GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + ScriptsToCopy: [] + curHeadMoveCompensationParam: 0.5 + StereoRigs: {fileID: 3344223064141647530} + HoldBeforeSwitch3DOn: 0 + screenCapType: 0 + _antiAliasing: 1 + SmoothedHeadTilt: 0 + NoneSmoothedHeadTilt: 0 + eyeTrackingMethod: 1 + usedShader: 10 + trackingDevice: 2 + EyeTrackingSwitch: 0 +--- !u!114 &5497114332070106473 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2204498251796384840} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 937d4c065d91fed45ba17c034b7267aa, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &2823787777299435728 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6541928711621635503} + - component: {fileID: 960705820696497904} + m_Layer: 0 + m_Name: TuringUIRoot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6541928711621635503 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2823787777299435728} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 5416027591705738238} + - {fileID: 8684060255739018452} + - {fileID: 1110872368399341694} + - {fileID: 6080568899120853703} + - {fileID: 1372060658199881816} + - {fileID: 9011840178504329724} + - {fileID: 3575489315677848625} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &960705820696497904 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2823787777299435728} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d2db7fffd623c478eba3d2cb84034d2f, type: 3} + m_Name: + m_EditorClassIdentifier: + UICamera: {fileID: 0} + Canvas: {fileID: 0} + CanvasScaler: {fileID: 0} + GraphicRaycaster: {fileID: 0} + Bg: {fileID: 0} + Common: {fileID: 0} + PopUI: {fileID: 0} + RightBottom: {fileID: 0} + CanvasPanel: {fileID: 0} +--- !u!1 &3262744206618492641 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9011840178504329724} + - component: {fileID: 6180472470065679576} + m_Layer: 0 + m_Name: ZTouch + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &9011840178504329724 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3262744206618492641} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &6180472470065679576 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3262744206618492641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f7a40f017c8d8844f89f088cead2735e, type: 3} + m_Name: + m_EditorClassIdentifier: + EventCamera: {fileID: 5925063392544471581} + Visualization: {fileID: 0} + MaxHitDistance: 1 + MaxHitRadius: 0 + IgnoreMask: + serializedVersion: 2 + m_Bits: 0 + PriorityMask: + serializedVersion: 2 + m_Bits: 0 + DefaultCollisionPlane: 0 + DefaultDragPolicy: 0 + ObjectDragPolicy: 1 + UIDragPolicy: 2 + ClickTimeThreshold: 0.3 + ScrollMetersPerUnit: 0.01 + OnObjectEntered: + m_PersistentCalls: + m_Calls: [] + OnObjectExited: + m_PersistentCalls: + m_Calls: [] + OnButtonPressed: + m_PersistentCalls: + m_Calls: [] + OnButtonPressing: + m_PersistentCalls: + m_Calls: [] + OnButtonReleased: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &3344223064141647530 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 792273720784494827} + m_Layer: 0 + m_Name: StereoRigs + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &792273720784494827 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3344223064141647530} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 7562002168991153893} + - {fileID: 1161662736083526611} + m_Father: {fileID: 589906243851748108} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &3769836291893633373 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3575489315677848625} + - component: {fileID: 176631871622734874} + m_Layer: 0 + m_Name: ZStylus + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3575489315677848625 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3769836291893633373} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 5714635882356047817} + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &176631871622734874 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3769836291893633373} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ae5a4291785fe9942b0a75cb9aaac6e3, type: 3} + m_Name: + m_EditorClassIdentifier: + EventCamera: {fileID: 5925063392544471581} + Visualization: {fileID: 8875626003724390953} + MaxHitDistance: 0.5 + MaxHitRadius: 0.001 + IgnoreMask: + serializedVersion: 2 + m_Bits: 0 + PriorityMask: + serializedVersion: 2 + m_Bits: 0 + DefaultCollisionPlane: 0 + DefaultDragPolicy: 0 + ObjectDragPolicy: 1 + UIDragPolicy: 2 + ClickTimeThreshold: 0.3 + ScrollMetersPerUnit: 0.01 + OnObjectEntered: + m_PersistentCalls: + m_Calls: [] + OnObjectExited: + m_PersistentCalls: + m_Calls: [] + OnButtonPressed: + m_PersistentCalls: + m_Calls: [] + OnButtonPressing: + m_PersistentCalls: + m_Calls: [] + OnButtonReleased: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &4195694682890973798 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7562002168991153893} + - component: {fileID: 4319845310448798838} + m_Layer: 0 + m_Name: Left + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &7562002168991153893 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4195694682890973798} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.00032499997, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 792273720784494827} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!20 &4319845310448798838 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4195694682890973798} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: 0.2830189, g: 0.2830189, b: 0.2830189, a: 0} + m_projectionMatrixMode: 0 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 4.51 + far clip plane: 1000 + field of view: 30 + orthographic: 0 + orthographic size: 5 + m_Depth: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!1 &5049654059146453590 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5728826667600616938} + - component: {fileID: 4546480220757379083} + m_Layer: 0 + m_Name: TuringDisplayAligner + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &5728826667600616938 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5049654059146453590} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.1681, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8684060255739018452} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &4546480220757379083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5049654059146453590} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 89372277a385485db7fab9838202270d, type: 3} + m_Name: + m_EditorClassIdentifier: + OverrideAngle: 0 + ClampAngle: 0 + _angle: 90 + MinAngle: 0 + MaxAngle: 90 + Pivot: 0 +--- !u!1 &5338436655984606600 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6620392700011471705} + - component: {fileID: 8091742595604355128} + - component: {fileID: 701706968801809280} + m_Layer: 5 + m_Name: Text (Legacy) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6620392700011471705 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5338436655984606600} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 444606542723838607} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8091742595604355128 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5338436655984606600} + m_CullTransparentMesh: 1 +--- !u!114 &701706968801809280 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5338436655984606600} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 40 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Back +--- !u!1 &6451721707639189996 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6080568899120853703} + - component: {fileID: 112355557566510788} + m_Layer: 0 + m_Name: ZMouse + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &6080568899120853703 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6451721707639189996} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 8508193098297317467} + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &112355557566510788 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6451721707639189996} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0f59d3632c199cd43b9030b8f6d29590, type: 3} + m_Name: + m_EditorClassIdentifier: + EventCamera: {fileID: 5925063392544471581} + Visualization: {fileID: 7798751856580429168} + MaxHitDistance: 1 + MaxHitRadius: 0 + IgnoreMask: + serializedVersion: 2 + m_Bits: 0 + PriorityMask: + serializedVersion: 2 + m_Bits: 0 + DefaultCollisionPlane: 0 + DefaultDragPolicy: 3 + ObjectDragPolicy: 3 + UIDragPolicy: 2 + ClickTimeThreshold: 0.3 + ScrollMetersPerUnit: 0.01 + OnObjectEntered: + m_PersistentCalls: + m_Calls: [] + OnObjectExited: + m_PersistentCalls: + m_Calls: [] + OnButtonPressed: + m_PersistentCalls: + m_Calls: [] + OnButtonPressing: + m_PersistentCalls: + m_Calls: [] + OnButtonReleased: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &6701828151747080260 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7859863429402325796} + - component: {fileID: 2063686262854018744} + - component: {fileID: 1361591515749850094} + - component: {fileID: 48178502546554140} + m_Layer: 5 + m_Name: Canvas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7859863429402325796 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6701828151747080260} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.00015565104, y: 0.00015564814, z: 0.00015564814} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 444606542723838607} + m_Father: {fileID: 1110872368399341694} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 3840, y: 2160} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!223 &2063686262854018744 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6701828151747080260} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 5925789499923357028} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 0 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!114 &1361591515749850094 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6701828151747080260} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5b0df1116924a1148b6e27c4ea5f14c8, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &48178502546554140 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6701828151747080260} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7d38b50e4d8cf5e4c9f3c3d57b6e4f09, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!1 &6976392999466041413 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1110872368399341694} + - component: {fileID: 7243612569889734588} + m_Layer: 0 + m_Name: ZCameraRig + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1110872368399341694 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6976392999466041413} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 2.5215, z: -2.25} + m_LocalScale: {x: 15, y: 15, z: 15} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 7859863429402325796} + - {fileID: 589906243851748108} + m_Father: {fileID: 6541928711621635503} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &7243612569889734588 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6976392999466041413} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5b26cf029b6c4f5dacc0fad89b8cc5f2, type: 3} + m_Name: + m_EditorClassIdentifier: + frame: {fileID: 2681634486908687048} + isFirstPerson: 0 + ViewerScale: 15 +--- !u!1 &8674805622659466367 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1161662736083526611} + - component: {fileID: 7916350301946161488} + m_Layer: 0 + m_Name: Right + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1161662736083526611 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8674805622659466367} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.00032499997, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 792273720784494827} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!20 &7916350301946161488 +Camera: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8674805622659466367} + m_Enabled: 0 + serializedVersion: 2 + m_ClearFlags: 2 + m_BackGroundColor: {r: 0.2830189, g: 0.2830189, b: 0.2830189, a: 0} + m_projectionMatrixMode: 0 + m_GateFitMode: 2 + m_FOVAxisMode: 0 + m_Iso: 200 + m_ShutterSpeed: 0.005 + m_Aperture: 16 + m_FocusDistance: 10 + m_FocalLength: 50 + m_BladeCount: 5 + m_Curvature: {x: 2, y: 11} + m_BarrelClipping: 0.25 + m_Anamorphism: 0 + m_SensorSize: {x: 36, y: 24} + m_LensShift: {x: 0, y: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0.5 + y: 0 + width: 0.5 + height: 1 + near clip plane: 4.51 + far clip plane: 1000 + field of view: 30 + orthographic: 0 + orthographic size: 5 + m_Depth: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RenderingPath: -1 + m_TargetTexture: {fileID: 0} + m_TargetDisplay: 0 + m_TargetEye: 3 + m_HDR: 0 + m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 +--- !u!1 &8829221766569786687 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 444606542723838607} + - component: {fileID: 4939767628009695703} + - component: {fileID: 1078161057564603551} + - component: {fileID: 6217906819348699393} + - component: {fileID: 5775753514262210415} + m_Layer: 5 + m_Name: Back + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &444606542723838607 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8829221766569786687} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 6620392700011471705} + m_Father: {fileID: 7859863429402325796} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -80.3, y: -90.7} + m_SizeDelta: {x: 300, y: 60} + m_Pivot: {x: 1, y: 1} +--- !u!222 &4939767628009695703 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8829221766569786687} + m_CullTransparentMesh: 1 +--- !u!114 &1078161057564603551 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8829221766569786687} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6217906819348699393 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8829221766569786687} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1078161057564603551} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 5775753514262210415} + m_TargetAssemblyTypeName: SceneController, Assembly-CSharp + m_MethodName: BackMenu + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &5775753514262210415 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8829221766569786687} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 053bdd518bc177d44a08336ff25e3412, type: 3} + m_Name: + m_EditorClassIdentifier: + sceneIndex: 1 +--- !u!1 &8934204629910414663 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1959269300948834137} + - component: {fileID: 8096948525636173657} + m_Layer: 0 + m_Name: Line + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1959269300948834137 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8934204629910414663} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5714635882356047817} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!120 &8096948525636173657 +LineRenderer: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8934204629910414663} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 0 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 257 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 4173eaedac136414391ced543e94042d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Positions: + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + m_Parameters: + serializedVersion: 3 + widthMultiplier: 0.001 + widthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + colorGradient: + serializedVersion: 2 + key0: {r: 0.0990566, g: 0.47622165, b: 1, a: 1} + key1: {r: 0.09803922, g: 0.4745098, b: 1, a: 1} + key2: {r: 0, g: 0, b: 0, a: 0} + key3: {r: 0, g: 0, b: 0, a: 0} + key4: {r: 0, g: 0, b: 0, a: 0} + key5: {r: 0, g: 0, b: 0, a: 0} + key6: {r: 0, g: 0, b: 0, a: 0} + key7: {r: 0, g: 0, b: 0, a: 0} + ctime0: 0 + ctime1: 65535 + ctime2: 0 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 65535 + atime2: 0 + atime3: 0 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_ColorSpace: 0 + m_NumColorKeys: 2 + m_NumAlphaKeys: 2 + numCornerVertices: 0 + numCapVertices: 0 + alignment: 0 + textureMode: 0 + textureScale: {x: 1, y: 1} + shadowBias: 0.5 + generateLightingData: 0 + m_MaskInteraction: 0 + m_UseWorldSpace: 0 + m_Loop: 0 + m_ApplyActiveColorSpace: 0 diff --git a/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab.meta b/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab.meta new file mode 100644 index 00000000..8192374b --- /dev/null +++ b/Assets/QFramework/Toolkits/UIKit/Scripts/Resources/TuringUIRoot.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2e782d7cb70e31f4aa2f1ca034e229c5 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/QFramework/Toolkits/UIKit/Scripts/UIRoot.cs b/Assets/QFramework/Toolkits/UIKit/Scripts/UIRoot.cs index f870d26f..c51e8f96 100644 --- a/Assets/QFramework/Toolkits/UIKit/Scripts/UIRoot.cs +++ b/Assets/QFramework/Toolkits/UIKit/Scripts/UIRoot.cs @@ -57,8 +57,13 @@ namespace QFramework { string uiroot = "UIRoot"; #if VR +#if Turing + uiroot = "TuringUIRoot"; +#else uiroot = "VRUIRoot"; #endif +#endif + Instantiate(Resources.Load(uiroot)); mInstance = MonoSingletonProperty.Instance; mInstance.name = "UIRoot"; diff --git a/Assets/QFramework/Toolkits/UIKit/Tests.unitypackage.meta b/Assets/QFramework/Toolkits/UIKit/Tests.unitypackage.meta new file mode 100644 index 00000000..c6cc42c5 --- /dev/null +++ b/Assets/QFramework/Toolkits/UIKit/Tests.unitypackage.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5176cd918f52ea842b73948dd3bc26a8 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples.meta b/Assets/Samples.meta new file mode 100644 index 00000000..35e62c39 --- /dev/null +++ b/Assets/Samples.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d75e219fe3662394a866defedf22285b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core.meta b/Assets/Samples/Turing 3D Core.meta new file mode 100644 index 00000000..2b539105 --- /dev/null +++ b/Assets/Samples/Turing 3D Core.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c2b496320c3ca5a498a00511ec4d21ac +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0.meta b/Assets/Samples/Turing 3D Core/1.0.0.meta new file mode 100644 index 00000000..74a7a405 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 71ee6d600cb7486408ec782da7d19140 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples.meta new file mode 100644 index 00000000..aa540523 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: df2e337b25d2a0649b03722ffef741fc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials.meta new file mode 100644 index 00000000..39f2a845 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4bf284833e94d2444b9ecfdcee7719f9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat new file mode 100644 index 00000000..b46835ce --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat @@ -0,0 +1,88 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Blue + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.27901387, g: 0.3283497, b: 0.6226415, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat.meta new file mode 100644 index 00000000..8200ee27 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Blue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 094ef066ccea0204c94381d289aae54a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat new file mode 100644 index 00000000..1b4147f5 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Green + m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.28746885, g: 0.6415094, b: 0.33287004, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat.meta new file mode 100644 index 00000000..f919eae3 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Green.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4452f0e780f87f74ebd79a9f14fc5535 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat new file mode 100644 index 00000000..b92b50cb --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Purple + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.48141107, g: 0.29076183, b: 0.6226415, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat.meta new file mode 100644 index 00000000..160cc574 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Purple.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8d96716216e18c9429f51f9b62be9b4d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat new file mode 100644 index 00000000..e94498b1 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Red + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.7169812, g: 0.253649, b: 0.253649, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat.meta new file mode 100644 index 00000000..ef5493e9 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Red.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b81b770a5a4693d47b117a3b014a9c3a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat new file mode 100644 index 00000000..f36fc520 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Violet + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.6981132, g: 0.26673195, b: 0.6565333, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat.meta new file mode 100644 index 00000000..d4970599 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Materials/Violet.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 79d24610ff4985241a9a9f97447414e9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Models.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Models.meta new file mode 100644 index 00000000..b2601c6b --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Models.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ffa0ee287f7064a48b74d78f88202bf3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Models/Arrow.fbx b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Models/Arrow.fbx new file mode 100644 index 0000000000000000000000000000000000000000..3611bc8580e04628618d3aa8a4ac014b2bdb97a4 GIT binary patch literal 13164 zcmc&*30zah)(;{DToCsK6zWn}5EMm3p#cPsA}acius;s+v#3qF=$QQ6@;=iUk2Cnu@Rs7N8Q_H_Hi+D#%8DdMcHd4qVxmONgFF|WDwf_8686iO*(#HuKnQbNlXL8Ad& zMsS%oHwRG)Y!s9j@_4bF9$lb^rVYWjaoWsg$i#{`xeDk4;^dS7ns_S^nv|aI3QEMZ zN+KztN)#!-1udGfjhkU%$ful!&hsgeLQn);)N^W$d})~~LV&#W1PBd^p@%3=&;=?- zawJw2<_m(O-ji?-qxd(Dp81(Vl*W1A8l=8J;8R09aKk!SWmXYX9rt*2ir-3 zz)~lm8wr=GP)x}vfh>#`_Jv0;DIFq`;v>(XrNsnV0+p1)L!=Uo07{q$uRC0wQ3*nB zs|#sGRX2+}6due#9Sl zSJ;My#HJINY0w5RX4pj`?g-L<0jV>P4`-23TmA}3IILhPqdH(wPDjZ?*=ay4&jY$6 z3qEkc*n{9lLy^Fj%cT-Av&MqJ>Ojt1j-V%x#pwli8oTsFc!p#*LH37MKpp@;ts(n~ zVD+|++ny^x8p116F&=moNqNJZNJdpaBR%=bFR)sI)O9Cx_q2I)C+- zG5;D{|MEQPhpczgig+kCG&37Jd-!K zLWVIC$S@icGD)~hKdAvM4jgeDONvXyQvrcq|DX^pc&>yJLoN)8o}z`a&2i)29oL

-{uX(gGe{;7Q&@-| z@DnJLsDxsXl=2jbRS-i^@1b-QBrnXZUsPlWQMU)QK&f!ONl-q9CzuFYdh`!i2!Sc+A~gFE=6b&sM_?kIbmG8wH?ZXFgoSLOiH2QIu5W z4iQZu(&39RZG;peG)fFf+-yjT<&f7%qN%+EZUhU5bHZrjONUZI^!Ai2DzYWg2rwo* zBP0`960}hy5z0j}NQV_FhL>4P6(TS<@XLgH{N;TFqCgfVzy&OzU|IlZxla0D?iXLc zWhf=|9A&#lDOGf&rvgMU7XoJ6%AWEu0O=^{$Py{0nsi8+2BV^1z?mDlL%N}2+{6Ls zj7ipDxJ)#ieR>s4L{ah>UYI1ea}`U0BI5TLknv z+M$Aa7XSy+D(MjXuo4;IqM`P@C_0i-DdG;bj&p#JqWzka^gJ$rij+&y0&(SghQ#_( z%7|19u%u`y+y(p;_T$3^3P(M*?Haz{j^%}`$2&J)5jYPP4w2p5=vdewGQK7VRy?hk z=)o)w_CW|;^f{ZyIuJ#%9YwSPSsmYp>&K=7u{w;H;$zPrg(EHF$M0gElTLwp0W^Z8?6Yv z6W5B6Q*@=$3YYL_nNL5xGB_+EenhLuKUO3Rc zr5g_Ido1e<`hh#Xx@!ryoQ0-6<4<()>HrA}%1I~Xd|i~XwkQ|qqTH{aQWUFmwvXGQ z)Hz#ASfP6O6vgVCZ2+Ojso9K&TRD|{QF!-GIr;kZ-Q&_T*3raWndk0er} z@|Q_lb-d7@S4c3NSqxYzEf^|ESeT4bDnDsE>EiLmz@8V`*9SDeJwVEK04-<_&`|

iuCA((Sj=P|EKt(1;vrM8NZ$_2Kbgt;5ddYMy=VHBN zI@hultU_Ir)Z=!7^pfeEzr%o!Js`JuE zrBic>x~cS7SDHR5oilu)k4onZz2RIDwLJ$e2ucu6HM=c|n3FMdH2K^^;Qd&5%(}>C zP9oNLgN|Z15o});8xs2#Y+?uPf#w)gvx&LGAp+V63DuZ0gYkR7E5^AZSvb|M2%DlG zqg}!Ex_*py#nm1|-sMFU`}cSe>c?moFI)9vw2PN~g5lJna-tV_%SOq5RN1l5y8#rzFXH8JY#=XWq$i%^Ati4kf7i-}np=h*J8$5s#> zhO_iDSbErdap-ggvqvHL&`&;sst(IZQ@TB-9A zyw$PG&)vRr_S12Toy@$ddT(&PeDU^1^Lfv-W<>0l6hgy zsmB=w{ijriep`}x(4yMNHeq3M;lhkRy($hgoT#*J?6);xoNfJ~9R~NO`xf2*D!*rS z#Grkao1)b&lZNz6sVYDFI6Se!cwgM%g1aWW>eF{+?Q6Q;n3}mXV_@(PX_>nd98y2p zncCn`Zmx70w68ub-^w-k>1j6?LG=^Ido?$vPOp>vFe=$)M)020ljm2?d$wSW zJ*wNC+~fW;e*L_iy(`u&-_elF8>m`jST>T?ixudl*KArE7f#DiX;duZvLxGx-g+^5 zv)TA`riZA{j3a|{b`}lDdHC@4)uBT}stl_;4;?!6&-2bpFV-B*Sst0)5VmEw;IAJo zGw(W_cgsc8n2R7jtyBMM>lZh>O)JPhd7;m= z!szq!SBEEj@oLBX^j}j1r<~F+H5`#u%GZTo^^4toYD?nn+-oO`r-#P8vb{rRsIAYX zRc*Y^vdo26DB6kmm?hE{zIE~6Qt;gnJ$Cj!fW-&lk0 zmrTd5f*!x$8t4{b;r7Mqu*cf8*(A+vydn z`^}fG-TU2q+3IhD22PM(Ub6JyiR^d_>G5k}3#F5m>?n&Kkajoy(~n9|{<^r%=YQ0n zuQGEg{o<#MPUZjj+Rv$MeOk7YdgVIX?Gwt5jXiwk*%=GjnWrZQ#^goaO6)Q1)m5?o zwAVM3<1=3Uwv^6zoxR*D;nlV9;DpyVV_fTBU8j@lU*9^|WaDY&>PA5jYx6pXT>o6f{_H8agv?@38w^Qj1%qe!e2P98SFP8#=&a zK1Rf^1UV2Cr@PcRznfW&`HDh+R%FwIufKyF@Kj41? z?G;&e=Jz)J)j2cEA|j%4%&Fg>^c^kVx^ieePZfUX6H(+>119=}$wh*ayZPlir75$| z`kfs#$jvI#wJG}Lt1Dxt&w4qkv1yI^mT}3YcxTIbdGl5Wi~VL~T-b2G&a!68;zIt@ zKVlm!*SZ|Yut~4;c5zC5x&QpE9(CsmuO*5WJq@frVY5L!@{jG6jeC`SzkX8hy{&fo zrI#5mryp&&vZ+4juzX#~y}PQ7>ZgJ617fV!dKbQ2wspvx>-Amc#q~9Nbo0#qMw|FA ztnOwuc^5f#I$e``%AAVs-X2x{pQ@=>>YBPt%c1MDw^nyuBPpEbWcwl{)$RV^A$LV*maQ0BmvEu~ z{fi0w9z|EZeyVf(^z*bKMFv*#%eS|c6xBR?{jb`+4cpu{RZY5I^mFR|;B`ZapHCfi z-ke|Lv#Ij7)4>{O4I7fX>(-qA^sf|8+>kbPdE;eq;;|F|UU*SykYhUK570(S3Ab%A zB{QzM1qKPQmz-mcTBf#+G+^LnO${wJFbM1`i!}XBd#fR2ctot*-f(BjxX1vSHM^NM zEC+62VVwelLXSZQw75x(#eMs={Srg_J|0ouOc#{Sx_ZKFvtj9+MPs9CBlFHK`}()e zovwU#wdX$vm;Lp~Y)wJraJhi8yEfZ-xpu` zUltyUd2IiDm(kM31tpFp8;(_us~2YX|1)J%?TqzFH+S1MHe{u}`Sy2p{2#7+R6n`g z4^|{qBvsFkqWvmf#8fAKZ&faQSSfXxtS%f-f2K!GRPuL^4#chSuP?t-6?&|nkE^pi`#ijddKc&|;%yF$Zb>H;tp;hgOqLcU8>3H-CBj!(LmCd%bFKUHg3d>9C}t8+ECbyK>D|7IZPpTT^M;wAoI% zI4fwIlYfZwjUP((UnuSA<^AEh8TUR5oA+^_uxR%uqA!H%}l0|ZU`oha&GL}`DI>D$H=}F2rI~Jy29y?jS!8ShqqDAAJEa!d&H;qH& z>fVC%s?`p8bt~wzRb3xN(^i@1))-cwbW9mw5T86S1~_ghDoFLvy3p8-nDxReldYU( z)VxeWp^pLd*OYGD^_4>?;C!5XsEl^c?ZLXxR~+OnczPPjD1;eR1I+w}>l(?0Oc`FV zk&(>a8YwVn0f#NUqi7AO^-yKcCc%(~^5ENacysOJeEbRSKX^=ZX~}?@#^&_*4rl0Q z(G>$#JOFBnR$lA{FI@gF_EV=_v^G|s1@G^Pme_s0;@$32I08 zQ}aJ2n4B9&5D!{m$9KOtwMc>j2^H=iyTVT!C-rFkTID-{&@72AzVJ1fq-9+k<+PbH zZ2_XC?0<~-l{9q%Fk}1*1F{l#ga4A+9$4!h1^?dwzC_0uL+;^Cz1HAb4>6p*Syy*j zCc_Wa;5#9AsK@;oykFoMxC?PafB$Cd^wD4}X| +// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved. +// +//----------------------------------------------------------------------- + +using UnityEngine; + +using Turing.Core.TuringInput; + +namespace Turing.Samples +{ + public class ArrowPointerVisualization : TuringPointerVisualization + { + //////////////////////////////////////////////////////////////////////// + // Public Methods + //////////////////////////////////////////////////////////////////////// + + public override void Process(TuringPointer pointer, Vector3 worldScale) + { + base.Process(pointer, worldScale); + + this.transform.localPosition = + Vector3.forward * pointer.HitInfo.distance; + + if (pointer.HitInfo.worldNormal != Vector3.zero) + { + this.transform.rotation = Quaternion.LookRotation( + Vector3.zero - pointer.HitInfo.worldNormal, Vector3.up); + } + } + } +} diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/ArrowPointerVisualization.cs.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/ArrowPointerVisualization.cs.meta new file mode 100644 index 00000000..7e273e05 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/ArrowPointerVisualization.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: be1e7298d21476a4c81c51bf2f451cbb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs new file mode 100644 index 00000000..e8e4afa0 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs @@ -0,0 +1,87 @@ +//----------------------------------------------------------------------- +// +// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved. +// +//----------------------------------------------------------------------- + +using System; +using UnityEngine; +using UnityEngine.UI; + +using Turing.Core.Utility; + +namespace Turing.Samples +{ + public class DisplayPropertyPrinter : MonoBehaviour + { + //////////////////////////////////////////////////////////////////////// + // Monobehaviour Callbacks + //////////////////////////////////////////////////////////////////////// + + void Start() + { + this._text = this.gameObject.GetComponent(); + this.UpdateValues(); + } + + //////////////////////////////////////////////////////////////////////// + // Public Methods + //////////////////////////////////////////////////////////////////////// + + public void UpdateValues() + { + this._text.text = "Display Properties\n" + + "\nZProvider" + + "\nDisplayReferenceSize: {0}" + + "\nDisplayReferenceResolution: {1}" + + "\nDisplaySize: {2}" + + "\nDisplayResolution: {3}" + + "\nDisplayMetersPerPixelForReferenceResolution: {4}" + + "\nDisplayMetersPerPixelForNativeResolution: {5}" + + "\nDisplayScale: {6}" + + "\nDisplayScaleFactor: {7}" + + "\nWindowSize: {8}" + + "\nWindowSizePixelsForReferenceResolution: {9}" + + "\nWindowSizePixelsForNativeResolution: {10}" ; + + this._text.text = string.Format(this._text.text, + TuringProvider.DisplayReferenceSize.ToString("N5"), + TuringProvider.DisplayReferenceResolution.ToString(), + TuringProvider.DisplaySize.ToString("N5"), + TuringProvider.DisplayResolution.ToString(), + TuringProvider.DisplayMetersPerPixelForReferenceResolution + .ToString("N8"), + TuringProvider.DisplayMetersPerPixelForNativeResolution + .ToString("N8"), + TuringProvider.DisplayScale.ToString("N5"), + TuringProvider.DisplayScaleFactor, + TuringProvider.WindowSize.ToString("N8"), + TuringProvider.WindowSizePixelsForReferenceResolution.ToString(), + TuringProvider.WindowSizePixelsForNativeResolution.ToString()); + // this.DisplayAttributesAsString(TuringProvider.CurrentDisplay)); + } + + //////////////////////////////////////////////////////////////////////// + // Private Methods + //////////////////////////////////////////////////////////////////////// + + // private string DisplayAttributesAsString(TuringDisplay display) + // { + // string attributeString = ""; + // foreach (ZDisplayAttribute attribute in + // Enum.GetValues(typeof(ZDisplayAttribute))) + // { + // attributeString += attribute.ToString() + ": " + + // display.GetAttribute(attribute) + "\n"; + // } + // return attributeString; + // } + + //////////////////////////////////////////////////////////////////////// + // Private Members + //////////////////////////////////////////////////////////////////////// + + private TuringDisplay _display; + private Text _text; + } +} diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs.meta new file mode 100644 index 00000000..7f3392a2 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DisplayPropertyPrinter.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c9a3d1d14a3e12c42b2f18530dc97f59 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs new file mode 100644 index 00000000..96934e3b --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs @@ -0,0 +1,203 @@ +//----------------------------------------------------------------------- +// +// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved. +// +//----------------------------------------------------------------------- + +using Turing.Core.EventSystems; +using Turing.Core.TuringInput; +using Turing.Core.Utility; +using UnityEngine; +using UnityEngine.EventSystems; + + +namespace Turing.Samples +{ + public class Draggable : + TuringPointerInteractable, IBeginDragHandler, IDragHandler, IEndDragHandler + { + [Tooltip("Change Drag Button")] + public PointerEventData.InputButton dragTargetButton = PointerEventData.InputButton.Left; + + //////////////////////////////////////////////////////////////////////// + // Private Members + //////////////////////////////////////////////////////////////////////// + + private Vector3 _initialGrabOffset = Vector3.zero; + private Quaternion _initialGrabRotation = Quaternion.identity; + private bool _isKinematic = false; + + private Transform originParent; + + private Transform grab; + private Transform grabRotate; + + private float distance; + //////////////////////////////////////////////////////////////////////// + // Public Methods + //////////////////////////////////////////////////////////////////////// + + public override TuringPointer.DragPolicy GetDragPolicy(TuringPointer pointer) + { + if (pointer is TuringMouse) + { + return TuringPointer.DragPolicy.LockToScreenAlignedPlane; + } + + if (pointer is TuringTouch) + { + return TuringPointer.DragPolicy.LockToScreenAlignedPlane; + } + + if (pointer is TuringStylus) + { + return TuringPointer.DragPolicy.LockHitPosition; + } + + return base.GetDragPolicy(pointer); + } + + public void OnBeginDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + + if (pointerEventData == null) + { + return; + } + + if (pointerEventData.button == dragTargetButton) + { + if (pointerEventData.Pointer is TuringStylus) + { + Pose pose = pointerEventData.Pointer.EndPointWorldPose; + this._initialGrabOffset = + Quaternion.Inverse(this.transform.rotation) * + (this.transform.position - pose.position); + // this._initialGrabRotation = this.transform.localRotation; + grab = new GameObject("Grab").GetComponent(); + grabRotate = new GameObject("GrabRotate").GetComponent(); + grabRotate.position = pose.position; + grabRotate.rotation *= TuringProvider.CurrentFrame.DisplayAligner.transform.rotation; + grab.position = pose.position; + originParent = transform.parent; + grab.LookAt(pointerEventData.Pointer.transform); + distance= Vector3.Distance(grab.position, pointerEventData.Pointer.transform.position); + transform.SetParent(grabRotate); + grabRotate.SetParent(grab); + this._initialGrabRotation = grabRotate.localRotation; + } + else + { + Pose pose = pointerEventData.Pointer.EndPointWorldPose; + + // Cache the initial grab state. + this._initialGrabOffset = + Quaternion.Inverse(this.transform.rotation) * + (this.transform.position - pose.position); + + this._initialGrabRotation = + Quaternion.Inverse(pose.rotation) * + this.transform.rotation; + } + + + // If the grabbable object has a rigidbody component, + // mark it as kinematic during the grab. + var rigidbody = this.GetComponent(); + if (rigidbody != null) + { + this._isKinematic = rigidbody.isKinematic; + rigidbody.isKinematic = true; + } + + // Capture pointer events. + pointerEventData.Pointer.CapturePointer(this.gameObject); + } + } + + public void OnDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + if (pointerEventData == null) + { + return; + } + + if (pointerEventData.pointerDrag != this.gameObject) + { + return; + } + + if (pointerEventData.button == dragTargetButton) + { + if (pointerEventData.Pointer is TuringStylus) + { + TuringStylus stylus = (TuringStylus)pointerEventData.Pointer; + grabRotate.localRotation=_initialGrabRotation*Quaternion.Euler(stylus.StylueEulerAngle); + // Debug.Log("------------"+_initialGrabRotation.eulerAngles+" "+stylus.StylueEulerAngle); + grab.transform.position = pointerEventData.Pointer.transform.position+(stylus._target.Points[0]-stylus._target.Points[1]).normalized * distance; + grab.LookAt(pointerEventData.Pointer.transform); + } + else + { + HandleLeftDrag(pointerEventData); + } + } + } + + private void HandleLeftDrag(TuringPointerEventData pointerEventData) + { + Pose pose = pointerEventData.Pointer.EndPointWorldPose; + + // Update the grab object's rotation. + this.transform.rotation = + pose.rotation * this._initialGrabRotation; + + // Update the grab object's position. + this.transform.position = + pose.position + + (this.transform.rotation * this._initialGrabOffset); + } + + + public void OnEndDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + if (pointerEventData == null || + pointerEventData.button != dragTargetButton) + { + return; + } + + Debug.Log("EndDrag"); + + if (pointerEventData.Pointer is TuringStylus) + { + // Pose pose = pointerEventData.Pointer.EndPointWorldPose; + // this._initialGrabOffset = + // Quaternion.Inverse(this.transform.rotation) * + // (this.transform.position - pose.position); + // grab = new GameObject("Grab").GetComponent(); + // grab.transform.position = pose.position; + // originParent = transform.parent; + // grab.LookAt(pointerEventData.Pointer.transform); + // transform.SetParent(grab); + transform.SetParent(originParent); + Destroy(grab.gameObject); + Destroy(grabRotate.gameObject); + } + + // Release the pointer. + pointerEventData.Pointer.CapturePointer(null); + + // If the grabbable object has a rigidbody component, + // restore its original isKinematic state. + var rigidbody = this.GetComponent(); + if (rigidbody != null) + { + rigidbody.isKinematic = this._isKinematic; + } + } + } +} \ No newline at end of file diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs.meta new file mode 100644 index 00000000..5455972a --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/Draggable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e65ac38766cf16646ac69b142fd7540c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs new file mode 100644 index 00000000..089ace9c --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs @@ -0,0 +1,147 @@ +//----------------------------------------------------------------------- +// +// Copyright (c) Copyright © Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved. +// +//----------------------------------------------------------------------- + +using UnityEngine; +using UnityEngine.EventSystems; + +using Turing.Core.EventSystems; +using Turing.Core.TuringInput; + +namespace Turing.Samples +{ + public class DraggableCustomPlane : + TuringPointerInteractable, IBeginDragHandler, IDragHandler, IEndDragHandler + { + //////////////////////////////////////////////////////////////////////// + // Inspector Fields + //////////////////////////////////////////////////////////////////////// + + ///

+ /// A transform from which to base planar movement on. Forward (Z) is + /// normal to the plane, and the object will drag along its X and Y + /// coordinates. + /// + [Tooltip( + "A transform from which to base planar movement on. Forward (Z) " + + "is normal to the plane, and the object will drag along its X " + + "and Y coordinates.")] + public Transform PlaneQuadTransform; + + //////////////////////////////////////////////////////////////////////// + // Public Methods + //////////////////////////////////////////////////////////////////////// + + public override TuringPointer.DragPolicy GetDragPolicy(TuringPointer pointer) + { + return TuringPointer.DragPolicy.LockToCustomPlane; + } + + public override Plane GetDragPlane(TuringPointer pointer) + { + if (PlaneQuadTransform != null) + { + Debug.Log(new Plane( + PlaneQuadTransform.forward, + PlaneQuadTransform.position).normal); + return new Plane( + PlaneQuadTransform.forward, + PlaneQuadTransform.position); + + } + + return base.GetDragPlane(pointer); + } + + public void OnBeginDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + if (pointerEventData == null || + pointerEventData.button != PointerEventData.InputButton.Left) + { + return; + } + Debug.Log("begin drag"); + Pose pose = pointerEventData.Pointer.EndPointWorldPose; + + // Cache the initial grab state. + this._initialGrabOffset = + Quaternion.Inverse(this.transform.rotation) * + (this.transform.position - pose.position); + + // commenting out rotation from the original draggable script + // to maintain a fixed orientation relative to the drag plane + // + //this._initialGrabRotation = + // Quaternion.Inverse(pose.rotation) * + // this.transform.rotation; + + // If the grabbable object has a rigidbody component, + // mark it as kinematic during the grab. + var rigidbody = this.GetComponent(); + if (rigidbody != null) + { + this._isKinematic = rigidbody.isKinematic; + rigidbody.isKinematic = true; + } + + // Capture pointer events. + pointerEventData.Pointer.CapturePointer(this.gameObject); + } + + public void OnDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + if (pointerEventData == null || + pointerEventData.button != PointerEventData.InputButton.Left) + { + return; + } + Debug.Log("Ondrag"); + Pose pose = pointerEventData.Pointer.EndPointWorldPose; + + // commenting out rotation from the original draggable script + // to maintain a fixed orientation relative to the drag plane + // + // Update the grab object's rotation. + //this.transform.rotation = + // pose.rotation * this._initialGrabRotation; + + // Update the grab object's position. + this.transform.position = + pose.position + + (this.transform.rotation * this._initialGrabOffset); + } + + public void OnEndDrag(PointerEventData eventData) + { + TuringPointerEventData pointerEventData = eventData as TuringPointerEventData; + if (pointerEventData == null || + pointerEventData.button != PointerEventData.InputButton.Left) + { + return; + } + Debug.Log("end drag"); + // Release the pointer. + pointerEventData.Pointer.CapturePointer(null); + + // If the grabbable object has a rigidbody component, + // restore its original isKinematic state. + var rigidbody = this.GetComponent(); + if (rigidbody != null) + { + rigidbody.isKinematic = this._isKinematic; + } + } + + //////////////////////////////////////////////////////////////////////// + // Private Members + //////////////////////////////////////////////////////////////////////// + + private Vector3 _initialGrabOffset = Vector3.zero; + //private Quaternion _initialGrabRotation = Quaternion.identity; + private bool _isKinematic = false; + } +} diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs.meta b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs.meta new file mode 100644 index 00000000..2931d4bb --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/DraggableCustomPlane.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4c3016650b860aa4795acecbb255b542 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/FramePickerMenu.cs b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/FramePickerMenu.cs new file mode 100644 index 00000000..df0078a8 --- /dev/null +++ b/Assets/Samples/Turing 3D Core/1.0.0/Samples/Scripts/FramePickerMenu.cs @@ -0,0 +1,61 @@ +//----------------------------------------------------------------------- +// +// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved. +// +//----------------------------------------------------------------------- + +using Turing.Core.StereoCore; +using Turing.Core.Utility; +using UnityEngine; +using UnityEngine.UI; + +namespace Turing.Samples +{ + public class FramePickerMenu : MonoBehaviour + { + //////////////////////////////////////////////////////////////////////// + // MonoBehaviour Callbacks + //////////////////////////////////////////////////////////////////////// + + void Start() + { + this._frames = GameObject.FindObjectsOfType(); + this._cameraRig = GameObject.FindObjectOfType(); + this._layoutGroup = + this.gameObject.GetComponent(); + this._baseButton = + this._layoutGroup.GetComponentInChildren