diff --git a/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab b/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab new file mode 100644 index 00000000000..1a2ab78ed41 --- /dev/null +++ b/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab @@ -0,0 +1,327 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1406990951443512} + m_IsPrefabParent: 1 +--- !u!1 &1406990951443512 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4078510770057468} + - component: {fileID: 114475473728920830} + - component: {fileID: 114253695620597976} + - component: {fileID: 114337282513792584} + - component: {fileID: 114056157604016048} + m_Layer: 0 + m_Name: LinearControllerPointerMultiColors + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4078510770057468 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1406990951443512} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &114056157604016048 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1406990951443512} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9a4d6e2d0d55194788e9a2df9c0261f, type: 3} + m_Name: + m_EditorClassIdentifier: + source: {fileID: 114337282513792584} + LineColor: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, 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_NumColorKeys: 2 + m_NumAlphaKeys: 2 + LineWidth: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + WidthMultiplier: 0.1 + ColorOffset: 0 + WidthOffset: 0 + RotationOffset: 0 + StepMode: 0 + NumLineSteps: 10 + InterpolationMode: 1 + StepLength: 0.05 + MaxLineSteps: 2048 + StepLengthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: -0.5 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.5 + inSlope: -0.5 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + LineMaterial: {fileID: 2100000, guid: d9f5efc2f1dfc6846a9ebeac2f029eff, type: 2} + RoundedEdges: 1 + RoundedCaps: 1 + lineRenderer: {fileID: 0} +--- !u!114 &114253695620597976 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1406990951443512} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: df317dc594e50444da58008aa4ee1475, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 6 + handedness: 0 + SetChildrenInactiveWhenDetached: 1 + PositionOffset: {x: 0, y: 0, z: 0} + RotationOffset: {x: 0, y: 0, z: 0} + ScaleOffset: {x: 1, y: 1, z: 1} + SetScaleOnAttach: 0 + CurrentPointerOrientation: 0 + extentOverride: 2 + RaycastOrigin: {fileID: 0} + LineColorSelected: + serializedVersion: 2 + key0: {r: 0, g: 0.57254905, b: 0.57254905, a: 0} + key1: {r: 0, g: 0.35686275, b: 0.42745098, a: 1} + key2: {r: 0, g: 0.1882353, b: 0.3019608, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineColorValid: + serializedVersion: 2 + key0: {r: 0.06666667, g: 0.57254905, b: 0, a: 0} + key1: {r: 0, g: 0.42745098, b: 0.003921569, a: 1} + key2: {r: 0.011764706, g: 0.3019608, b: 0, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineColorNoTarget: + serializedVersion: 2 + key0: {r: 0.52156866, g: 0.52156866, b: 0.52156866, a: 0} + key1: {r: 0.32156864, g: 0.32156864, b: 0.32156864, a: 1} + key2: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineCastResolution: 25 + LineBase: {fileID: 0} + LineRenderers: [] +--- !u!114 &114337282513792584 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1406990951443512} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bec4b46028f8fb94c9b03b88fca37bd6, type: 3} + m_Name: + m_EditorClassIdentifier: + LineStartClamp: 0 + LineEndClamp: 1 + RotationType: 1 + FlipUpVector: 0 + OriginOffset: {x: 0, y: 0, z: 0} + ManualUpVectorBlend: 0 + ManualUpVectors: + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + VelocitySearchRange: 0.02 + VelocityBlend: 0.5 + DistortionType: 0 + DistortionStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + UniformDistortionStrength: 1 + distorters: [] + loops: 0 + Start: {x: 0, y: 0, z: 0} + End: {x: 1, y: 1, z: 1} +--- !u!114 &114475473728920830 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1406990951443512} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3be3fb966fbcc0f44add9a39d15cd3d0, type: 3} + m_Name: + m_EditorClassIdentifier: + distortOrder: 0 + distortStrength: 1 + LocalCenterOfGravity: {x: 0, y: 0, z: 0} + AxisStrength: {x: 1, y: 1, z: 1} + Radius: 0.5 + GravityStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 diff --git a/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab.meta b/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab.meta new file mode 100644 index 00000000000..3bb8c94726a --- /dev/null +++ b/Assets/HoloToolkit-Examples/Input/Prefabs/LinearControllerPointerMultiColors.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e9556ced730993f4d986bf3a04c1a459 +timeCreated: 1527028987 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/Input/Scenes/InputManagerTest.unity b/Assets/HoloToolkit-Examples/Input/Scenes/InputManagerTest.unity index eb23955cfa6..04a432c1509 100644 --- a/Assets/HoloToolkit-Examples/Input/Scenes/InputManagerTest.unity +++ b/Assets/HoloToolkit-Examples/Input/Scenes/InputManagerTest.unity @@ -88,6 +88,7 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -112,174 +113,86 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &41734711 +--- !u!1 &107556006 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 41734712} - - component: {fileID: 41734715} - - component: {fileID: 41734714} - - component: {fileID: 41734713} - m_Layer: 0 - m_Name: BlockingBlock (3) + - component: {fileID: 107556007} + - component: {fileID: 107556009} + - component: {fileID: 107556008} + m_Layer: 5 + m_Name: Description (2) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &41734712 -Transform: +--- !u!224 &107556007 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 41734711} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.553, y: -0.269, z: 0.5} - m_LocalScale: {x: 0.020852, y: 0.990899, z: 0.013027806} + m_GameObject: {fileID: 107556006} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0.81} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 4 + m_Father: {fileID: 338186810} + m_RootOrder: 10 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &41734713 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 41734711} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &41734714 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 41734711} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &41734715 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 41734711} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &114544514 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 114544515} - - component: {fileID: 114544518} - - component: {fileID: 114544517} - - component: {fileID: 114544516} - m_Layer: 0 - m_Name: BackgroundBlocker - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &114544515 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 114544514} - m_LocalRotation: {x: -0, y: 0.38268343, z: -0, w: 0.92387956} - m_LocalPosition: {x: 0.76269555, y: -0.26694348, z: 0.18206894} - m_LocalScale: {x: 1, y: 1, z: 0.048134856} - m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 45, z: 0} ---- !u!23 &114544516 -MeshRenderer: + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.846, y: -323.645} + m_SizeDelta: {x: 900, y: 300} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &107556008 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 114544514} + m_GameObject: {fileID: 107556006} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 0f604454ef4d4f74aac40b50574f26b0, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &114544517 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 114544514} + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &114544518 -MeshFilter: + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 40 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'The objects on this plane can be moved by + + tapping on a gazed object, holding your finger down and moving your hand' +--- !u!222 &107556009 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 114544514} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} + m_GameObject: {fileID: 107556006} --- !u!1 &115626665 GameObject: m_ObjectHideFlags: 0 @@ -303,10 +216,10 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 115626665} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0.05, y: -0.1, z: 0.85} + m_LocalPosition: {x: -0.05, y: 0.94, z: 0.85} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 1876648198} + - {fileID: 616726486} - {fileID: 1536953066} - {fileID: 134179068} - {fileID: 1527663682} @@ -328,6 +241,41 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: containerObject: {fileID: 0} + alignmentType: 0 + stationarySpaceTypePosition: {x: 0, y: 0, z: 0} + roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} +--- !u!1 &130257274 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1796302851915538, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 130257275} + m_Layer: 0 + m_Name: Panel3 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &130257275 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4670709106308790, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 130257274} + m_LocalRotation: {x: 0, y: 0.2588191, z: 0, w: 0.9659258} + m_LocalPosition: {x: 1.208, y: 0, z: -0.288} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1331822022} + - {fileID: 1863647181} + m_Father: {fileID: 616726486} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 30, z: 0} --- !u!1 &134179067 GameObject: m_ObjectHideFlags: 0 @@ -353,18 +301,11 @@ Transform: m_LocalPosition: {x: 0.113049, y: 0.061202, z: 1.1571001} m_LocalScale: {x: 0.70828426, y: 0.70828426, z: 0.70828426} m_Children: - - {fileID: 1614035368} - - {fileID: 2091656258} - - {fileID: 1833810248} + - {fileID: 459490604} - {fileID: 217298281} - - {fileID: 1964882465} - {fileID: 1331058239} - {fileID: 1844249317} - {fileID: 974169606} - - {fileID: 1595405691} - - {fileID: 350032155} - - {fileID: 1549854632} - - {fileID: 459490604} - {fileID: 1662841314} m_Father: {fileID: 115626666} m_RootOrder: 2 @@ -425,7 +366,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: 347544df56dcd64408e75005a6aa0c34, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -470,98 +411,13 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 142212807} - m_LocalRotation: {x: -0.27194342, y: -0.062191524, z: 0.20327678, w: 0.93854016} - m_LocalPosition: {x: 0.49, y: -0.14, z: 0.107} - m_LocalScale: {x: 0.28460824, y: 0.28460857, z: 0.28460857} + m_LocalRotation: {x: -0.19569045, y: -0.05671729, z: 0.117702775, w: 0.9719231} + m_LocalPosition: {x: 0.309, y: -1.77, z: -0.013} + m_LocalScale: {x: 0.22414993, y: 0.2241502, z: 0.2241502} m_Children: [] m_Father: {fileID: 1536953066} m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: -29.005001, y: -14.758, z: 28.312002} ---- !u!1 &149404908 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 149404909} - - component: {fileID: 149404911} - - component: {fileID: 149404910} - m_Layer: 0 - m_Name: Text_Title - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &149404909 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 149404908} - m_LocalRotation: {x: -0, y: 0.3165748, z: -0, w: 0.94856757} - m_LocalPosition: {x: -0.124, y: 0.469, z: 0.414} - m_LocalScale: {x: 0.033942644, y: 0.03394264, z: 0.03394264} - m_Children: [] - m_Father: {fileID: 1536953066} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 37.169003, z: 0} ---- !u!102 &149404910 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 149404908} - m_Text: Cursor Surface Alignment - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &149404911 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 149404908} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_LocalEulerAnglesHint: {x: -21.533, y: -9.674001, z: 15.654} --- !u!1 &151032311 stripped GameObject: m_PrefabParentObject: {fileID: 1000013030286928, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -623,7 +479,7 @@ Transform: m_GameObject: {fileID: 173363921} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000058114523} m_LocalPosition: {x: 0, y: 0, z: 0.0059} - m_LocalScale: {x: 0.014731509, y: 0.014731506, z: 0.014731506} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} m_Children: [] m_Father: {fileID: 747101508} m_RootOrder: 0 @@ -642,10 +498,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 62 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -663,7 +519,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -683,54 +539,160 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &200945358 +--- !u!1 &174510217 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 200945359} - - component: {fileID: 200945361} - - component: {fileID: 200945360} - m_Layer: 15 - m_Name: Text + - component: {fileID: 174510218} + - component: {fileID: 174510222} + - component: {fileID: 174510221} + - component: {fileID: 174510220} + - component: {fileID: 174510219} + m_Layer: 0 + m_Name: BottomPanel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &200945359 +--- !u!4 &174510218 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 200945358} - m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000059604633} - m_LocalPosition: {x: 0, y: 0, z: 0.0059000114} - m_LocalScale: {x: 0.010743534, y: 0.010743529, z: 0.01074353} + m_GameObject: {fileID: 174510217} + m_LocalRotation: {x: 0.50000006, y: 0.50000006, z: 0.5, w: 0.5} + m_LocalPosition: {x: -0.23012209, y: -0.6179837, z: -0.315} + m_LocalScale: {x: 0.0132200075, y: 0.5628099, z: 0.61351025} m_Children: [] - m_Father: {fileID: 1128536855} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 180.00002, z: 0} ---- !u!102 &200945360 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 1252170028} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 90.00001, z: 90} +--- !u!54 &174510219 +Rigidbody: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 54100405396922970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 200945358} - m_Text: Grow - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 + m_GameObject: {fileID: 174510217} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &174510220 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 174510217} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &174510221 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 174510217} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &174510222 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 174510217} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &200945358 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 200945359} + - component: {fileID: 200945361} + - component: {fileID: 200945360} + m_Layer: 15 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &200945359 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200945358} + m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000059604633} + m_LocalPosition: {x: 0, y: 0, z: 0.0059000114} + m_LocalScale: {x: 0.002, y: 0.002, z: 1} + m_Children: [] + m_Father: {fileID: 1128536855} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 180.00002, z: 0} +--- !u!102 &200945360 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 200945358} + m_Text: Grow + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 68 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -748,7 +710,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -832,7 +794,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1 + value: 1.2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z @@ -851,6 +813,15 @@ Prefab: propertyPath: m_Layer value: 15 objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 1.2 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -897,236 +868,68 @@ MonoBehaviour: ObjectToScale: {fileID: 718516056} ScaleIncrement: 0.01 ButtonAction: 0 ---- !u!1 &211779536 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 211779537} - - component: {fileID: 211779540} - - component: {fileID: 211779539} - - component: {fileID: 211779538} - m_Layer: 0 - m_Name: BackgroundBlocker - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &211779537 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 211779536} - m_LocalRotation: {x: -0, y: -0.38268343, z: -0, w: 0.92387956} - m_LocalPosition: {x: -0.9093045, y: -0.26694348, z: 0.18406895} - m_LocalScale: {x: 1, y: 1, z: 0.048134882} - m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: -45, z: 0} ---- !u!23 &211779538 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 211779536} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 0f604454ef4d4f74aac40b50574f26b0, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &211779539 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 211779536} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &211779540 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 211779536} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!4 &217298281 stripped Transform: m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1637635550} ---- !u!1 &246314323 +--- !u!1 &269480466 GameObject: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 246314324} - - component: {fileID: 246314327} - - component: {fileID: 246314326} - - component: {fileID: 246314325} + - component: {fileID: 269480467} + - component: {fileID: 269480469} + - component: {fileID: 269480468} m_Layer: 0 - m_Name: Table + m_Name: New Text (2) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &246314324 +--- !u!4 &269480467 Transform: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 246314323} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: -0.761, z: 2.068} - m_LocalScale: {x: 1, y: 0.01, z: 1} + m_GameObject: {fileID: 269480466} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.002000174, y: 0.0256, z: -0.038000006} + m_LocalScale: {x: 0.0049979943, y: 0.0049979934, z: 0.0049979943} m_Children: [] - m_Father: {fileID: 1181785679} - m_RootOrder: 2 + m_Father: {fileID: 459490604} + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &246314325 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 246314323} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 0f604454ef4d4f74aac40b50574f26b0, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &246314326 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 246314323} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &246314327 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 246314323} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &263170635 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 263170636} - - component: {fileID: 263170638} - - component: {fileID: 263170637} - m_Layer: 0 - m_Name: Text_Body (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &263170636 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 263170635} - m_LocalRotation: {x: -0, y: 0.68325514, z: -0, w: 0.7301798} - m_LocalPosition: {x: 0.143, y: -0.248, z: 0.124} - m_LocalScale: {x: 0.021930922, y: 0.021930914, z: 0.021930924} - m_Children: [] - m_Father: {fileID: 1527663682} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 86.30701, z: 0} ---- !u!102 &263170637 +--- !u!102 &269480468 TextMesh: serializedVersion: 3 m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 263170635} - m_Text: Tap on the Mesh Above to open the popup menu. + m_GameObject: {fileID: 269480466} + m_Text: Popup window m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 m_Anchor: 4 - m_Alignment: 0 + m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 59 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 ---- !u!23 &263170638 +--- !u!23 &269480469 MeshRenderer: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 263170635} + m_GameObject: {fileID: 269480466} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -1135,7 +938,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1155,72 +958,263 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &350032154 +--- !u!1 &303689472 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 350032155} - - component: {fileID: 350032157} - - component: {fileID: 350032156} - m_Layer: 0 - m_Name: Text_ModalInput + - component: {fileID: 303689473} + - component: {fileID: 303689475} + - component: {fileID: 303689474} + m_Layer: 5 + m_Name: Description (4) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &350032155 -Transform: +--- !u!224 &303689473 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 350032154} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: -0.047, y: -0.211, z: 0.0279} - m_LocalScale: {x: 0.034849104, y: 0.034849085, z: 0.034849085} + m_GameObject: {fileID: 303689472} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 9 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &350032156 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 338186810} + m_RootOrder: 13 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.61, y: -323.259} + m_SizeDelta: {x: 437.4612, y: 300} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &303689474 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 350032154} - m_Text: Modal Input - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: + m_GameObject: {fileID: 303689472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Input Manager also works with Unity's UI +--- !u!222 &303689475 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 303689472} +--- !u!1 &338186809 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1835462303943884, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 338186810} + - component: {fileID: 338186813} + - component: {fileID: 338186812} + - component: {fileID: 338186811} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &338186810 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224385282562073920, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 338186809} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 773969852} + - {fileID: 1811266916} + - {fileID: 481840523} + - {fileID: 2062027622} + - {fileID: 1520690753} + - {fileID: 1211621800} + - {fileID: 570984414} + - {fileID: 662760829} + - {fileID: 539690972} + - {fileID: 1703496155} + - {fileID: 107556007} + - {fileID: 1309489390} + - {fileID: 1012114402} + - {fileID: 303689473} + - {fileID: 1034269121} + m_Father: {fileID: 1252170028} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 512.5886, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &338186811 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114803053854114090, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 338186809} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &350032157 + m_Bits: 4294967295 +--- !u!114 &338186812 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114747735679590474, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 338186809} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &338186813 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223269791768138664, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 338186809} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &407546169 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1076840190721308, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 407546170} + - component: {fileID: 407546174} + - component: {fileID: 407546173} + - component: {fileID: 407546172} + - component: {fileID: 407546171} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &407546170 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4851099024189204, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 407546169} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} + m_Children: [] + m_Father: {fileID: 610916237} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &407546171 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54652109647812068, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 407546169} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &407546172 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 23734633781358164, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 350032154} + m_GameObject: {fileID: 407546169} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 - m_DynamicOccludee: 1 + m_DynamicOccludee: 0 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1228,7 +1222,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -1240,6 +1234,27 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!65 &407546173 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65220125403651066, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 407546169} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &407546174 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33521007365351282, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 407546169} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &412973902 GameObject: m_ObjectHideFlags: 0 @@ -1291,15 +1306,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: -0.12 + value: -0.468 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: 0.105 + value: -1.413 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0.033 + value: -0.028 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -1319,7 +1334,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 5 + value: 2 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -1352,6 +1367,11 @@ Prefab: propertyPath: m_Layer value: 0 objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: df5221fb20639e94c822187700b9c19a, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -1398,7 +1418,7 @@ Canvas: m_Enabled: 1 serializedVersion: 3 m_RenderMode: 2 - m_Camera: {fileID: 485146271} + m_Camera: {fileID: 1704023851} m_PlaneDistance: 100 m_PixelPerfect: 0 m_ReceivesEvents: 1 @@ -1416,8 +1436,8 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 432117531} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 1.1980001} - m_LocalScale: {x: 0.003, y: 0.003, z: 0.003} + m_LocalPosition: {x: 0, y: 0, z: 1.1284} + m_LocalScale: {x: 0.0034026492, y: 0.0036150839, z: 0.0036150839} m_Children: - {fileID: 1034968948} m_Father: {fileID: 115626666} @@ -1425,8 +1445,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0.05, y: 0.472} - m_SizeDelta: {x: 100, y: 20} + m_AnchoredPosition: {x: 0.088, y: -1.1352861} + m_SizeDelta: {x: 20, y: 20} m_Pivot: {x: 0.5, y: 0.5} --- !u!95 &438686328 stripped Animator: @@ -1479,15 +1499,15 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 459490603} m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068} - m_LocalPosition: {x: -0.369, y: -0.255, z: 0} + m_LocalPosition: {x: -0.3604, y: -1.8339, z: -0.063} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1323770864} - - {fileID: 1248870586} - {fileID: 1594263080} - {fileID: 1906609831} + - {fileID: 269480467} m_Father: {fileID: 134179068} - m_RootOrder: 11 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0} --- !u!95 &459490605 Animator: @@ -1546,13 +1566,13 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 461818661} - m_LocalRotation: {x: -0.424669, y: -0.02182241, z: -0.55743706, w: 0.71305263} - m_LocalPosition: {x: 0.413, y: 0.15, z: 0.05} - m_LocalScale: {x: 0.1785514, y: 0.17855136, z: 0.17855136} + m_LocalRotation: {x: -0.23020332, y: -0.39913246, z: -0.568299, w: 0.6817155} + m_LocalPosition: {x: 0.152, y: -1.421, z: 0.145} + m_LocalScale: {x: 0.21143024, y: 0.2114302, z: 0.2114302} m_Children: [] m_Father: {fileID: 1536953066} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: -39.042004, y: 34.920002, z: -88.72201} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: -50.132004, y: -26.153002, z: -67.231} --- !u!23 &461818663 MeshRenderer: m_ObjectHideFlags: 0 @@ -1567,7 +1587,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: e4a90329d14763e4ebfc9ad5f2dae77f, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1607,122 +1627,63 @@ MeshFilter: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 461818661} m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1001 &485146270 -Prefab: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, - type: 2} - propertyPath: Cursor - value: - objectReference: {fileID: 759629491} - - target: {fileID: 114950568511066590, guid: 3eddd1c29199313478dd3f912bfab2ab, - type: 2} - propertyPath: simulateHandsInEditor - value: 1 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} - m_IsPrefabParent: 0 ---- !u!20 &485146271 stripped -Camera: - m_PrefabParentObject: {fileID: 20049547090947856, guid: 3eddd1c29199313478dd3f912bfab2ab, - type: 2} - m_PrefabInternal: {fileID: 485146270} ---- !u!1 &502235477 +--- !u!1 &478269689 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 502235478} - - component: {fileID: 502235480} - - component: {fileID: 502235479} + - component: {fileID: 478269690} + - component: {fileID: 478269694} + - component: {fileID: 478269693} + - component: {fileID: 478269692} + - component: {fileID: 478269691} m_Layer: 0 - m_Name: Text_Body + m_Name: Backpanel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &502235478 +--- !u!4 &478269690 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 502235477} - m_LocalRotation: {x: -0, y: 0.3165748, z: -0, w: 0.94856757} - m_LocalPosition: {x: -0.118, y: 0.404, z: 0.408} - m_LocalScale: {x: 0.018421965, y: 0.018421967, z: 0.018421967} + m_GameObject: {fileID: 478269689} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: -0.009, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.91786176, z: 0.61351055} m_Children: [] - m_Father: {fileID: 1536953066} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: 37.169003, z: 0} ---- !u!102 &502235479 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 1252170028} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &478269691 +Rigidbody: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 54100405396922970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 502235477} - m_Text: "In this area you can see that the cursor sphere casts to the collision\nsurface - of objects on the layers defined on GazeManager. \nThe cursor can align to basic - shapes and non-Convex Hull Mesh Collision." - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &502235480 + m_GameObject: {fileID: 478269689} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &478269692 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 502235477} + m_GameObject: {fileID: 478269689} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -1731,7 +1692,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1739,7 +1700,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -1751,34 +1712,198 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1001 &504035233 -Prefab: +--- !u!65 &478269693 +BoxCollider: m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 478269689} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &478269694 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 478269689} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &481840522 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 481840523} + - component: {fileID: 481840526} + - component: {fileID: 481840525} + - component: {fileID: 481840524} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &481840523 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481840522} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.82007, y: -322.708, z: 1.3285} + m_LocalScale: {x: 0.5497447, y: 0.0030726464, z: 1} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &481840524 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481840522} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &481840525 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481840522} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &481840526 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481840522} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1001 &485146270 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + propertyPath: Cursor + value: + objectReference: {fileID: 759629491} + - target: {fileID: 114950568511066590, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + propertyPath: simulateHandsInEditor + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + m_IsPrefabParent: 0 +--- !u!1001 &504035233 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} propertyPath: m_LocalRotation.z value: 0 objectReference: {fileID: 0} @@ -1803,6 +1928,90 @@ Animator: m_PrefabParentObject: {fileID: 95000013881968268, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1594263079} +--- !u!1 &539690971 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 539690972} + - component: {fileID: 539690974} + - component: {fileID: 539690973} + m_Layer: 5 + m_Name: Description (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &539690972 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539690971} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.664, y: -323.08} + m_SizeDelta: {x: 550, y: 500} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &539690973 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539690971} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'You can see how the cursor interacts with buttons ensuring that the cursor + is always visible over the button art. + + + Additionally you can set the scale of the cursor on each of the buttons. Here + the cursor scale increases from the left to the right. See CursorModifier.cs under + button.' +--- !u!222 &539690974 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 539690971} --- !u!1 &556584197 GameObject: m_ObjectHideFlags: 0 @@ -1828,7 +2037,7 @@ Transform: m_GameObject: {fileID: 556584197} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000059604633} m_LocalPosition: {x: 0, y: 0, z: 0.0059000114} - m_LocalScale: {x: 0.010743534, y: 0.010743529, z: 0.01074353} + m_LocalScale: {x: 0.002, y: 0.002, z: 1} m_Children: [] m_Father: {fileID: 1594263081} m_RootOrder: 0 @@ -1840,17 +2049,17 @@ TextMesh: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 556584197} - m_Text: Exit + m_Text: Close m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 70 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -1868,7 +2077,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1888,11 +2097,255 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &570984413 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1579474663996116, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 570984414} + - component: {fileID: 570984416} + - component: {fileID: 570984415} + m_Layer: 5 + m_Name: Subtitle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &570984414 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224867391563566598, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 570984413} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.84103} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &570984415 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114628746298840300, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 570984413} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Cursor Shape and Button Interaction +--- !u!222 &570984416 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222081016692326802, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 570984413} +--- !u!1 &610916236 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1502550149394970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 610916237} + m_Layer: 0 + m_Name: Panel2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &610916237 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4706133977960180, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 610916236} + m_LocalRotation: {x: 0, y: -0.258819, z: 0, w: 0.9659259} + m_LocalPosition: {x: 0.007, y: 0, z: -0.034999967} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 638870307} + - {fileID: 407546170} + m_Father: {fileID: 616726486} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: -30, z: 0} --- !u!95 &614331969 stripped Animator: m_PrefabParentObject: {fileID: 95000013881968268, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 652027336} +--- !u!1 &616726485 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1037805327611902, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 616726486} + m_Layer: 0 + m_Name: SceneDescriptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &616726486 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4038737183939630, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 616726485} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.373, y: -1.194, z: 1.1650001} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1252170028} + - {fileID: 610916237} + - {fileID: 130257275} + m_Father: {fileID: 115626666} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &638870306 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1750976490984934, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 638870307} + - component: {fileID: 638870310} + - component: {fileID: 638870309} + - component: {fileID: 638870308} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &638870307 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224904040068643104, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 638870306} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1809456130} + - {fileID: 1879644988} + - {fileID: 1852215976} + m_Father: {fileID: 610916237} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 511.9536, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &638870308 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114247302280288692, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 638870306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &638870309 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114119232482227162, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 638870306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &638870310 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223336420783637346, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 638870306} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 --- !u!1001 &652027336 Prefab: m_ObjectHideFlags: 0 @@ -1902,15 +2355,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: 0.23 + value: -0.203 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: 0.105 + value: -1.4129999 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0.033 + value: -0.028000064 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -1930,7 +2383,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 7 + value: 4 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -1990,10 +2443,97 @@ Prefab: propertyPath: m_LocalScale.z value: 2.5 objectReference: {fileID: 0} + - target: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalPosition.x + value: -0.0077 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_IsPrefabParent: 0 +--- !u!1 &662760828 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1072600106012318, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 662760829} + - component: {fileID: 662760831} + - component: {fileID: 662760830} + m_Layer: 5 + m_Name: Subtitle (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &662760829 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224315620099300408, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 662760828} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -323.163} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &662760830 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114181130579894316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 662760828} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Modal Input +--- !u!222 &662760831 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222628989992007860, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 662760828} --- !u!1 &689950061 GameObject: m_ObjectHideFlags: 0 @@ -2019,7 +2559,7 @@ Transform: m_GameObject: {fileID: 689950061} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.000000566244} m_LocalPosition: {x: 0, y: 0, z: 0.005900006} - m_LocalScale: {x: 0.010743531, y: 0.010743529, z: 0.0107435305} + m_LocalScale: {x: 0.002, y: 0.002, z: 1} m_Children: [] m_Father: {fileID: 1978404030} m_RootOrder: 0 @@ -2040,10 +2580,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 68 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -2061,7 +2601,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2111,7 +2651,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 718516056} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.202, y: 0.079, z: 0.131} + m_LocalPosition: {x: 0.305, y: -1.469, z: 0.108} m_LocalScale: {x: 0.2, y: 0.15, z: 0.2} m_Children: [] m_Father: {fileID: 1527663682} @@ -2196,7 +2736,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: 522573f9741466f4f9eb698bce4a266a, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2224,6 +2764,84 @@ MeshFilter: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 718516056} m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &723949061 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1224865149316582, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 723949062} + - component: {fileID: 723949064} + - component: {fileID: 723949063} + m_Layer: 5 + m_Name: Subtitle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &723949062 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224499893197765726, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 723949061} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 1331822022} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.181, y: -322.598} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &723949063 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114423520132674424, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 723949061} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Cursor Surface Alignment +--- !u!222 &723949064 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222940216202005862, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 723949061} --- !u!1 &736112369 GameObject: m_ObjectHideFlags: 0 @@ -2249,7 +2867,7 @@ Transform: m_GameObject: {fileID: 736112369} m_LocalRotation: {x: -0, y: -1, z: -0, w: -0.0000005364418} m_LocalPosition: {x: 0, y: 0, z: 0.0067} - m_LocalScale: {x: 0.01074354, y: 0.010743529, z: 0.010743537} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} m_Children: [] m_Father: {fileID: 1254595511} m_RootOrder: 0 @@ -2268,10 +2886,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 55 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -2289,7 +2907,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2362,93 +2980,84 @@ MonoBehaviour: type: 2} m_PrefabInternal: {fileID: 759629490} m_Script: {fileID: 11500000, guid: 0decd33ba8702954885a62b5bc1a778e, type: 3} ---- !u!1 &764860894 +--- !u!1 &773969851 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1451936078842708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 764860895} - - component: {fileID: 764860897} - - component: {fileID: 764860896} - m_Layer: 0 - m_Name: Text_Body + - component: {fileID: 773969852} + - component: {fileID: 773969854} + - component: {fileID: 773969853} + m_Layer: 5 + m_Name: Title m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &764860895 -Transform: +--- !u!224 &773969852 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224339627565595316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 764860894} - m_LocalRotation: {x: -0, y: 0.68325514, z: -0, w: 0.7301798} - m_LocalPosition: {x: 0.175, y: 0.395, z: 0.513} - m_LocalScale: {x: 0.019413527, y: 0.01941353, z: 0.01941353} + m_GameObject: {fileID: 773969851} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} m_Children: [] - m_Father: {fileID: 1527663682} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 86.30701, z: 0} ---- !u!102 &764860896 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 338186810} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.779} + m_SizeDelta: {x: 1107.8, y: 244.2} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &773969853 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114257903654940708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 764860894} - m_Text: 'In this area you can see an example of a popup menu and how the - - input manager allows you to have seperate contextual sub menus.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &764860897 -MeshRenderer: + m_GameObject: {fileID: 773969851} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 78 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Input Manager Test +--- !u!222 &773969854 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 222382184650279478, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 764860894} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_GameObject: {fileID: 773969851} --- !u!1 &923071791 GameObject: m_ObjectHideFlags: 0 @@ -2501,198 +3110,24 @@ Light: m_UseColorTemperature: 0 m_ShadowRadius: 0 m_ShadowAngle: 0 ---- !u!4 &923071793 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 923071791} - m_LocalRotation: {x: 0.4131562, y: -0.043737188, z: 0.02092344, w: 0.9093686} - m_LocalPosition: {x: 0.05, y: 0.1, z: -0.85} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 115626666} - m_RootOrder: 6 - m_LocalEulerAnglesHint: {x: 48.868004, y: -5.2780004, z: 0.162} ---- !u!1 &962930257 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 962930258} - - component: {fileID: 962930260} - - component: {fileID: 962930259} - m_Layer: 0 - m_Name: Text_Body (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &962930258 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 962930257} - m_LocalRotation: {x: -0, y: 0.68325514, z: -0, w: 0.7301798} - m_LocalPosition: {x: 0.14299998, y: -0.305, z: 0.12400003} - m_LocalScale: {x: 0.02193093, y: 0.021930914, z: 0.021930931} - m_Children: [] - m_Father: {fileID: 1527663682} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: 0, y: 86.30701, z: 0} ---- !u!102 &962930259 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 962930257} - m_Text: When the popup menu is open you can tap anywhere to dismiss it. - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &962930260 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 962930257} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!4 &974169606 stripped -Transform: - m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, - type: 2} - m_PrefabInternal: {fileID: 652027336} ---- !u!1 &984922567 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 984922568} - - component: {fileID: 984922570} - - component: {fileID: 984922569} - m_Layer: 0 - m_Name: Text_Body - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &984922568 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 984922567} - m_LocalRotation: {x: 0.7071063, y: -0.0008577403, z: 0.0008577403, w: 0.7071063} - m_LocalPosition: {x: -0.378, y: -0.7638, z: 1.73} - m_LocalScale: {x: 0.02741364, y: 0.027413644, z: 0.027413644} - m_Children: [] - m_Father: {fileID: 1181785679} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 90, y: -0.13900001, z: 0} ---- !u!102 &984922569 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 984922567} - m_Text: 'The objects on this plane can be moved by - - tapping on a gazed object, holding your finger down - - and moving your hand' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &984922570 -MeshRenderer: +--- !u!4 &923071793 +Transform: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 984922567} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_GameObject: {fileID: 923071791} + m_LocalRotation: {x: 0.4131562, y: -0.043737188, z: 0.02092344, w: 0.9093686} + m_LocalPosition: {x: 0.05, y: 0.1, z: -0.85} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 115626666} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 48.868004, y: -5.2780004, z: 0.162} +--- !u!4 &974169606 stripped +Transform: + m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + m_PrefabInternal: {fileID: 652027336} --- !u!95 &1005020992 stripped Animator: m_PrefabParentObject: {fileID: 95000013881968268, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -2767,7 +3202,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1.0000005 + value: 1.2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z @@ -2786,6 +3221,15 @@ Prefab: propertyPath: m_Layer value: 15 objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 1.2 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -2800,6 +3244,84 @@ Transform: m_PrefabParentObject: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1007885750} +--- !u!1 &1012114401 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1072600106012318, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1012114402} + - component: {fileID: 1012114404} + - component: {fileID: 1012114403} + m_Layer: 5 + m_Name: Subtitle (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1012114402 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224315620099300408, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1012114401} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 12 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.525, y: -323.163} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1012114403 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114181130579894316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1012114401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Unity UI Button +--- !u!222 &1012114404 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222628989992007860, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1012114401} --- !u!1 &1013577050 stripped GameObject: m_PrefabParentObject: {fileID: 1000013030286928, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -2822,6 +3344,84 @@ MonoBehaviour: ToolTipDelayTime: 0.5 ButtonAnimator: {fileID: 1610941210} EnableActivation: 1 +--- !u!1 &1034269120 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1072600106012318, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1034269121} + - component: {fileID: 1034269123} + - component: {fileID: 1034269122} + m_Layer: 5 + m_Name: Subtitle (4) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1034269121 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224315620099300408, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1034269120} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 14 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.525, y: -323.321} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1034269122 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114181130579894316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1034269120} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Timer Button +--- !u!222 &1034269123 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222628989992007860, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1034269120} --- !u!1 &1034531161 GameObject: m_ObjectHideFlags: 0 @@ -2847,7 +3447,7 @@ Transform: m_GameObject: {fileID: 1034531161} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000059604633} m_LocalPosition: {x: 0, y: 0, z: 0.0059000114} - m_LocalScale: {x: 0.010743534, y: 0.010743529, z: 0.01074353} + m_LocalScale: {x: 0.002, y: 0.002, z: 1} m_Children: [] m_Father: {fileID: 1007885752} m_RootOrder: 0 @@ -2866,10 +3466,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 68 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -2887,7 +3487,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2935,8 +3535,7 @@ RectTransform: 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_Children: - - {fileID: 2006547559} + m_Children: [] m_Father: {fileID: 432117534} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -3031,90 +3630,6 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: LogGesturesUpdateEvents: 0 ---- !u!1 &1071729350 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1071729354} - - component: {fileID: 1071729353} - - component: {fileID: 1071729352} - - component: {fileID: 1071729351} - m_Layer: 0 - m_Name: BlockingBlock - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!23 &1071729351 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1071729350} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 0 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 0f604454ef4d4f74aac40b50574f26b0, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &1071729352 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1071729350} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &1071729353 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1071729350} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &1071729354 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1071729350} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.07330446, y: -0.26694348, z: 0.52969396} - m_LocalScale: {x: 1, y: 1, z: 0.048134837} - m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1124712520 Prefab: m_ObjectHideFlags: 0 @@ -3204,11 +3719,9 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1158750413} m_LocalRotation: {x: -0, y: -0, z: -0.000000014901159, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: -0.09200003, y: -1.5720001, z: 0.08499991} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1607371820} - - {fileID: 1691577137} + m_Children: [] m_Father: {fileID: 1536953066} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -3276,7 +3789,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1 + value: 1.2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z @@ -3295,6 +3808,15 @@ Prefab: propertyPath: m_Layer value: 15 objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 1.2 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -3340,7 +3862,7 @@ MonoBehaviour: button: {fileID: 1168964972} ObjectToScale: {fileID: 718516056} ScaleIncrement: 0.01 - ButtonAction: 1 + ButtonAction: 0 --- !u!1 &1181785678 GameObject: m_ObjectHideFlags: 0 @@ -3363,17 +3885,90 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1181785678} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.0592191, y: 0.061202, z: -0.27787} + m_LocalPosition: {x: 0.0592191, y: -0.972, z: -0.435} m_LocalScale: {x: 0.70828426, y: 0.70828426, z: 0.70828426} m_Children: - {fileID: 1950385218} - {fileID: 1282283559} - - {fileID: 246314324} - - {fileID: 984922568} - - {fileID: 1925794794} m_Father: {fileID: 115626666} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1211621799 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1211621800} + - component: {fileID: 1211621801} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1211621800 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1211621799} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.9825, y: -322.64972, z: 1.3330002} + m_LocalScale: {x: 0.013813125, y: 0.01381305, z: 0.008287894} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!212 &1211621801 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1211621799} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!1 &1237503857 GameObject: m_ObjectHideFlags: 0 @@ -3397,17 +3992,17 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1237503857} - m_LocalRotation: {x: -0, y: -0.03288218, z: -0, w: 0.99945927} - m_LocalPosition: {x: 0.14, y: -0.11, z: 0.124} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalRotation: {x: 0, y: 0.09758294, z: 0, w: 0.9952274} + m_LocalPosition: {x: 0.3, y: -1.623, z: 0.091} + m_LocalScale: {x: 1.5155632, y: 1.5155624, z: 1.5155624} m_Children: - {fileID: 1475088254} - {fileID: 201038396} - {fileID: 1168964970} - {fileID: 1007885751} m_Father: {fileID: 1527663682} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: -3.66, z: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 11.2, z: 0} --- !u!114 &1237503859 MonoBehaviour: m_ObjectHideFlags: 0 @@ -3441,180 +4036,44 @@ Animator: m_WarningMessage: m_HasTransformHierarchy: 1 m_AllowConstantClipSamplingOptimization: 1 ---- !u!1 &1248870585 +--- !u!1 &1252170027 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1152677137086646, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1248870586} - - component: {fileID: 1248870588} - - component: {fileID: 1248870587} + - component: {fileID: 1252170028} m_Layer: 0 - m_Name: New Text + m_Name: Panel1 m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1248870586 +--- !u!4 &1252170028 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 4579641208005124, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1248870585} - m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} - m_LocalPosition: {x: 0, y: 0.0583, z: 0} - m_LocalScale: {x: 0.019568808, y: 0.019568812, z: 0.019568812} - m_Children: [] - m_Father: {fileID: 459490604} - m_RootOrder: 1 + m_GameObject: {fileID: 1252170027} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.64, y: 0.244, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 338186810} + - {fileID: 478269690} + - {fileID: 174510218} + m_Father: {fileID: 616726486} + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!102 &1248870587 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1248870585} - m_Text: THIS IS A POPUP - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1248870588 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1248870585} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 --- !u!4 &1254595511 stripped Transform: m_PrefabParentObject: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1662841313} ---- !u!1 &1262196122 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1262196123} - - component: {fileID: 1262196126} - - component: {fileID: 1262196125} - - component: {fileID: 1262196124} - m_Layer: 0 - m_Name: BlockingBlock (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1262196123 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262196122} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.07330446, y: -0.374, z: 0.5} - m_LocalScale: {x: 0.91953415, y: 0.011234341, z: 0.013027806} - m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &1262196124 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262196122} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 1 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!65 &1262196125 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262196122} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &1262196126 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1262196122} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1282283558 GameObject: m_ObjectHideFlags: 0 @@ -3642,8 +4101,8 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1282283558} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.169, y: -0.666, z: 1.969} - m_LocalScale: {x: 0.2, y: 0.20000003, z: 0.20000003} + m_LocalPosition: {x: 0.169, y: -0.7169999, z: 1.8999997} + m_LocalScale: {x: 0.2670996, y: 0.26709962, z: 0.26709962} m_Children: [] m_Father: {fileID: 1181785679} m_RootOrder: 1 @@ -3703,7 +4162,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 5752f5f43fa24d948972c15227bf9974, type: 2} + - {fileID: 2100000, guid: 347544df56dcd64408e75005a6aa0c34, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -3730,6 +4189,85 @@ MeshFilter: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1282283558} m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1309489389 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1309489390} + - component: {fileID: 1309489392} + - component: {fileID: 1309489391} + m_Layer: 5 + m_Name: Description (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1309489390 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1309489389} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 11 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.9272, y: -323.226} + m_SizeDelta: {x: 384.7315, y: 161.9609} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1309489391 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1309489389} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 2 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Activating this button, creates a popup that disables all other input until + the popup is dismissed. +--- !u!222 &1309489392 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1309489389} --- !u!1 &1323770863 GameObject: m_ObjectHideFlags: 0 @@ -3755,8 +4293,8 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1323770863} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.0176, y: -0.0221, z: -0} - m_LocalScale: {x: 0.01657134, y: 0.22752023, z: 0.2668121} + m_LocalPosition: {x: 0.0176, y: -0.0346, z: -0.0423} + m_LocalScale: {x: 0.008198424, y: 0.19054812, z: 0.29769617} m_Children: [] m_Father: {fileID: 459490604} m_RootOrder: 0 @@ -3775,7 +4313,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -3819,6 +4357,106 @@ Transform: m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 423221176} +--- !u!1 &1331822021 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1601088198276012, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1331822022} + - component: {fileID: 1331822025} + - component: {fileID: 1331822024} + - component: {fileID: 1331822023} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1331822022 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224474109722441034, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1331822021} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 2028607963} + - {fileID: 723949062} + m_Father: {fileID: 130257275} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 511.9536, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1331822023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114556486693206820, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1331822021} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1331822024 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114902409211293750, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1331822021} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1331822025 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223976911252780668, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1331822021} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 --- !u!1 &1403079735 stripped GameObject: m_PrefabParentObject: {fileID: 1000013030286928, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -3910,7 +4548,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1 + value: 1.2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z @@ -3929,6 +4567,15 @@ Prefab: propertyPath: m_Layer value: 15 objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 1.2 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -3974,7 +4621,87 @@ MonoBehaviour: button: {fileID: 1475088256} ObjectToScale: {fileID: 718516056} ScaleIncrement: 0.01 - ButtonAction: 2 + ButtonAction: 0 +--- !u!1 &1520690752 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1113360108618934, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1520690753} + - component: {fileID: 1520690755} + - component: {fileID: 1520690754} + m_Layer: 5 + m_Name: DeviceTypes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1520690753 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224644953376245418, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1520690752} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.67493} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1520690754 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114745954840247250, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1520690752} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'HoloLens + + Immersive headset' +--- !u!222 &1520690755 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222889759466084120, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1520690752} --- !u!1 &1520964007 stripped GameObject: m_PrefabParentObject: {fileID: 1000010345607974, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -4021,15 +4748,11 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1527663681} m_LocalRotation: {x: -0, y: -0.91240984, z: -0, w: 0.4092779} - m_LocalPosition: {x: -0.3615, y: 0.043259002, z: 0.883} + m_LocalPosition: {x: -0.335, y: 0.043259002, z: 0.808} m_LocalScale: {x: 0.70828474, y: 0.70828426, z: 0.7082851} m_Children: - {fileID: 718516057} - - {fileID: 1708006763} - - {fileID: 764860895} - {fileID: 1237503858} - - {fileID: 263170636} - - {fileID: 962930258} m_Father: {fileID: 115626666} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: -131.848, z: 0} @@ -4061,101 +4784,10 @@ Transform: - {fileID: 1560389089} - {fileID: 1158750414} - {fileID: 142212811} - - {fileID: 149404909} - - {fileID: 502235478} - {fileID: 461818662} m_Father: {fileID: 115626666} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 8.602, z: 0} ---- !u!1 &1549854631 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1549854632} - - component: {fileID: 1549854634} - - component: {fileID: 1549854633} - m_Layer: 0 - m_Name: Text_ModalInputBody - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1549854632 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1549854631} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: -0.096, y: -0.262, z: 0.026} - m_LocalScale: {x: 0.016562505, y: 0.016562508, z: 0.016562505} - m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 10 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &1549854633 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1549854631} - m_Text: 'Activating this button, creates a - - popup that disables all other input - - until the popup is dismissed.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1549854634 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1549854631} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 --- !u!1001 &1550965883 Prefab: m_ObjectHideFlags: 0 @@ -4165,15 +4797,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: 0.0394 + value: -0.343 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: 0.105 + value: -1.4129997 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0.033 + value: -0.028000064 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -4193,7 +4825,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 6 + value: 3 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -4253,6 +4885,11 @@ Prefab: propertyPath: m_Layer value: 0 objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 347544df56dcd64408e75005a6aa0c34, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -4289,7 +4926,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: d28014c9b490c4c428c16e9902ee367e, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -4335,7 +4972,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1560389085} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.088, y: -0.229, z: 0.276} + m_LocalPosition: {x: -0.022, y: -1.806, z: 0.17} m_LocalScale: {x: 0.29593512, y: 0.29593512, z: 0.29593512} m_Children: [] m_Father: {fileID: 1536953066} @@ -4350,15 +4987,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: -0.012 + value: -0.0831 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0 + value: -0.038 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -4378,7 +5015,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 2 + value: 1 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -4405,11 +5042,11 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1.0000005 + value: 1.2672142 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z - value: 1.0000005 + value: 1.2672144 objectReference: {fileID: 0} - target: {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -4424,285 +5061,38 @@ Prefab: propertyPath: m_Layer value: 15 objectReference: {fileID: 0} + - target: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 1.2672138 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 522573f9741466f4f9eb698bce4a266a, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} - m_IsPrefabParent: 0 ---- !u!4 &1594263080 stripped -Transform: - m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, - type: 2} - m_PrefabInternal: {fileID: 1594263079} ---- !u!4 &1594263081 stripped -Transform: - m_PrefabParentObject: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, - type: 2} - m_PrefabInternal: {fileID: 1594263079} ---- !u!1 &1595405690 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1595405691} - - component: {fileID: 1595405693} - - component: {fileID: 1595405692} - m_Layer: 0 - m_Name: Text_CursorScale - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1595405691 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1595405690} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: 0.059999995, y: -0.039, z: 0.030000031} - m_LocalScale: {x: 0.01262519, y: 0.012625191, z: 0.012625191} - m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 8 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &1595405692 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1595405690} - m_Text: 'Additionally you can set the scale of the cursor on each of the buttons. - - Here the cursor scale increases from the left to the right.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1595405693 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1595405690} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!1 &1607371819 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000010392664070, guid: c844c1e29a68f9843a8a54d4107e4a89, - type: 2} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1607371820} - - component: {fileID: 1607371823} - - component: {fileID: 1607371822} - - component: {fileID: 1607371821} - m_Layer: 18 - m_Name: Cube1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1607371820 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000013380585206, guid: c844c1e29a68f9843a8a54d4107e4a89, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1607371819} - m_LocalRotation: {x: -8.8817837e-16, y: -0.47253534, z: -0, w: 0.8813118} - m_LocalPosition: {x: 0.065, y: 0.015, z: 0.255} - m_LocalScale: {x: 0.28, y: 0.07, z: 0.2} - m_Children: [] - m_Father: {fileID: 1158750414} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: -56.236004, z: 0} ---- !u!65 &1607371821 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1607371819} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &1607371822 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000010214483838, guid: c844c1e29a68f9843a8a54d4107e4a89, + m_IsPrefabParent: 0 +--- !u!4 &1594263080 stripped +Transform: + m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1607371819} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!33 &1607371823 -MeshFilter: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 33000013465381014, guid: c844c1e29a68f9843a8a54d4107e4a89, + m_PrefabInternal: {fileID: 1594263079} +--- !u!4 &1594263081 stripped +Transform: + m_PrefabParentObject: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1607371819} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} + m_PrefabInternal: {fileID: 1594263079} --- !u!95 &1610941210 stripped Animator: m_PrefabParentObject: {fileID: 95000013881968268, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1007885750} ---- !u!1 &1614035367 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1614035368} - - component: {fileID: 1614035370} - - component: {fileID: 1614035369} - m_Layer: 0 - m_Name: Text_Title - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1614035368 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1614035367} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: -0.494, y: 0.442, z: 0.027} - m_LocalScale: {x: 0.03246766, y: 0.03246764, z: 0.032467656} - m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &1614035369 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1614035367} - m_Text: Cursor Shape and Button Interaction - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1614035370 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1614035367} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 --- !u!1001 &1637635550 Prefab: m_ObjectHideFlags: 0 @@ -4712,15 +5102,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: -0.38 + value: -0.039 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: 0.105 + value: -1.902 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0.033 + value: -0.026 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -4740,7 +5130,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 3 + value: 1 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -4784,16 +5174,21 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.x - value: 1.2 + value: 2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.y - value: 1.2 + value: 2 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalScale.z value: 1.2 objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -4807,15 +5202,15 @@ Prefab: m_Modifications: - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.x - value: -0.164 + value: -0.457 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.y - value: -0.307 + value: -1.684 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalPosition.z - value: 0.033 + value: -0.022 objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_LocalRotation.x @@ -4835,7 +5230,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} propertyPath: m_RootOrder - value: 12 + value: 5 objectReference: {fileID: 0} - target: {fileID: 0} propertyPath: m_Font @@ -4873,6 +5268,23 @@ Prefab: propertyPath: m_Layer value: 0 objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.x + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.y + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} + propertyPath: m_LocalScale.z + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 23000011480523916, guid: b3364a8b0a2a96a43b662045118b0a9e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: e106645f46550d54bacf6c82811c99e6, type: 2} m_RemovedComponents: - {fileID: 114000011771025640, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_ParentPrefab: {fileID: 100100000, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} @@ -4917,179 +5329,89 @@ MonoBehaviour: m_EditorClassIdentifier: popupMenu: {fileID: 459490606} button: {fileID: 1662841316} ---- !u!1 &1691577136 +--- !u!1 &1703496154 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000010392664070, guid: c844c1e29a68f9843a8a54d4107e4a89, + m_PrefabParentObject: {fileID: 1579474663996116, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1691577137} - - component: {fileID: 1691577140} - - component: {fileID: 1691577139} - - component: {fileID: 1691577138} - m_Layer: 18 - m_Name: Cube2 + - component: {fileID: 1703496155} + - component: {fileID: 1703496157} + - component: {fileID: 1703496156} + m_Layer: 5 + m_Name: Subtitle (2) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1691577137 -Transform: +--- !u!224 &1703496155 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000013380585206, guid: c844c1e29a68f9843a8a54d4107e4a89, + m_PrefabParentObject: {fileID: 224867391563566598, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1691577136} - m_LocalRotation: {x: 0, y: -0.08715578, z: 0, w: 0.9961947} - m_LocalPosition: {x: 0.077, y: 0.123, z: 0.28} - m_LocalScale: {x: 0.1, y: 0.26, z: 0.1} + m_GameObject: {fileID: 1703496154} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0.894} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} m_Children: [] - m_Father: {fileID: 1158750414} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: -10, z: 0} ---- !u!65 &1691577138 -BoxCollider: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1691577136} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Size: {x: 1, y: 1.0000001, z: 1} - m_Center: {x: 0, y: 0, z: 0} ---- !u!23 &1691577139 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000010214483838, guid: c844c1e29a68f9843a8a54d4107e4a89, - type: 2} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1691577136} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!33 &1691577140 -MeshFilter: + m_Father: {fileID: 338186810} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8731, y: -323.56897} + m_SizeDelta: {x: 800, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1703496156 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 33000013465381014, guid: c844c1e29a68f9843a8a54d4107e4a89, + m_PrefabParentObject: {fileID: 114628746298840300, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1691577136} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &1708006762 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1708006763} - - component: {fileID: 1708006765} - - component: {fileID: 1708006764} - m_Layer: 0 - m_Name: Text_Title - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1708006763 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1708006762} - m_LocalRotation: {x: -0, y: 0.68325514, z: -0, w: 0.7301798} - m_LocalPosition: {x: 0.173, y: 0.471, z: 0.549} - m_LocalScale: {x: 0.03555896, y: 0.035558958, z: 0.035558958} - m_Children: [] - m_Father: {fileID: 1527663682} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 86.30701, z: 0} ---- !u!102 &1708006764 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1708006762} - m_Text: Popup Menu Interaction - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1708006765 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1708006762} + m_GameObject: {fileID: 1703496154} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 70 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Movable Objects +--- !u!222 &1703496157 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222081016692326802, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1703496154} +--- !u!20 &1704023851 stripped +Camera: + m_PrefabParentObject: {fileID: 20049547090947856, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + m_PrefabInternal: {fileID: 485146270} --- !u!95 &1753714861 stripped Animator: m_PrefabParentObject: {fileID: 95000013881968268, guid: b3364a8b0a2a96a43b662045118b0a9e, @@ -5122,171 +5444,313 @@ MonoBehaviour: ToolTipDelayTime: 0.5 ButtonAnimator: {fileID: 528536765} EnableActivation: 1 ---- !u!1 &1833810247 +--- !u!1 &1809456129 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1454564949874076, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1833810248} - - component: {fileID: 1833810250} - - component: {fileID: 1833810249} - m_Layer: 0 - m_Name: Text_Wait + - component: {fileID: 1809456130} + - component: {fileID: 1809456132} + - component: {fileID: 1809456131} + m_Layer: 5 + m_Name: Description m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1833810248 -Transform: +--- !u!224 &1809456130 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224058629180668634, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1833810247} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: -0.376, y: 0.232, z: 0.034} - m_LocalScale: {x: 0.013432104, y: 0.013432092, z: 0.013432099} + m_GameObject: {fileID: 1809456129} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &1833810249 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 638870307} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.181, y: -322.9009} + m_SizeDelta: {x: 1107.8, y: 1303.4058} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1809456131 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114592574472669386, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1833810247} - m_Text: 'Tap on this "Wait" button + m_GameObject: {fileID: 1809456129} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: ' - to push the Cursor into - the "Waiting" state.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1833810250 -MeshRenderer: + In this area you can see an example of a popup menu and how the + + input manager allows you to have seperate contextual sub menus.' +--- !u!222 &1809456132 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 222786115559259628, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1809456129} +--- !u!1 &1811266915 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1811266916} + - component: {fileID: 1811266918} + - component: {fileID: 1811266917} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1811266916 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1811266915} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 338186810} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8214, y: -323.107} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1811266917 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1833810247} + m_GameObject: {fileID: 1811266915} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'In this test scene you can see how the cursor changes when your + + hands are visible and not visible, as well as how the cursor changes + + when you Air Tap.' +--- !u!222 &1811266918 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1811266915} --- !u!4 &1844249317 stripped Transform: m_PrefabParentObject: {fileID: 4000011024438968, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 1550965883} ---- !u!1 &1876648197 +--- !u!1 &1852215975 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1454564949874076, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1876648198} - m_Layer: 0 - m_Name: Anchor_Backgrounds + - component: {fileID: 1852215976} + - component: {fileID: 1852215978} + - component: {fileID: 1852215977} + m_Layer: 5 + m_Name: Description (1) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1876648198 -Transform: +--- !u!224 &1852215976 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224058629180668634, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1876648197} + m_GameObject: {fileID: 1852215975} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.111139, y: 0.25027, z: 0.82850003} - m_LocalScale: {x: 0.70828426, y: 0.70828426, z: 0.70828426} - m_Children: - - {fileID: 1071729354} - - {fileID: 114544515} - - {fileID: 211779537} - - {fileID: 1262196123} - - {fileID: 41734712} - - {fileID: 1886638977} - m_Father: {fileID: 115626666} - m_RootOrder: 0 + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 638870307} + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1886638976 + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.181, y: -323.454} + m_SizeDelta: {x: 1107.8, y: 1303.4058} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1852215977 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114592574472669386, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1852215975} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Tap on the mesh above to open the popup menu. + + When the popup menu is open you can tap anywhere to dismiss it.' +--- !u!222 &1852215978 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222786115559259628, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1852215975} +--- !u!1 &1863647180 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1702501639908122, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 1886638977} - - component: {fileID: 1886638980} - - component: {fileID: 1886638979} - - component: {fileID: 1886638978} + - component: {fileID: 1863647181} + - component: {fileID: 1863647185} + - component: {fileID: 1863647184} + - component: {fileID: 1863647183} + - component: {fileID: 1863647182} m_Layer: 0 - m_Name: BlockingBlock (4) + m_Name: Backpanel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &1886638977 +--- !u!4 &1863647181 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 4645552636461708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1886638976} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.405, y: -0.269, z: 0.5} - m_LocalScale: {x: 0.020852, y: 0.990899, z: 0.013027806} + m_GameObject: {fileID: 1863647180} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} m_Children: [] - m_Father: {fileID: 1876648198} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &1886638978 + m_Father: {fileID: 130257275} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &1863647182 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54073874623691264, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1863647180} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1863647183 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 23203654026659830, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1886638976} + m_GameObject: {fileID: 1863647180} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -5295,7 +5759,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 20f3ea3eaa410fa45820ca5259613a1e, type: 2} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -5315,25 +5779,105 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!65 &1886638979 +--- !u!65 &1863647184 BoxCollider: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 65838094679230420, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1886638976} + m_GameObject: {fileID: 1863647180} m_Material: {fileID: 0} m_IsTrigger: 0 m_Enabled: 1 serializedVersion: 2 m_Size: {x: 1, y: 1, z: 1} m_Center: {x: 0, y: 0, z: 0} ---- !u!33 &1886638980 +--- !u!33 &1863647185 MeshFilter: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 33026706867824068, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1863647180} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1879644987 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1103436554492578, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1879644988} + - component: {fileID: 1879644990} + - component: {fileID: 1879644989} + m_Layer: 5 + m_Name: Subtitle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1879644988 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224191356868840390, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1879644987} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 638870307} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.181, y: -322.598} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1879644989 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114392904915671634, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1879644987} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Popup Menu Interaction +--- !u!222 &1879644990 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222624442265456234, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1886638976} - m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} + m_GameObject: {fileID: 1879644987} --- !u!1 &1906609830 GameObject: m_ObjectHideFlags: 0 @@ -5358,11 +5902,11 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1906609830} m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} - m_LocalPosition: {x: -0.0018, y: -0.0886, z: -0.0005} - m_LocalScale: {x: 0.016972821, y: 0.016972817, z: 0.016972821} + m_LocalPosition: {x: -0.002, y: -0.0167, z: -0.038} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} m_Children: [] m_Father: {fileID: 459490604} - m_RootOrder: 3 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!102 &1906609832 TextMesh: @@ -5380,10 +5924,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 36 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -5401,92 +5945,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 ---- !u!1 &1925794793 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1925794794} - - component: {fileID: 1925794796} - - component: {fileID: 1925794795} - m_Layer: 0 - m_Name: Text_Title - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1925794794 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1925794793} - m_LocalRotation: {x: 0.7071063, y: -0.0008577403, z: 0.0008577403, w: 0.7071063} - m_LocalPosition: {x: -0.222, y: -0.7638, z: 1.777} - m_LocalScale: {x: 0.04554171, y: 0.045541685, z: 0.045541696} - m_Children: [] - m_Father: {fileID: 1181785679} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 90, y: -0.13900001, z: 0} ---- !u!102 &1925794795 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1925794793} - m_Text: Movable Objects - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 3 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1925794796 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1925794793} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -5533,7 +5992,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1950385217} m_LocalRotation: {x: -0, y: 0.35133648, z: -0, w: 0.93624926} - m_LocalPosition: {x: -0.23399998, y: -0.666, z: 1.9690001} + m_LocalPosition: {x: -0.214, y: -0.717, z: 1.9} m_LocalScale: {x: 0.2, y: 0.20000003, z: 0.20000003} m_Children: [] m_Father: {fileID: 1181785679} @@ -5582,7 +6041,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 5752f5f43fa24d948972c15227bf9974, type: 2} + - {fileID: 2100000, guid: 522573f9741466f4f9eb698bce4a266a, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -5621,146 +6080,62 @@ MeshFilter: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1950385217} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} ---- !u!1 &1964882464 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1964882465} - - component: {fileID: 1964882467} - - component: {fileID: 1964882466} - m_Layer: 0 - m_Name: Text_ButtonInteraction - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1964882465 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1964882464} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: 0.06, y: 0.246, z: 0.03} - m_LocalScale: {x: 0.011943277, y: 0.011943264, z: 0.011943272} - m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 4 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &1964882466 -TextMesh: - serializedVersion: 3 - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1964882464} - m_Text: 'You can also see how the cursor interacts with buttons - - ensuring that the cursor is always visible over the button art.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 4 - m_Alignment: 1 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &1964882467 -MeshRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1964882464} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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 --- !u!4 &1978404030 stripped Transform: m_PrefabParentObject: {fileID: 4000014213108822, guid: b3364a8b0a2a96a43b662045118b0a9e, type: 2} m_PrefabInternal: {fileID: 201038395} ---- !u!1 &2006547558 +--- !u!1 &2028607962 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1177461876331294, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 2006547559} - - component: {fileID: 2006547561} - - component: {fileID: 2006547560} + - component: {fileID: 2028607963} + - component: {fileID: 2028607965} + - component: {fileID: 2028607964} m_Layer: 5 - m_Name: Text + m_Name: Description m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &2006547559 +--- !u!224 &2028607963 RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224792057838968088, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2006547558} - 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_GameObject: {fileID: 2028607962} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} m_Children: [] - m_Father: {fileID: 1034968948} + m_Father: {fileID: 1331822022} m_RootOrder: 0 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_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.181, y: -322.9009} + m_SizeDelta: {x: 1107.8, y: 1303.4058} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &2006547560 +--- !u!114 &2028607964 MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114002081405361742, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2006547558} + m_GameObject: {fileID: 2028607962} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: @@ -5768,114 +6143,106 @@ MonoBehaviour: m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 14 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 10 - m_MaxSize: 40 - m_Alignment: 4 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 m_AlignByGeometry: 0 m_RichText: 1 m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: UI Button ---- !u!222 &2006547561 + m_Text: "\n\nIn this area you can see that the cursor sphere casts to the collision\nsurface + of objects on the layers defined on GazeManager. \nThe cursor can align to basic + shapes and non-Convex Hull Mesh Collision." +--- !u!222 &2028607965 CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 222894061660454230, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2006547558} ---- !u!1 &2091656257 + m_GameObject: {fileID: 2028607962} +--- !u!1 &2062027621 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 1485382055181008, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 2091656258} - - component: {fileID: 2091656260} - - component: {fileID: 2091656259} - m_Layer: 0 - m_Name: Text_Body + - component: {fileID: 2062027622} + - component: {fileID: 2062027624} + - component: {fileID: 2062027623} + m_Layer: 5 + m_Name: WorksOn m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &2091656258 -Transform: +--- !u!224 &2062027622 +RectTransform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 224413024187748670, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2091656257} - m_LocalRotation: {x: -0, y: -0.001251264, z: -0, w: 0.9999993} - m_LocalPosition: {x: -0.487, y: 0.371, z: 0.027} - m_LocalScale: {x: 0.019299204, y: 0.019299204, z: 0.019299204} + m_GameObject: {fileID: 2062027621} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} m_Children: [] - m_Father: {fileID: 134179068} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: -0.13900001, z: 0} ---- !u!102 &2091656259 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 338186810} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.65283} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2062027623 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 114544788369345886, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2091656257} - m_Text: 'In this test scene you can see how the cursor changes when your - - hands are visible and not visible, as well as how the cursor changes - - when you Air Tap.' - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 0 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 0 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &2091656260 -MeshRenderer: + m_GameObject: {fileID: 2062027621} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Works on +--- !u!222 &2062027624 +CanvasRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} + m_PrefabParentObject: {fileID: 222602141398920914, guid: 42b7699419297d24aa14535697918b4c, + type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 2091656257} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - 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_GameObject: {fileID: 2062027621} --- !u!1 &2128781367 GameObject: m_ObjectHideFlags: 0 @@ -5901,7 +6268,7 @@ Transform: m_GameObject: {fileID: 2128781367} m_LocalRotation: {x: -0, y: 1, z: -0, w: 0.00000059604633} m_LocalPosition: {x: 0, y: 0, z: 0.005899972} - m_LocalScale: {x: 0.010743534, y: 0.010743529, z: 0.01074353} + m_LocalScale: {x: 0.002, y: 0.002, z: 1} m_Children: [] m_Father: {fileID: 1007310067} m_RootOrder: 0 @@ -5920,10 +6287,10 @@ TextMesh: m_Anchor: 4 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 0 + m_FontSize: 68 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -5941,7 +6308,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/HoloToolkit-Examples/Input/Scenes/MotionControllerTest.unity b/Assets/HoloToolkit-Examples/Input/Scenes/MotionControllerTest.unity index 70b444dbbf8..4131f4f9346 100644 --- a/Assets/HoloToolkit-Examples/Input/Scenes/MotionControllerTest.unity +++ b/Assets/HoloToolkit-Examples/Input/Scenes/MotionControllerTest.unity @@ -88,6 +88,7 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -1074,6 +1075,82 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &285555681 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 285555682} + - component: {fileID: 285555683} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &285555682 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 285555681} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.9825, y: -322.609, z: 1.3330002} + m_LocalScale: {x: 0.013813125, y: 0.01381305, z: 0.008287894} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!212 &285555683 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 285555681} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 --- !u!1 &293671886 GameObject: m_ObjectHideFlags: 0 @@ -1087,6 +1164,7 @@ GameObject: - component: {fileID: 293671887} - component: {fileID: 293671891} - component: {fileID: 293671892} + - component: {fileID: 293671893} m_Layer: 0 m_Name: Cube m_TagString: Untagged @@ -1108,7 +1186,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: c9eb9258e335f144fae9e9e50e1fe664, type: 2} + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1154,11 +1232,11 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 293671886} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 2} + m_LocalPosition: {x: -1.035, y: -0.544, z: 1.517} m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} m_Children: [] m_Father: {fileID: 613472660} - m_RootOrder: 3 + m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &293671891 MonoBehaviour: @@ -1182,6 +1260,23 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: cc6d71e79d470fc40b4cc9e0a6602ea7, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!114 &293671893 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 293671886} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7d5a0a60fbe897549ad0bfe2039f12b6, type: 3} + m_Name: + m_EditorClassIdentifier: + HostTransform: {fileID: 0} + DistanceScale: 2 + RotationMode: 0 + PositionLerpSpeed: 0.2 + RotationLerpSpeed: 0.2 + IsDraggingEnabled: 1 --- !u!1 &295958692 GameObject: m_ObjectHideFlags: 0 @@ -1360,6 +1455,97 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &370377247 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 370377248} + - component: {fileID: 370377251} + - component: {fileID: 370377250} + - component: {fileID: 370377249} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &370377248 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 370377247} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.82007, y: -322.6673, z: 1.3285} + m_LocalScale: {x: 0.5497447, y: 0.0030726464, z: 1} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &370377249 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 370377247} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &370377250 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 370377247} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Convex: 0 + m_CookingOptions: 14 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &370377251 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 370377247} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &381878799 GameObject: m_ObjectHideFlags: 0 @@ -1662,67 +1848,63 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &438125170 +--- !u!1 &432940256 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 1702501639908122, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 438125171} - - component: {fileID: 438125173} - - component: {fileID: 438125172} + - component: {fileID: 432940257} + - component: {fileID: 432940261} + - component: {fileID: 432940260} + - component: {fileID: 432940259} + - component: {fileID: 432940258} m_Layer: 0 - m_Name: TouchpadPositionValue + m_Name: Backpanel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &438125171 +--- !u!4 &432940257 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 4645552636461708, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 438125170} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.477, y: 0.029399976, z: 0} - m_LocalScale: {x: 0.0019999999, y: 0.0019999999, z: 0.0019999999} + m_GameObject: {fileID: 432940256} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} m_Children: [] - m_Father: {fileID: 823003686} - m_RootOrder: 5 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!102 &438125172 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 1451781127} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &432940258 +Rigidbody: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 54073874623691264, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 438125170} - m_Text: (0.0, 0.0) - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 3 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 137 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &438125173 + m_GameObject: {fileID: 432940256} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &432940259 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 23203654026659830, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 438125170} + m_GameObject: {fileID: 432940256} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -1731,7 +1913,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1739,7 +1921,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -1751,67 +1933,106 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &450980092 -GameObject: +--- !u!65 &432940260 +BoxCollider: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 65838094679230420, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 432940256} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &432940261 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33026706867824068, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 432940256} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &435771003 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 450980093} - - component: {fileID: 450980095} - - component: {fileID: 450980094} + - component: {fileID: 435771004} + - component: {fileID: 435771010} + - component: {fileID: 435771009} + - component: {fileID: 435771008} + - component: {fileID: 435771007} + - component: {fileID: 435771006} + - component: {fileID: 435771005} m_Layer: 0 - m_Name: MenuPressedValue + m_Name: Cube (2) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &450980093 +--- !u!4 &435771004 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 450980092} + m_GameObject: {fileID: 435771003} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.0286, y: 0.0294, z: 0} - m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_LocalPosition: {x: -0.35799998, y: -0.544, z: 1.517} + m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} m_Children: [] - m_Father: {fileID: 2131677962} - m_RootOrder: 1 + m_Father: {fileID: 613472660} + m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!102 &450980094 -TextMesh: - serializedVersion: 3 +--- !u!114 &435771005 +MonoBehaviour: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 450980092} - m_Text: False - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 3 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 137 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &450980095 + m_GameObject: {fileID: 435771003} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7d5a0a60fbe897549ad0bfe2039f12b6, type: 3} + m_Name: + m_EditorClassIdentifier: + HostTransform: {fileID: 0} + DistanceScale: 2 + RotationMode: 0 + PositionLerpSpeed: 0.2 + RotationLerpSpeed: 0.2 + IsDraggingEnabled: 1 +--- !u!114 &435771006 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 435771003} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cc6d71e79d470fc40b4cc9e0a6602ea7, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &435771007 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 435771003} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 232cbf910b8baf64c860ec6a30ad0d63, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!23 &435771008 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 450980092} + m_GameObject: {fileID: 435771003} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -1820,7 +2041,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + - {fileID: 2100000, guid: 8b4fa37d32efc2547b4954812f85e246, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1828,7 +2049,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -1840,14 +2061,242 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &482625259 -GameObject: +--- !u!65 &435771009 +BoxCollider: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000010344732524, guid: f577dc6ac28e45e419440dda122c88ef, - type: 2} + m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: + m_GameObject: {fileID: 435771003} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &435771010 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 435771003} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &438125170 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 438125171} + - component: {fileID: 438125173} + - component: {fileID: 438125172} + m_Layer: 0 + m_Name: TouchpadPositionValue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &438125171 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 438125170} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.477, y: 0.029399976, z: 0} + m_LocalScale: {x: 0.0019999999, y: 0.0019999999, z: 0.0019999999} + m_Children: [] + m_Father: {fileID: 823003686} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &438125172 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 438125170} + m_Text: (0.0, 0.0) + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 3 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 137 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &438125173 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 438125170} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &449191223 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1152677137086646, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 449191224} + m_Layer: 0 + m_Name: Panel1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &449191224 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4579641208005124, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 449191223} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.652, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 870068033} + m_Father: {fileID: 2111271683} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &450980092 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 450980093} + - component: {fileID: 450980095} + - component: {fileID: 450980094} + m_Layer: 0 + m_Name: MenuPressedValue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &450980093 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 450980092} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0286, y: 0.0294, z: 0} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_Children: [] + m_Father: {fileID: 2131677962} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &450980094 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 450980092} + m_Text: False + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 3 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 137 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &450980095 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 450980092} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &482625259 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1000010344732524, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: - component: {fileID: 482625260} m_Layer: 0 m_Name: InfoMenu @@ -2111,15 +2560,18 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 613472659} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalPosition: {x: 0.701, y: -0.371, z: -0.489} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: + - {fileID: 2111271683} - {fileID: 1819716937} - {fileID: 1322951683} - {fileID: 1463513600} - {fileID: 293671890} + - {fileID: 783134316} + - {fileID: 435771004} m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &613472661 MonoBehaviour: @@ -2136,6 +2588,95 @@ MonoBehaviour: alignmentType: 0 stationarySpaceTypePosition: {x: 0, y: 0, z: 0} roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} +--- !u!1 &615169439 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 615169440} + - component: {fileID: 615169442} + - component: {fileID: 615169441} + m_Layer: 5 + m_Name: Description (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &615169440 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 615169439} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050065294, y: 0.00050065294, z: 0.00050065294} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8215, y: -323.126} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &615169441 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 615169439} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'Find more about the motion controller interactions and application examples + in: + + + Mixed Reality Academy 213: Motion Controller tutorial + + http://aka.ms/mr > Academy > Mixed Reality 213 + + + Motion Controller Grab Mechanics Example + + You can find this under Mixed Reality Toolkit''s Examples folder' +--- !u!222 &615169442 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 615169439} --- !u!1 &630688233 GameObject: m_ObjectHideFlags: 0 @@ -2225,35 +2766,6 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &648067039 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 648067040} - m_Layer: 0 - m_Name: Managers - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &648067040 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 648067039} - 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_Children: - - {fileID: 844015981} - m_Father: {fileID: 0} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &663988535 GameObject: m_ObjectHideFlags: 0 @@ -2610,6 +3122,212 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &779188495 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 779188496} + - component: {fileID: 779188498} + - component: {fileID: 779188497} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &779188496 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 779188495} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8215, y: -322.98813} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &779188497 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 779188495} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: In this scene, you can find the example of accessing the input event data + from the motion controllers. DebugPanelControllerInfo shows how to access this + data. +--- !u!222 &779188498 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 779188495} +--- !u!1 &783134315 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 783134316} + - component: {fileID: 783134322} + - component: {fileID: 783134321} + - component: {fileID: 783134320} + - component: {fileID: 783134319} + - component: {fileID: 783134318} + - component: {fileID: 783134317} + m_Layer: 0 + m_Name: Cube (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &783134316 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.706, y: -0.544, z: 1.517} + m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} + m_Children: [] + m_Father: {fileID: 613472660} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &783134317 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7d5a0a60fbe897549ad0bfe2039f12b6, type: 3} + m_Name: + m_EditorClassIdentifier: + HostTransform: {fileID: 0} + DistanceScale: 2 + RotationMode: 0 + PositionLerpSpeed: 0.2 + RotationLerpSpeed: 0.2 + IsDraggingEnabled: 1 +--- !u!114 &783134318 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cc6d71e79d470fc40b4cc9e0a6602ea7, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &783134319 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 232cbf910b8baf64c860ec6a30ad0d63, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!23 &783134320 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &783134321 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &783134322 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 783134315} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &823003685 GameObject: m_ObjectHideFlags: 0 @@ -2650,64 +3368,256 @@ Transform: --- !u!1 &835910001 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 1000011533309498, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 835910002} + - component: {fileID: 835910004} + - component: {fileID: 835910003} + m_Layer: 0 + m_Name: ThumbstickPressedValue + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &835910002 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 835910001} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0286, y: 0.0294, z: 0} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_Children: [] + m_Father: {fileID: 1016200897} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &835910003 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 835910001} + m_Text: False + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 3 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 137 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &835910004 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 835910001} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &852192631 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1835462303943884, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 852192632} + - component: {fileID: 852192635} + - component: {fileID: 852192634} + - component: {fileID: 852192633} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &852192632 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224385282562073920, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 852192631} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1559890980} + - {fileID: 779188496} + - {fileID: 370377248} + - {fileID: 1752221183} + - {fileID: 1685246316} + - {fileID: 285555682} + - {fileID: 1421540402} + - {fileID: 615169440} + - {fileID: 1743494680} + m_Father: {fileID: 952242764} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 512.5886, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &852192633 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114803053854114090, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 852192631} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &852192634 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114747735679590474, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 852192631} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &852192635 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223269791768138664, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 852192631} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &870068032 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 835910002} - - component: {fileID: 835910004} - - component: {fileID: 835910003} + - component: {fileID: 870068033} + - component: {fileID: 870068037} + - component: {fileID: 870068036} + - component: {fileID: 870068035} + - component: {fileID: 870068034} m_Layer: 0 - m_Name: ThumbstickPressedValue + m_Name: Backpanel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &835910002 +--- !u!4 &870068033 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000013214815442, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 835910001} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.0286, y: 0.0294, z: 0} - m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_GameObject: {fileID: 870068032} + m_LocalRotation: {x: 0, y: 0.5, z: 0, w: 0.8660254} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} m_Children: [] - m_Father: {fileID: 1016200897} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!102 &835910003 -TextMesh: - serializedVersion: 3 + m_Father: {fileID: 449191224} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 60, z: 0} +--- !u!54 &870068034 +Rigidbody: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 102000011195525790, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 54100405396922970, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 835910001} - m_Text: False - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 3 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 137 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &835910004 + m_GameObject: {fileID: 870068032} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &870068035 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000012135378414, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 835910001} + m_GameObject: {fileID: 870068032} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -2716,7 +3626,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -2724,7 +3634,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -2736,11 +3646,27 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!4 &844015981 stripped -Transform: - m_PrefabParentObject: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, +--- !u!65 &870068036 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, type: 2} - m_PrefabInternal: {fileID: 1873443075} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 870068032} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &870068037 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 870068032} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &879693995 GameObject: m_ObjectHideFlags: 0 @@ -3044,67 +3970,96 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!1 &985072501 +--- !u!1 &952242763 GameObject: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 1000012336861358, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 1152677137086646, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} serializedVersion: 5 m_Component: - - component: {fileID: 985072502} - - component: {fileID: 985072504} - - component: {fileID: 985072503} + - component: {fileID: 952242764} m_Layer: 0 - m_Name: HeaderText + m_Name: Panel1 (1) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &985072502 +--- !u!4 &952242764 Transform: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 4000012865020164, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 4579641208005124, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 985072501} + m_GameObject: {fileID: 952242763} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.018, y: 0.08150816, z: -0.005367279} - m_LocalScale: {x: 0.00311, y: 0.00311, z: 0.00311} + m_LocalPosition: {x: -0.009, y: 0, z: 0.193} + m_LocalScale: {x: 1.0000024, y: 1.000002, z: 1.000002} + m_Children: + - {fileID: 852192632} + - {fileID: 1993374289} + - {fileID: 1757903587} + m_Father: {fileID: 2111271683} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &980501333 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1076840190721308, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 980501334} + - component: {fileID: 980501338} + - component: {fileID: 980501337} + - component: {fileID: 980501336} + - component: {fileID: 980501335} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &980501334 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4851099024189204, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 980501333} + m_LocalRotation: {x: 0, y: 0.86602545, z: 0, w: 0.49999994} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} m_Children: [] - m_Father: {fileID: 1819716937} + m_Father: {fileID: 1632513586} m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!102 &985072503 -TextMesh: - serializedVersion: 3 + m_LocalEulerAnglesHint: {x: 0, y: 120, z: 0} +--- !u!54 &980501335 +Rigidbody: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 102000012894825938, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 54652109647812068, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 985072501} - m_Text: Debug Message - m_OffsetZ: 0 - m_CharacterSize: 1 - m_LineSpacing: 1 - m_Anchor: 3 - m_Alignment: 0 - m_TabSize: 4 - m_FontSize: 500 - m_FontStyle: 0 - m_RichText: 1 - m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} - m_Color: - serializedVersion: 2 - rgba: 4294967295 ---- !u!23 &985072504 + m_GameObject: {fileID: 980501333} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &980501336 MeshRenderer: m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 23000013697017518, guid: f577dc6ac28e45e419440dda122c88ef, + m_PrefabParentObject: {fileID: 23734633781358164, guid: 42b7699419297d24aa14535697918b4c, type: 2} m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 985072501} + m_GameObject: {fileID: 980501333} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -3113,7 +4068,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -3121,7 +4076,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 - m_PreserveUVs: 0 + m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 m_StitchLightmapSeams: 0 @@ -3133,6 +4088,27 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!65 &980501337 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65220125403651066, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 980501333} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &980501338 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33521007365351282, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 980501333} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1006059210 GameObject: m_ObjectHideFlags: 0 @@ -3346,71 +4322,6 @@ Transform: m_Father: {fileID: 1463513600} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!1 &1020433839 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 5 - m_Component: - - component: {fileID: 1020433841} - - component: {fileID: 1020433840} - m_Layer: 0 - m_Name: Directional Light - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!108 &1020433840 -Light: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1020433839} - m_Enabled: 1 - serializedVersion: 8 - m_Type: 1 - m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} - m_Intensity: 0.2 - m_Range: 10 - m_SpotAngle: 30 - m_CookieSize: 10 - m_Shadows: - m_Type: 2 - m_Resolution: -1 - m_CustomResolution: -1 - m_Strength: 1 - m_Bias: 0.05 - m_NormalBias: 0.4 - m_NearPlane: 0.2 - m_Cookie: {fileID: 0} - m_DrawHalo: 0 - m_Flare: {fileID: 0} - m_RenderMode: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_Lightmapping: 4 - m_AreaSize: {x: 1, y: 1} - m_BounceIntensity: 1 - m_ColorTemperature: 6570 - m_UseColorTemperature: 0 - m_ShadowRadius: 0 - m_ShadowAngle: 0 ---- !u!4 &1020433841 -Transform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1020433839} - m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} - m_LocalPosition: {x: 0, y: 3, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} --- !u!1 &1033796767 GameObject: m_ObjectHideFlags: 0 @@ -3704,7 +4615,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1080967378} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.0218, y: 0.2031, z: 0} + m_LocalPosition: {x: 0.026, y: 0.2031, z: 0} m_LocalScale: {x: 0.0019999999, y: 0.0019999999, z: 0.0019999999} m_Children: [] m_Father: {fileID: 1835177425} @@ -3718,14 +4629,14 @@ TextMesh: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1080967378} - m_Text: LEFT + m_Text: Left motion controller m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 m_Anchor: 3 m_Alignment: 0 m_TabSize: 4 - m_FontSize: 500 + m_FontSize: 250 m_FontStyle: 0 m_RichText: 1 m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} @@ -3800,7 +4711,7 @@ Transform: m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} m_Children: [] m_Father: {fileID: 1819716937} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &1095093714 MonoBehaviour: @@ -3854,7 +4765,7 @@ MeshRenderer: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1095093712} - m_Enabled: 1 + m_Enabled: 0 m_CastShadows: 1 m_ReceiveShadows: 1 m_DynamicOccludee: 1 @@ -4652,8 +5563,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1322951682} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -0.979, y: 1.046, z: 2.0096436} + m_LocalRotation: {x: 0, y: -0.258819, z: 0, w: 0.9659259} + m_LocalPosition: {x: -2.069, y: 0.33299994, z: 1.888} m_LocalScale: {x: 1.5565684, y: 1.5565687, z: 1.5565687} m_Children: - {fileID: 1835177425} @@ -4663,8 +5574,8 @@ Transform: - {fileID: 823003686} - {fileID: 2131677962} m_Father: {fileID: 613472660} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: -30, z: 0} --- !u!1 &1361861878 GameObject: m_ObjectHideFlags: 0 @@ -4996,6 +5907,84 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1421540401 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1421540402} + - component: {fileID: 1421540404} + - component: {fileID: 1421540403} + m_Layer: 5 + m_Name: Title (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1421540402 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1421540401} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050065294, y: 0.00050065294, z: 0.00050065294} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8216, y: -322.856} + m_SizeDelta: {x: 1107.8, y: 76.5639} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1421540403 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1421540401} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Motion controller resources +--- !u!222 &1421540404 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1421540401} --- !u!1 &1428410254 GameObject: m_ObjectHideFlags: 0 @@ -5085,6 +6074,37 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1451781126 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1796302851915538, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1451781127} + m_Layer: 0 + m_Name: Panel3 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1451781127 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4670709106308790, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1451781126} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.271, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 432940257} + m_Father: {fileID: 2111271683} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1463513599 GameObject: m_ObjectHideFlags: 0 @@ -5106,8 +6126,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1463513599} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.175, y: 1.046, z: 2.0096436} + m_LocalRotation: {x: 0, y: 0.2588191, z: 0, w: 0.9659258} + m_LocalPosition: {x: 0.383, y: 0.33299994, z: 2.09} m_LocalScale: {x: 1.5565684, y: 1.5565687, z: 1.5565687} m_Children: - {fileID: 912657599} @@ -5117,8 +6137,8 @@ Transform: - {fileID: 601090447} - {fileID: 482625260} m_Father: {fileID: 613472660} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 30, z: 0} --- !u!1 &1488963448 GameObject: m_ObjectHideFlags: 0 @@ -5653,6 +6673,84 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1559890979 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1559890980} + - component: {fileID: 1559890982} + - component: {fileID: 1559890981} + m_Layer: 5 + m_Name: Title + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1559890980 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1559890979} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.73904} + m_SizeDelta: {x: 1107.8, y: 244.2} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1559890981 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1559890979} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 78 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Motion Controller Test +--- !u!222 &1559890982 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1559890979} --- !u!1 &1604613829 GameObject: m_ObjectHideFlags: 0 @@ -5742,6 +6840,37 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1632513585 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1502550149394970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1632513586} + m_Layer: 0 + m_Name: Panel2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1632513586 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4706133977960180, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1632513585} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.635, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 980501334} + m_Father: {fileID: 2111271683} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1638332237 GameObject: m_ObjectHideFlags: 0 @@ -5831,6 +6960,84 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1685246315 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1113360108618934, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1685246316} + - component: {fileID: 1685246318} + - component: {fileID: 1685246317} + m_Layer: 5 + m_Name: DeviceTypes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1685246316 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224644953376245418, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1685246315} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.63422} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1685246317 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114745954840247250, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1685246315} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Immersive headset +--- !u!222 &1685246318 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222889759466084120, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1685246315} --- !u!1 &1741479576 GameObject: m_ObjectHideFlags: 0 @@ -5857,7 +7064,7 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1741479576} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0.0218, y: 0.2031, z: 0} + m_LocalPosition: {x: 0.025, y: 0.2031, z: 0} m_LocalScale: {x: 0.0019999999, y: 0.0019999999, z: 0.0019999999} m_Children: [] m_Father: {fileID: 912657599} @@ -5871,14 +7078,14 @@ TextMesh: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1741479576} - m_Text: RIGHT + m_Text: Right motion controller m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 m_Anchor: 3 m_Alignment: 0 m_TabSize: 4 - m_FontSize: 500 + m_FontSize: 250 m_FontStyle: 0 m_RichText: 1 m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} @@ -5920,6 +7127,268 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1743494679 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1743494680} + - component: {fileID: 1743494682} + - component: {fileID: 1743494681} + m_Layer: 5 + m_Name: Title (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1743494680 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1743494679} + m_LocalRotation: {x: 0.38268343, y: 0, z: 0, w: 0.92387956} + m_LocalPosition: {x: 0, y: 0, z: 0.691} + m_LocalScale: {x: 0.00050065294, y: 0.00050065294, z: 0.00050065294} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.854, y: -323.303} + m_SizeDelta: {x: 1107.8, y: 76.5639} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1743494681 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1743494679} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 1 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: You can interact with cubes using pointers +--- !u!222 &1743494682 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1743494679} +--- !u!1 &1752221182 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1485382055181008, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1752221183} + - component: {fileID: 1752221185} + - component: {fileID: 1752221184} + m_Layer: 5 + m_Name: WorksOn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1752221183 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224413024187748670, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1752221182} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 852192632} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.61212} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1752221184 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114544788369345886, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1752221182} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Works on +--- !u!222 &1752221185 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222602141398920914, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1752221182} +--- !u!1 &1757903586 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1757903587} + - component: {fileID: 1757903591} + - component: {fileID: 1757903590} + - component: {fileID: 1757903589} + - component: {fileID: 1757903588} + m_Layer: 0 + m_Name: Backpanel (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1757903587 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1757903586} + m_LocalRotation: {x: 0.27059805, y: 0.65328157, z: 0.27059805, w: 0.6532815} + m_LocalPosition: {x: -0.257, y: -0.27800956, z: -0.648} + m_LocalScale: {x: 0.013218278, y: 0.053587157, z: 0.54558414} + m_Children: [] + m_Father: {fileID: 952242764} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 90.00001, z: 45} +--- !u!54 &1757903588 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54100405396922970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1757903586} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1757903589 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1757903586} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1757903590 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1757903586} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1757903591 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1757903586} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1819716936 GameObject: m_ObjectHideFlags: 0 @@ -5944,13 +7413,12 @@ Transform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1819716936} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 1.004, y: 1.378, z: 2} + m_LocalPosition: {x: 1.301, y: 0.66499996, z: 2} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 985072502} - {fileID: 1095093713} m_Father: {fileID: 613472660} - m_RootOrder: 0 + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1835177424 GameObject: @@ -6025,7 +7493,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} propertyPath: m_RootOrder - value: 2 + value: 1 objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} @@ -6130,7 +7598,7 @@ Prefab: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 648067040} + m_TransformParent: {fileID: 0} m_Modifications: - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_LocalPosition.x @@ -6146,15 +7614,15 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_LocalRotation.x - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_LocalRotation.y - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_LocalRotation.z - value: 0 + value: -0 objectReference: {fileID: 0} - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_LocalRotation.w @@ -6162,7 +7630,7 @@ Prefab: objectReference: {fileID: 0} - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} propertyPath: m_RootOrder - value: 0 + value: 2 objectReference: {fileID: 0} - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} @@ -6795,6 +8263,112 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &1993374288 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1993374289} + - component: {fileID: 1993374293} + - component: {fileID: 1993374292} + - component: {fileID: 1993374291} + - component: {fileID: 1993374290} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1993374289 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1993374288} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} + m_Children: [] + m_Father: {fileID: 952242764} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &1993374290 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54100405396922970, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1993374288} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1993374291 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1993374288} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1993374292 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1993374288} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1993374293 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1993374288} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} --- !u!1001 &1996766209 Prefab: m_ObjectHideFlags: 0 @@ -7050,6 +8624,40 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &2111271682 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1037805327611902, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2111271683} + m_Layer: 0 + m_Name: SceneDescriptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2111271683 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4038737183939630, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2111271682} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.19, y: -0.09700006, z: 2.027} + m_LocalScale: {x: 1.9374653, y: 1.937466, z: 1.937466} + m_Children: + - {fileID: 449191224} + - {fileID: 1632513586} + - {fileID: 1451781127} + - {fileID: 952242764} + m_Father: {fileID: 613472660} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &2124728368 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/HoloToolkit-Examples/Input/Scenes/TwoHandManipulationTest.unity b/Assets/HoloToolkit-Examples/Input/Scenes/TwoHandManipulationTest.unity index bd2f9c4ec58..5ff551ff093 100644 --- a/Assets/HoloToolkit-Examples/Input/Scenes/TwoHandManipulationTest.unity +++ b/Assets/HoloToolkit-Examples/Input/Scenes/TwoHandManipulationTest.unity @@ -712,12 +712,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} m_Name: m_EditorClassIdentifier: - HostTransform: {fileID: 0} + hostTransform: {fileID: 0} boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, type: 2} - ManipulationMode: 1 - ConstraintOnRotation: 3 - OneHandMovement: 1 + manipulationMode: 4 + constraintOnRotation: 3 + oneHandMovement: 1 --- !u!65 &687798438 BoxCollider: m_ObjectHideFlags: 0 @@ -1425,12 +1425,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} m_Name: m_EditorClassIdentifier: - HostTransform: {fileID: 0} + hostTransform: {fileID: 0} boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, type: 2} - ManipulationMode: 1 - ConstraintOnRotation: 2 - OneHandMovement: 1 + manipulationMode: 4 + constraintOnRotation: 2 + oneHandMovement: 1 --- !u!65 &1141423121 BoxCollider: m_ObjectHideFlags: 0 @@ -1652,12 +1652,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} m_Name: m_EditorClassIdentifier: - HostTransform: {fileID: 0} + hostTransform: {fileID: 0} boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, type: 2} - ManipulationMode: 2 - ConstraintOnRotation: 0 - OneHandMovement: 1 + manipulationMode: 3 + constraintOnRotation: 0 + oneHandMovement: 1 --- !u!65 &1337778049 BoxCollider: m_ObjectHideFlags: 0 @@ -2448,12 +2448,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} m_Name: m_EditorClassIdentifier: - HostTransform: {fileID: 0} + hostTransform: {fileID: 0} boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, type: 2} - ManipulationMode: 4 - ConstraintOnRotation: 0 - OneHandMovement: 1 + manipulationMode: 7 + constraintOnRotation: 0 + oneHandMovement: 1 --- !u!1 &1838090887 GameObject: m_ObjectHideFlags: 0 @@ -2551,12 +2551,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} m_Name: m_EditorClassIdentifier: - HostTransform: {fileID: 0} + hostTransform: {fileID: 0} boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, type: 2} - ManipulationMode: 0 - ConstraintOnRotation: 0 - OneHandMovement: 1 + manipulationMode: 2 + constraintOnRotation: 0 + oneHandMovement: 1 --- !u!65 &1886941386 BoxCollider: m_ObjectHideFlags: 0 diff --git a/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/GenericNetworkTransmitter.cs b/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/GenericNetworkTransmitter.cs index 1ecfae6a850..119efd588a6 100644 --- a/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/GenericNetworkTransmitter.cs +++ b/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/GenericNetworkTransmitter.cs @@ -1,12 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using HoloToolkit.Unity; using System; using System.Collections.Generic; using UnityEngine; -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) using Windows.Networking.Sockets; using Windows.Storage.Streams; using Windows.Networking; @@ -30,10 +29,6 @@ public class GenericNetworkTransmitter : Singleton /// The data that arrived. public delegate void OnDataReady(byte[] data); -#if UNITY_WSA - public event OnDataReady DataReadyEvent; -#endif - /// /// The server to connect to when data is needed. /// @@ -49,7 +44,7 @@ public class GenericNetworkTransmitter : Singleton /// private byte[] mostRecentDataBuffer; -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) /// /// Tracks the network connection to the remote machine we are sending meshes to. /// @@ -64,6 +59,8 @@ public class GenericNetworkTransmitter : Singleton /// If we cannot connect to the server, this is how long we will wait before retrying. /// private float timeToDeferFailedConnections = 10.0f; + + public event OnDataReady DataReadyEvent; #endif /// @@ -107,7 +104,7 @@ private void Update() } // A lot of the work done in this class can only be done in UWP. The editor is not a UWP app. -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) private void RequestDataRetry() { if (!RequestAndGetData()) @@ -122,7 +119,7 @@ private void RequestDataRetry() /// public void ConfigureAsServer() { -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) Task t = new Task(() => { networkListener = new StreamSocketListener(); @@ -143,7 +140,7 @@ public void ConfigureAsServer() /// private bool ConnectListener() { -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) if (waitingForConnection) { Debug.Log("Not a good time to connect listener"); @@ -165,7 +162,7 @@ private bool ConnectListener() #endif } -#if !UNITY_EDITOR && UNITY_WSA +#if !UNITY_EDITOR && UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) /// /// When a connection is made to us, this call back gets called and /// we send our data. diff --git a/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/UNetAnchorManager.cs b/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/UNetAnchorManager.cs index f386046869b..d6e463681b8 100644 --- a/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/UNetAnchorManager.cs +++ b/Assets/HoloToolkit-Examples/SharingWithUNET/Scripts/UNetAnchorManager.cs @@ -187,7 +187,7 @@ private void Start() return; } -#if UNITY_WSA +#if UNITY_WSA && (!ENABLE_IL2CPP && NET_STANDARD_2_0) #if UNITY_2017_2_OR_NEWER if (HolographicSettings.IsDisplayOpaque) #else diff --git a/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity b/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity new file mode 100644 index 00000000000..f13dae8ce28 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity @@ -0,0 +1,830 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 0 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 0 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &106786992 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 106786993} + - component: {fileID: 106786997} + - component: {fileID: 106786996} + - component: {fileID: 106786995} + - component: {fileID: 106786999} + - component: {fileID: 106786998} + m_Layer: 0 + m_Name: MRTKPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &106786993 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 2.01} + m_LocalScale: {x: 0.5, y: 0.23, z: 0.02} + m_Children: + - {fileID: 1944091975} + - {fileID: 235191974} + - {fileID: 1182949965} + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &106786995 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &106786996 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &106786997 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &106786998 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ceb8d335111f5e24a8cbf8d993f71e34, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateLinkedTransform: 0 + MoveLerpTime: 0.3 + RotateLerpTime: 0.3 + ScaleLerpTime: 0 + MaintainScale: 1 + GoalPosition: {x: 0, y: 0, z: 0} + GoalRotation: {x: 0, y: 0, z: 0, w: 0} + GoalScale: {x: 0, y: 0, z: 0} + Smoothing: 1 + Lifetime: 0 + MagneticSurface: + serializedVersion: 2 + m_Bits: 2147483648 + MaxDistance: 10 + CloseDistance: 0.5 + SurfaceNormalOffset: 0.05 + SurfaceRayOffset: 0.05 + raycastMode: 0 + BoxRaysPerEdge: 3 + OrthoBoxCast: 0 + MaximumNormalVariance: 0.5 + SphereSize: 1 + VolumeCastSizeOverride: 0 + UseLinkedAltScaleOverride: 0 + raycastDirection: 0 + orientationMode: 2 + OrientBlend: 0.65 + OnSurface: 0 +--- !u!114 &106786999 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 106786992} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c87713fbad4edbc46a3cc23770b0b4c3, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 6 + handedness: 1 + trackedObjectToReference: 0 + transformTarget: {fileID: 0} +--- !u!1 &235191973 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 235191974} + - component: {fileID: 235191977} + - component: {fileID: 235191976} + - component: {fileID: 235191975} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &235191974 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235191973} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.0009, y: 0.002, z: -0.95} + m_LocalScale: {x: 0.92027974, y: 0.01, z: 1} + m_Children: [] + m_Father: {fileID: 106786993} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &235191975 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235191973} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &235191976 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235191973} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &235191977 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 235191973} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1001 &899907373 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + propertyPath: Cursor + value: + objectReference: {fileID: 1511235743} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &1182949964 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1182949965} + - component: {fileID: 1182949966} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1182949965 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1182949964} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.248, z: -1} + m_LocalScale: {x: 0.026908837, y: 0.06005674, z: 0.016575795} + m_Children: [] + m_Father: {fileID: 106786993} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &1182949966 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 42b7699419297d24aa14535697918b4c, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1182949964} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!1001 &1243038804 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000013298573622, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 114000011154029958, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, + type: 2} + propertyPath: surfaceMaterial + value: + objectReference: {fileID: 2100000, guid: 729453690df4d40488b01b78b3af849d, type: 2} + - target: {fileID: 114000011154029958, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, + type: 2} + propertyPath: PhysicsLayer + value: 31 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 2ed75ffdf9031c94e8bce4b3d17b9928, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &1325178175 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1325178179} + - component: {fileID: 1325178178} + - component: {fileID: 1325178177} + - component: {fileID: 1325178176} + m_Layer: 0 + m_Name: SpatialProcessing + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1325178176 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1325178175} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d4077c41b4858904d8088a87ef45baed, type: 3} + m_Name: + m_EditorClassIdentifier: + BoundsExpansion: 0.2 +--- !u!114 &1325178177 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1325178175} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: acbc42345d6a90543ab66003022593fa, type: 3} + m_Name: + m_EditorClassIdentifier: + ActivePlanes: [] + SurfacePlanePrefab: {fileID: 1000010593991404, guid: e2f0116ed6ef0d44bb7791f327bea328, + type: 2} + MinArea: 0.025 + drawPlanesMask: 15 + destroyPlanesMask: 16 +--- !u!114 &1325178178 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1325178175} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5b6523eb1277a7b44baf8ad27e52950c, type: 3} + m_Name: + m_EditorClassIdentifier: + scanTime: 15 + defaultMaterial: {fileID: 2100000, guid: 729453690df4d40488b01b78b3af849d, type: 2} + secondaryMaterial: {fileID: 2100000, guid: df172103f5fba4a4d8636aeca60cb0d7, type: 2} + minimumFloors: 1 +--- !u!4 &1325178179 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1325178175} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &1511235742 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + m_IsPrefabParent: 0 +--- !u!114 &1511235743 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114611684728110934, guid: a611e772ef8ddf64d8106a9cbb70f31c, + type: 2} + m_PrefabInternal: {fileID: 1511235742} + m_Script: {fileID: 11500000, guid: 0decd33ba8702954885a62b5bc1a778e, type: 3} +--- !u!1 &1615710843 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1615710845} + - component: {fileID: 1615710844} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1615710844 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615710843} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1615710845 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615710843} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1001 &1816077853 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + m_IsPrefabParent: 0 +--- !u!1001 &1944091974 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 106786993} + m_Modifications: + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalPosition.x + value: 0.009 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalPosition.y + value: -0.229 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalPosition.z + value: -0.96 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalScale.y + value: 0.0040806695 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalScale.x + value: 0.0020292385 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + propertyPath: m_LocalScale.z + value: 0.0020292373 + objectReference: {fileID: 0} + - target: {fileID: 102000010767390410, guid: 2702ecab89b993642b714ec200597bbb, + type: 2} + propertyPath: m_FontSize + value: 300 + objectReference: {fileID: 0} + - target: {fileID: 102000010767390410, guid: 2702ecab89b993642b714ec200597bbb, + type: 2} + propertyPath: m_Text + value: 'Spatial Processing + + + Solver Surface Magnetism' + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 2702ecab89b993642b714ec200597bbb, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1944091975 stripped +Transform: + m_PrefabParentObject: {fileID: 4000010330146594, guid: 2702ecab89b993642b714ec200597bbb, + type: 2} + m_PrefabInternal: {fileID: 1944091974} diff --git a/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity.meta b/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity.meta new file mode 100644 index 00000000000..8d97be507a8 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d890c37757f470e4085bc16dc04f6b85 +timeCreated: 1526427666 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpatialMapping/Scripts/PlaneFindingTest.cs b/Assets/HoloToolkit-Examples/SpatialMapping/Scripts/PlaneFindingTest.cs index e92003aeeeb..1db918e2fc7 100644 --- a/Assets/HoloToolkit-Examples/SpatialMapping/Scripts/PlaneFindingTest.cs +++ b/Assets/HoloToolkit-Examples/SpatialMapping/Scripts/PlaneFindingTest.cs @@ -111,7 +111,11 @@ private void OnDrawGizmosSelected() UnityEditor.Handles.DrawLine(corners[1], corners[2]); UnityEditor.Handles.DrawLine(corners[1], corners[3]); UnityEditor.Handles.DrawLine(corners[2], corners[3]); +#if UNITY_2017_3_OR_NEWER + UnityEditor.Handles.ArrowHandleCap(0, center, Quaternion.FromToRotation(Vector3.forward, normal), 0.4f, EventType.Ignore); +#else UnityEditor.Handles.ArrowHandleCap(0, center, Quaternion.FromToRotation(Vector3.forward, normal), 0.4f, EventType.ignore); +#endif // If this plane is currently in the center of the camera's field of view, highlight it by drawing a // solid rectangle, and display the important details about this plane. diff --git a/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md b/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md new file mode 100644 index 00000000000..68f7c614cb6 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md @@ -0,0 +1,24 @@ +# Spatial Processing + Solver Surface Magnetism example +This example shows how to make objects smoothly align with the physical surface. For more information about Spatial Processing and Solver system, please read these README files. +- [Spatial Processing](/Assets/HoloToolkit/SpatialMapping/README.md) +- [Solver System](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) + +## Demo Video +https://gfycat.com/PitifulRareKodiakbear + +## Scene +[SpatialProcessingSurfaceMagnetism.unity](/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessingSurfaceMagnetism.unity) + +## How to use +You need to assign same Unity layer to the Spatial mapping’s plane and Solver Surface Magnetism’s Magnetic Surface. + +1. Add a new layer for the planes created by Spatial Processing. Mixed Reality Toolkit's **Apply Mixed Reality Projcet Settings** automatically addes a new layer **31:Spatial Mapping**. + +2. In **SpatialMapping** prefab, make sure the **Physics Layer** is set to **31**.
+ +3. Assign **SolverSurfaceMagnetism** script to an object. In **Magnetic Surface** option, select the **SpatialMapping** layer.
+ +4. After initial room scanning, you will be able to see MRTK logo plane smoothly snaps to the surfaces. + + + diff --git a/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md.meta b/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md.meta new file mode 100644 index 00000000000..b179abde4a8 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: acc2d106e2416d14fae60f12c2288397 +timeCreated: 1526577032 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity b/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity index 3e8b3102796..abfeaf85b32 100644 --- a/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity +++ b/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1} + m_IndirectSpecularColor: {r: 0.44657844, g: 0.49641222, b: 0.57481694, a: 1} --- !u!157 &3 LightmapSettings: m_ObjectHideFlags: 0 @@ -88,6 +88,7 @@ LightmapSettings: m_PVRFilteringAtrousPositionSigmaDirect: 0.5 m_PVRFilteringAtrousPositionSigmaIndirect: 2 m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 m_LightingDataAsset: {fileID: 0} m_UseShadowmask: 1 --- !u!196 &4 @@ -253,8 +254,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} m_Name: m_EditorClassIdentifier: - PivotAxis: 2 - TargetTransform: {fileID: 0} --- !u!102 &81406037 TextMesh: serializedVersion: 3 @@ -262,7 +261,7 @@ TextMesh: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 81406031} - m_Text: + m_Text: Debug Sub Display Message m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 @@ -272,7 +271,7 @@ TextMesh: m_FontSize: 64 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -290,7 +289,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -425,6 +424,103 @@ CanvasRenderer: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 118737789} +--- !u!1 &142128564 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 142128565} + - component: {fileID: 142128568} + - component: {fileID: 142128567} + - component: {fileID: 142128566} + m_Layer: 0 + m_Name: SceneTitle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &142128565 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 142128564} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.0631, z: 0} + m_LocalScale: {x: 0.0034999999, y: 0.0034999999, z: 1} + m_Children: [] + m_Father: {fileID: 1372945794} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &142128566 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 142128564} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!102 &142128567 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 142128564} + m_Text: SPATIAL UNDERSTANDING DEMO + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 1 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 32 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &142128568 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 142128564} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 --- !u!1 &169146495 GameObject: m_ObjectHideFlags: 0 @@ -621,6 +717,91 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 +--- !u!1 &350406424 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 350406425} + - component: {fileID: 350406426} + - component: {fileID: 350406427} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &350406425 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 350406424} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.0958, z: 0} + m_LocalScale: {x: 0.007923925, y: 0.007923925, z: 0.007923925} + m_Children: [] + m_Father: {fileID: 1372945794} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!212 &350406426 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 350406424} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20.48, y: 5.12} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!114 &350406427 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 350406424} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &381623879 GameObject: m_ObjectHideFlags: 0 @@ -805,7 +986,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 522125112} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 200, y: -149.9997, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 457647370} @@ -895,6 +1076,10 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 906323c940a3fad4f8f7e9e4fcd747f4, type: 3} m_Name: m_EditorClassIdentifier: + containerObject: {fileID: 0} + alignmentType: 0 + stationarySpaceTypePosition: {x: 0, y: 0, z: 0} + roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} --- !u!1 &596624132 GameObject: m_ObjectHideFlags: 0 @@ -1104,8 +1289,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} m_Name: m_EditorClassIdentifier: - PivotAxis: 2 - TargetTransform: {fileID: 0} --- !u!102 &871455724 TextMesh: serializedVersion: 3 @@ -1113,7 +1296,7 @@ TextMesh: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 871455718} - m_Text: + m_Text: Debug Display Message m_OffsetZ: 0 m_CharacterSize: 1 m_LineSpacing: 1 @@ -1123,7 +1306,7 @@ TextMesh: m_FontSize: 64 m_FontStyle: 0 m_RichText: 1 - m_Font: {fileID: 0} + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 @@ -1141,7 +1324,7 @@ MeshRenderer: m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 m_Materials: - - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0} + - {fileID: 2100000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1185,7 +1368,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 903006227} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 120, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 936154205} @@ -1256,7 +1439,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 936154204} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -200, y: -0.00031280518, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1310560910} @@ -1326,7 +1509,7 @@ Transform: m_GameObject: {fileID: 1034659176} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: -0.1} - m_LocalScale: {x: 0.75, y: 0.75, z: 1} + m_LocalScale: {x: 0.39750016, y: 0.39750016, z: 0.5300002} m_Children: - {fileID: 1850738766} m_Father: {fileID: 552547624} @@ -1532,7 +1715,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1283525608} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: -149.99847, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 659070202} @@ -1719,6 +1902,8 @@ Transform: m_Children: - {fileID: 871455719} - {fileID: 81406032} + - {fileID: 350406425} + - {fileID: 142128565} m_Father: {fileID: 552547624} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1756,20 +1941,20 @@ MonoBehaviour: TagalongDistance: 1.75 EnforceDistance: 1 PositionUpdateSpeed: 10 - SmoothMotion: 0 - SmoothingFactor: 0.6 + SmoothMotion: 1 + SmoothingFactor: 0.282 --- !u!114 &1372945797 MonoBehaviour: m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1372945793} - m_Enabled: 0 + m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fb69de839bd015f4099b5bd2c45e53e5, type: 3} m_Name: m_EditorClassIdentifier: - UseUnscaledTime: 1 + UseUnscaledTime: 0 PositionPerSecond: 30 RotationDegreesPerSecond: 720 RotationSpeedScaler: 0 @@ -1886,7 +2071,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1446333079} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: -200, y: -149.99847, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 837522657} @@ -2029,7 +2214,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1487623904} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: -0.00030136108, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1968279350} @@ -2338,7 +2523,7 @@ RectTransform: m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1872498313} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 200, y: -0.00030136108, z: 0} + m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 169146496} diff --git a/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scripts/AppState.cs b/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scripts/AppState.cs index e921f50d0aa..c938bb2ebf8 100644 --- a/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scripts/AppState.cs +++ b/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scripts/AppState.cs @@ -275,7 +275,7 @@ private void Update() public void OnSourceDetected(SourceStateEventData eventData) { // If the source has positional info and there is currently no visible source - if (eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.Position)) + if (eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.GripPosition)) { trackedHandsCount++; } @@ -283,7 +283,7 @@ public void OnSourceDetected(SourceStateEventData eventData) public void OnSourceLost(SourceStateEventData eventData) { - if (eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.Position)) + if (eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.GripPosition)) { trackedHandsCount--; } diff --git a/Assets/HoloToolkit-Examples/SpectatorView.meta b/Assets/HoloToolkit-Examples/SpectatorView.meta new file mode 100644 index 00000000000..3555c805bd2 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: fde6a1da66bb6954aa6538dccfa681a2 +folderAsset: yes +timeCreated: 1522053618 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models.meta b/Assets/HoloToolkit-Examples/SpectatorView/Models.meta new file mode 100644 index 00000000000..821a3800948 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ef14fdeb2d33c4f9b9e18a166e971dd8 +folderAsset: yes +timeCreated: 1516710234 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials.meta b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials.meta new file mode 100644 index 00000000000..079116f0c88 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: fbb0ed3c184fc4108aa9a03fef6198e3 +folderAsset: yes +timeCreated: 1516710234 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat new file mode 100644 index 00000000000..5a3d44819a7 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat @@ -0,0 +1,76 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: material + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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_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.7176471, g: 1, b: 0.8196078, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat.meta b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat.meta new file mode 100644 index 00000000000..41a113b1ea6 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models/Materials/material.mat.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 8b0696fc799e4445eb0042ab7ac412a6 +timeCreated: 1516710234 +licenseType: Pro +NativeFormatImporter: + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae b/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae new file mode 100644 index 00000000000..9265aa0bc32 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae @@ -0,0 +1,119 @@ + + + + + SketchUp 6.0.1099 + + 2017-12-24T15:44:11Z + 2017-12-24T15:44:11Z + + Z_UP + + + + + + + 35 + 0 + 1 + 1000 + + + + + + + + + 35 + 0 + 1 + 1000 + + + + + + + + + + 0.8927278 0.1751417 -0.4151656 -49.4531 -0.4505964 0.3469931 -0.8225319 -170.3527 -8.326673e-17 0.9213692 0.3886886 98.62889 0 0 0 1 + + + + 0.8498721 -0.1387236 0.5084025 281.4383 0.5269889 0.2237188 -0.8198979 -254.4204 1.110223e-16 0.9647309 0.2632382 173.124 0 0 0 1 + + + + 1 0 0 -36.77844 0 1 0 -62.57122 0 0 1 -2.131628e-14 0 0 0 1 + + + + + + + + + + + + + + + + + + 50.82655 34.10663 23.90008 50.82655 19.33557 0 36.77844 38.67114 14.77106 50.82655 34.10663 23.90008 36.77844 38.67114 14.77106 59.50876 46.05667 0 36.77844 23.90008 23.90008 50.82655 19.33557 0 50.82655 34.10663 23.90008 36.77844 38.67114 14.77106 50.82655 19.33557 0 36.77844 23.90008 23.90008 45.46065 50.62118 23.90008 50.82655 34.10663 23.90008 59.50876 46.05667 0 45.46065 50.62118 23.90008 59.50876 46.05667 0 36.77844 38.67114 14.77106 59.50876 7.38553 23.90008 36.77844 23.90008 23.90008 50.82655 34.10663 23.90008 36.77844 38.67114 14.77106 36.77844 23.90008 23.90008 22.73033 19.33557 0 73.55688 50.62118 23.90008 50.82655 34.10663 23.90008 45.46065 50.62118 23.90008 36.77844 62.57122 2.131628e-14 45.46065 50.62118 23.90008 36.77844 38.67114 14.77106 45.46065 26.7211 38.67114 36.77844 23.90008 23.90008 59.50876 7.38553 23.90008 50.82655 34.10663 23.90008 45.46065 26.7211 38.67114 59.50876 7.38553 23.90008 36.77844 23.90008 23.90008 22.73033 34.10663 23.90008 22.73033 19.33557 0 22.73033 34.10663 23.90008 36.77844 38.67114 14.77106 22.73033 19.33557 0 50.82655 43.23565 38.67114 73.55688 50.62118 23.90008 45.46065 50.62118 23.90008 50.82655 43.23565 38.67114 50.82655 34.10663 23.90008 73.55688 50.62118 23.90008 28.09623 50.62118 23.90008 45.46065 50.62118 23.90008 36.77844 62.57122 2.131628e-14 36.77844 62.57122 2.131628e-14 36.77844 38.67114 14.77106 28.09623 50.62118 23.90008 45.46065 26.7211 38.67114 36.77844 0 38.67114 36.77844 23.90008 23.90008 45.46065 26.7211 38.67114 50.82655 34.10663 23.90008 73.55688 26.7211 38.67114 36.77844 23.90008 23.90008 14.04811 7.38553 23.90008 22.73033 34.10663 23.90008 22.73033 34.10663 23.90008 14.04811 46.05667 2.131628e-14 36.77844 38.67114 14.77106 59.50876 69.95675 38.67114 50.82655 43.23565 38.67114 45.46065 50.62118 23.90008 50.82655 43.23565 38.67114 73.55688 26.7211 38.67114 50.82655 34.10663 23.90008 45.46065 50.62118 23.90008 28.09623 50.62118 23.90008 36.77844 77.34228 23.90008 28.09623 50.62118 23.90008 36.77844 38.67114 14.77106 14.04811 46.05667 2.131628e-14 45.46065 26.7211 38.67114 28.09623 26.7211 38.67114 36.77844 0 38.67114 28.09623 26.7211 38.67114 36.77844 23.90008 23.90008 36.77844 0 38.67114 73.55688 26.7211 38.67114 50.82655 43.23565 38.67114 45.46065 26.7211 38.67114 22.73033 34.10663 23.90008 14.04811 7.38553 23.90008 28.09623 26.7211 38.67114 28.09623 26.7211 38.67114 14.04811 7.38553 23.90008 36.77844 23.90008 23.90008 28.09623 50.62118 23.90008 14.04811 46.05667 2.131628e-14 22.73033 34.10663 23.90008 36.77844 53.4422 38.67114 59.50876 69.95675 38.67114 45.46065 50.62118 23.90008 59.50876 69.95675 38.67114 36.77844 53.4422 38.67114 50.82655 43.23565 38.67114 36.77844 77.34228 23.90008 28.09623 50.62118 23.90008 36.77844 53.4422 38.67114 36.77844 77.34228 23.90008 36.77844 53.4422 38.67114 45.46065 50.62118 23.90008 36.77844 14.77106 62.57122 28.09623 26.7211 38.67114 45.46065 26.7211 38.67114 50.82655 43.23565 38.67114 59.50876 31.28561 62.57122 45.46065 26.7211 38.67114 28.09623 26.7211 38.67114 1.421085e-14 26.7211 38.67114 22.73033 34.10663 23.90008 28.09623 50.62118 23.90008 22.73033 34.10663 23.90008 0 50.62118 23.90008 50.82655 58.00671 62.57122 50.82655 43.23565 38.67114 36.77844 53.4422 38.67114 36.77844 53.4422 38.67114 28.09623 50.62118 23.90008 14.04811 69.95675 38.67114 36.77844 38.67114 47.80016 36.77844 14.77106 62.57122 45.46065 26.7211 38.67114 36.77844 38.67114 47.80016 28.09623 26.7211 38.67114 36.77844 14.77106 62.57122 59.50876 31.28561 62.57122 50.82655 43.23565 38.67114 36.77844 38.67114 47.80016 59.50876 31.28561 62.57122 36.77844 38.67114 47.80016 45.46065 26.7211 38.67114 28.09623 26.7211 38.67114 22.73033 43.23565 38.67114 1.421085e-14 26.7211 38.67114 22.73033 43.23565 38.67114 22.73033 34.10663 23.90008 1.421085e-14 26.7211 38.67114 22.73033 43.23565 38.67114 28.09623 50.62118 23.90008 0 50.62118 23.90008 22.73033 43.23565 38.67114 0 50.62118 23.90008 22.73033 34.10663 23.90008 50.82655 58.00671 62.57122 36.77844 53.4422 38.67114 36.77844 38.67114 47.80016 50.82655 58.00671 62.57122 36.77844 38.67114 47.80016 50.82655 43.23565 38.67114 14.04811 69.95675 38.67114 28.09623 50.62118 23.90008 22.73033 43.23565 38.67114 36.77844 53.4422 38.67114 14.04811 69.95675 38.67114 22.73033 43.23565 38.67114 14.04811 31.28561 62.57122 28.09623 26.7211 38.67114 36.77844 38.67114 47.80016 22.73033 43.23565 38.67114 28.09623 26.7211 38.67114 14.04811 31.28561 62.57122 22.73033 58.00671 62.57122 36.77844 38.67114 47.80016 36.77844 53.4422 38.67114 22.73033 58.00671 62.57122 36.77844 53.4422 38.67114 22.73033 43.23565 38.67114 14.04811 31.28561 62.57122 36.77844 38.67114 47.80016 22.73033 43.23565 38.67114 22.73033 58.00671 62.57122 22.73033 43.23565 38.67114 36.77844 38.67114 47.80016 + + + + + + + + + + 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 -7.851681e-16 -0.8944272 -0.4472136 -7.851681e-16 -0.8944272 -0.4472136 -7.851681e-16 -0.8944272 -0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -1.09305e-15 1.504454e-15 -1 -1.09305e-15 1.504454e-15 -1 -1.09305e-15 1.504454e-15 -1 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 -4.912756e-16 -2.332726e-15 -1 -4.912756e-16 -2.332726e-15 -1 -4.912756e-16 -2.332726e-15 -1 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 4.049815e-15 0.8944272 0.4472136 4.049815e-15 0.8944272 0.4472136 4.049815e-15 0.8944272 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 -4.326925e-16 0.8944272 0.4472136 -4.326925e-16 0.8944272 0.4472136 -4.326925e-16 0.8944272 0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 5.578826e-15 -0.8944272 -0.4472136 5.578826e-15 -0.8944272 -0.4472136 5.578826e-15 -0.8944272 -0.4472136 1.584326e-15 8.282715e-16 -1 1.584326e-15 8.282715e-16 -1 1.584326e-15 8.282715e-16 -1 -1.281064e-15 -0.8944272 -0.4472136 -1.281064e-15 -0.8944272 -0.4472136 -1.281064e-15 -0.8944272 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 -2.225722e-15 1.756296e-15 -1 -2.225722e-15 1.756296e-15 -1 -2.225722e-15 1.756296e-15 -1 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 -2.970739e-30 -6.198693e-16 1 -2.970739e-30 -6.198693e-16 1 -2.970739e-30 -6.198693e-16 1 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 5.895308e-16 -5.258734e-16 1 5.895308e-16 -5.258734e-16 1 5.895308e-16 -5.258734e-16 1 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 7.845276e-15 -1.102723e-15 1 7.845276e-15 -1.102723e-15 1 7.845276e-15 -1.102723e-15 1 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 -4.27602e-15 -0.8944272 -0.4472136 -4.27602e-15 -0.8944272 -0.4472136 -4.27602e-15 -0.8944272 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 0.8506508 -0.2763932 -0.4472136 2.334842e-15 -0.8944272 -0.4472136 2.334842e-15 -0.8944272 -0.4472136 2.334842e-15 -0.8944272 -0.4472136 -9.825513e-16 1.32222e-15 -1 -9.825513e-16 1.32222e-15 -1 -9.825513e-16 1.32222e-15 -1 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.5257311 0.7236068 -0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 4.421736e-15 0.8944272 0.4472136 4.421736e-15 0.8944272 0.4472136 4.421736e-15 0.8944272 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -1.179062e-15 -7.738211e-15 1 -1.179062e-15 -7.738211e-15 1 -1.179062e-15 -7.738211e-15 1 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 1.487687e-15 0.8944272 0.4472136 1.487687e-15 0.8944272 0.4472136 1.487687e-15 0.8944272 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 -0.8506508 0.2763932 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -3.718561e-15 4.577213e-15 1 -3.718561e-15 4.577213e-15 1 -3.718561e-15 4.577213e-15 1 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 0.5257311 -0.7236068 0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 -0.8506508 -0.2763932 -0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 0.8506508 0.2763932 0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 -0.5257311 0.7236068 -0.4472136 3.305971e-16 0.8944272 0.4472136 3.305971e-16 0.8944272 0.4472136 3.305971e-16 0.8944272 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 -0.5257311 -0.7236068 0.4472136 + + + + + + + + + + + + + + +

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179

+
+
+
+
+ + + + + + + + + + + + 0.7176471 1 0.8196078 1 + + + + + + + + + +
diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae.meta b/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae.meta new file mode 100644 index 00000000000..11253ba141c --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Models/model.dae.meta @@ -0,0 +1,104 @@ +fileFormatVersion: 2 +guid: ac268f2717f1c4380a41e6f533919fab +timeCreated: 1516710234 +licenseType: Pro +ModelImporter: + serializedVersion: 22 + fileIDToRecycleName: + 100000: group_0 + 100002: //RootNode + 100004: skp_camera_Home + 100006: skp_camera_Last_Saved_SketchUp_View + 400000: group_0 + 400002: //RootNode + 400004: skp_camera_Home + 400006: skp_camera_Last_Saved_SketchUp_View + 2000000: skp_camera_Home + 2000002: skp_camera_Last_Saved_SketchUp_View + 2300000: group_0 + 3300000: group_0 + 4300000: group_0 + 9500000: //RootNode + externalObjects: + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: material + second: {fileID: 2100000, guid: 8b0696fc799e4445eb0042ab7ac412a6, type: 2} + materials: + importMaterials: 0 + materialName: 0 + materialSearch: 1 + materialLocation: 0 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importVisibility: 1 + importBlendShapes: 1 + importCameras: 1 + importLights: 1 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 60 + normalImportMode: 0 + tangentImportMode: 3 + normalCalculationMode: 4 + importAnimation: 1 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 2 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Scenes.meta b/Assets/HoloToolkit-Examples/SpectatorView/Scenes.meta new file mode 100644 index 00000000000..d2a80235080 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scenes.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 1c1da37a33ada6d4285c6c48573b2a76 +folderAsset: yes +timeCreated: 1509490252 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity b/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity new file mode 100644 index 00000000000..cd8e321fbf3 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity @@ -0,0 +1,557 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &215556205 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 215556207} + - component: {fileID: 215556206} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &215556206 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 215556205} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &215556207 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 215556205} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!114 &501939546 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114101587611864294, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + m_PrefabInternal: {fileID: 582159149} + m_Script: {fileID: 11500000, guid: e0b031a91d31d4a6487ce77e6fffedb6, type: 3} +--- !u!114 &501939547 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114323876434529424, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + m_PrefabInternal: {fileID: 582159149} + m_Script: {fileID: 11500000, guid: 63d5fe4536868454585ceef2ab4a79a7, type: 3} +--- !u!1001 &582159149 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4667940779340642, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114045268312575714, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + propertyPath: arcaNetworkDiscovery + value: + objectReference: {fileID: 792985336} + - target: {fileID: 114045268312575714, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + propertyPath: arcaNetworkManager + value: + objectReference: {fileID: 792985337} + - target: {fileID: 114656237134187744, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + propertyPath: worldRoot + value: + objectReference: {fileID: 812885015} + - target: {fileID: 114727921129934632, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + propertyPath: targetPlatform + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1592115666225962, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1748139202265396, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 697d5b22e978c7f47b6060eb66fb4f71, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &660558862 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 660558865} + - component: {fileID: 660558864} + - component: {fileID: 660558863} + m_Layer: 0 + m_Name: EventSystem + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &660558863 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 660558862} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalAxis: Horizontal + m_VerticalAxis: Vertical + m_SubmitButton: Submit + m_CancelButton: Cancel + m_InputActionsPerSecond: 10 + m_RepeatDelay: 0.5 + m_ForceModuleActive: 0 +--- !u!114 &660558864 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 660558862} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_FirstSelected: {fileID: 0} + m_sendNavigationEvents: 1 + m_DragThreshold: 5 +--- !u!4 &660558865 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 660558862} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &792985334 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4897036316714514, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114498555872222614, guid: 9795b755752f7804bbde8b25bad5ef1c, + type: 2} + propertyPath: markerDetectionHololens + value: + objectReference: {fileID: 501939547} + - target: {fileID: 114498555872222614, guid: 9795b755752f7804bbde8b25bad5ef1c, + type: 2} + propertyPath: markerGeneration3D + value: + objectReference: {fileID: 501939546} + - target: {fileID: 114498555872222614, guid: 9795b755752f7804bbde8b25bad5ef1c, + type: 2} + propertyPath: worldSync + value: + objectReference: {fileID: 1300892938} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 9795b755752f7804bbde8b25bad5ef1c, type: 2} + m_IsPrefabParent: 0 +--- !u!114 &792985336 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114460822705235868, guid: 9795b755752f7804bbde8b25bad5ef1c, + type: 2} + m_PrefabInternal: {fileID: 792985334} + m_Script: {fileID: 11500000, guid: bc665a0f3c45fba45996128521b2de6c, type: 3} +--- !u!114 &792985337 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114498555872222614, guid: 9795b755752f7804bbde8b25bad5ef1c, + type: 2} + m_PrefabInternal: {fileID: 792985334} + m_Script: {fileID: 11500000, guid: 195a65b8698830e4e870989a6152a56a, type: 3} +--- !u!1 &812885014 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 812885015} + m_Layer: 0 + m_Name: WorldRoot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &812885015 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 812885014} + 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_Children: + - {fileID: 1053860186} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1053860185 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1053860186} + - component: {fileID: 1053860189} + - component: {fileID: 1053860188} + - component: {fileID: 1053860187} + - component: {fileID: 1053860190} + - component: {fileID: 1053860191} + m_Layer: 0 + m_Name: Star + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1053860186 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.33, y: -0.41, z: 3} + m_LocalScale: {x: 0.01, y: 0.01, z: 0.01} + m_Children: [] + m_Father: {fileID: 812885015} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1053860187 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1053860188 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 80, y: 80, z: 80} + m_Center: {x: -35, y: 34.6, z: 24.74} +--- !u!33 &1053860189 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_Mesh: {fileID: 4300000, guid: ac268f2717f1c4380a41e6f533919fab, type: 3} +--- !u!114 &1053860190 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ecc72cc4795ef1c41851dae5143ee460, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &1053860191 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053860185} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 372142912, guid: 870353891bb340e2b2a9c8707e7419ba, type: 3} + m_Name: + m_EditorClassIdentifier: + m_SceneId: + m_Value: 0 + m_AssetId: + i0: 0 + i1: 0 + i2: 0 + i3: 0 + i4: 0 + i5: 0 + i6: 0 + i7: 0 + i8: 0 + i9: 0 + i10: 0 + i11: 0 + i12: 0 + i13: 0 + i14: 0 + i15: 0 + m_ServerOnly: 0 + m_LocalPlayerAuthority: 0 +--- !u!114 &1300892938 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114656237134187744, guid: 697d5b22e978c7f47b6060eb66fb4f71, + type: 2} + m_PrefabInternal: {fileID: 582159149} + m_Script: {fileID: 11500000, guid: 7b5cdd7fbfb5e4eaeb300d545eb3a519, type: 3} diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity.meta b/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity.meta new file mode 100644 index 00000000000..f2c46d5a4a5 --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scenes/SpectatorViewExample.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01f6ffa0d8fe36f40b1fa647d527ef37 +timeCreated: 1516632501 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Scripts.meta b/Assets/HoloToolkit-Examples/SpectatorView/Scripts.meta new file mode 100644 index 00000000000..8d1eca22d1b --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scripts.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 8482818f80fe4e944bf4ff62788d984d +folderAsset: yes +timeCreated: 1515511520 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs b/Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs new file mode 100644 index 00000000000..93dbd580c7d --- /dev/null +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using System; +using UnityEngine; +using UnityEngine.Networking; + +namespace HoloToolkit.Examples.SpectatorView +{ + /// + /// Network component that randomly changes the color of its Renderer every given time + /// + public class ColorChanger : NetworkBehaviour + { + /// + /// Current color iteration of the object + /// + [SyncVar] private Color color; + + /// + /// Material to operate on + /// + private Material mat; + + /// + /// Counts the time between color changes + /// + private float timer; + + private void Start() + { + mat = GetComponent().material; + UnityEngine.Random.InitState(DateTime.Now.Millisecond); + ChangeColor(); + } + + private void Update() + { + if (isServer) + { + if (timer > 3.0f) + { + ChangeColor(); + timer = 0f; + } + + timer += Time.deltaTime; + } + + mat.color = color; + } + + /// + /// Changes the renderer to a new random color + /// + private void ChangeColor() + { + color = UnityEngine.Random.ColorHSV(); + mat.color = color; + } + + /// + /// Destroys the changed material + /// + private void OnDestroy() + { + Destroy(mat); + } + } +} diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs.meta b/Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs.meta similarity index 75% rename from Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs.meta rename to Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs.meta index ccb6283df77..4508916e471 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs.meta +++ b/Assets/HoloToolkit-Examples/SpectatorView/Scripts/ColorChanger.cs.meta @@ -1,6 +1,6 @@ fileFormatVersion: 2 -guid: 05d1324a6d6a0d248848b4042ad6d6bf -timeCreated: 1471035499 +guid: ecc72cc4795ef1c41851dae5143ee460 +timeCreated: 1515764802 licenseType: Pro MonoImporter: serializedVersion: 2 diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat new file mode 100644 index 00000000000..d3aa92d010a --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Black + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.04, g: 0.04, b: 0.04, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat.meta new file mode 100644 index 00000000000..d23d4ff4b90 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Black.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 752ea8dd54d61934c9ec6ff6944b210a +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat new file mode 100644 index 00000000000..b460cfc6d86 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: BlackWindow + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.04, g: 0.04, b: 0.04, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat.meta new file mode 100644 index 00000000000..a3c37ccdb75 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/BlackWindow.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 35260f6bb9758ac46b9ab4e36c76ef0d +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat new file mode 100644 index 00000000000..13853606262 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ClearWindow + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _BORDER_LIGHT_USES_HOVER_COLOR + _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 2 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 10 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 3 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 0 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0, g: 0, b: 0, a: 0.029999971} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat.meta new file mode 100644 index 00000000000..d48d7aa23e9 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/ClearWindow.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 1b607b6bb9cc98a498c6f6dee15f294c +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat new file mode 100644 index 00000000000..99848dcf5e6 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Default + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat.meta new file mode 100644 index 00000000000..272ae11a254 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Default.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7ec11ba6765c221499591f5692c4bc18 +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat new file mode 100644 index 00000000000..ecabe2a896b --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Gold + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 0.942, b: 0.13, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat.meta new file mode 100644 index 00000000000..f9b6222f650 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/Gold.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c278288142ab34047ad4ff4450d0f640 +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat new file mode 100644 index 00000000000..5ff2d0e0184 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: GreenGas + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _BORDER_LIGHT_USES_HOVER_COLOR + _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 2 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 10 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 3 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 0 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.5233333, g: 0.8, b: 0.136, a: 0.19} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat.meta new file mode 100644 index 00000000000..8e06e406399 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/GreenGas.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: e70925e937e9a22439a20a2f682391e1 +timeCreated: 1522385057 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat new file mode 100644 index 00000000000..51f73a6957b --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: RedLight + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat.meta new file mode 100644 index 00000000000..e21498fa937 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/RedLight.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5d4f3b74350d8694ca2ef0d14246bd38 +timeCreated: 1522385058 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat b/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat new file mode 100644 index 00000000000..d8c18e69f64 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: WhiteLight + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 0} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat.meta b/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat.meta new file mode 100644 index 00000000000..b6fb7a3c259 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/Materials/WhiteLight.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7af45ca6d440a78459aa7942adb3a9a9 +timeCreated: 1522385057 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx b/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx new file mode 100644 index 00000000000..789bba74c37 Binary files /dev/null and b/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx differ diff --git a/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx.meta b/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx.meta new file mode 100644 index 00000000000..8e1e4332624 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Models/TheModule.fbx.meta @@ -0,0 +1,295 @@ +fileFormatVersion: 2 +guid: 2c11bf713819a084d8cb4c35db20d042 +timeCreated: 1497914841 +licenseType: Pro +ModelImporter: + serializedVersion: 22 + fileIDToRecycleName: + 100000: BackBody + 100002: Backpack + 100004: BottomLeftBody + 100006: BottomRightBody + 100008: CenterBackLeg + 100010: CenterFrontLeg + 100012: Cylinder01 + 100014: Cylinder02 + 100016: Cylinder03 + 100018: Cylinder04 + 100020: Cylinder05 + 100022: Cylinder06 + 100024: Cylinder07 + 100026: Cylinder08 + 100028: Face + 100030: FrontAntenna + 100032: Gas + 100034: GasTank + 100036: GoldBase + 100038: LeftTwirler + 100040: legs + 100042: Light + 100044: Nose + 100046: Symmetry + 100048: //RootNode + 100050: ThrustCylinder + 100052: TopGoldDial + 100054: TopLeftBody + 100056: TwirlerConnector + 100058: Camera + 100060: Directional Light + 100062: GasTankGlass + 100064: Legs1 + 100066: Legs2 + 100068: Legs3 + 100070: Legs4 + 400000: BackBody + 400002: Backpack + 400004: BottomLeftBody + 400006: BottomRightBody + 400008: CenterBackLeg + 400010: CenterFrontLeg + 400012: Cylinder01 + 400014: Cylinder02 + 400016: Cylinder03 + 400018: Cylinder04 + 400020: Cylinder05 + 400022: Cylinder06 + 400024: Cylinder07 + 400026: Cylinder08 + 400028: Face + 400030: FrontAntenna + 400032: Gas + 400034: GasTank + 400036: GoldBase + 400038: LeftTwirler + 400040: legs + 400042: Light + 400044: Nose + 400046: Symmetry + 400048: //RootNode + 400050: ThrustCylinder + 400052: TopGoldDial + 400054: TopLeftBody + 400056: TwirlerConnector + 400058: Camera + 400060: Directional Light + 400062: GasTankGlass + 400064: Legs1 + 400066: Legs2 + 400068: Legs3 + 400070: Legs4 + 2300000: BackBody + 2300002: Backpack + 2300004: BottomLeftBody + 2300006: BottomRightBody + 2300008: CenterBackLeg + 2300010: CenterFrontLeg + 2300012: Cylinder01 + 2300014: Cylinder02 + 2300016: Cylinder03 + 2300018: Cylinder04 + 2300020: Cylinder05 + 2300022: Cylinder06 + 2300024: Cylinder07 + 2300026: Cylinder08 + 2300028: Face + 2300030: FrontAntenna + 2300032: Gas + 2300034: GasTank + 2300036: GoldBase + 2300038: LeftTwirler + 2300040: Light + 2300042: Nose + 2300044: ThrustCylinder + 2300046: TopGoldDial + 2300048: TopLeftBody + 2300050: TwirlerConnector + 2300052: GasTankGlass + 2300054: Legs1 + 2300056: Legs2 + 2300058: Legs3 + 2300060: Legs4 + 3300000: BackBody + 3300002: Backpack + 3300004: BottomLeftBody + 3300006: BottomRightBody + 3300008: CenterBackLeg + 3300010: CenterFrontLeg + 3300012: Cylinder01 + 3300014: Cylinder02 + 3300016: Cylinder03 + 3300018: Cylinder04 + 3300020: Cylinder05 + 3300022: Cylinder06 + 3300024: Cylinder07 + 3300026: Cylinder08 + 3300028: Face + 3300030: FrontAntenna + 3300032: Gas + 3300034: GasTank + 3300036: GoldBase + 3300038: LeftTwirler + 3300040: Light + 3300042: Nose + 3300044: ThrustCylinder + 3300046: TopGoldDial + 3300048: TopLeftBody + 3300050: TwirlerConnector + 3300052: GasTankGlass + 3300054: Legs1 + 3300056: Legs2 + 3300058: Legs3 + 3300060: Legs4 + 4300000: Light + 4300002: TwirlerConnector + 4300004: Backpack + 4300006: LeftTwirler + 4300008: GasTank + 4300010: BottomRightBody + 4300012: Gas + 4300014: TopLeftBody + 4300016: Nose + 4300018: Face + 4300020: BackBody + 4300022: FrontAntenna + 4300024: BottomLeftBody + 4300026: GoldBase + 4300028: ThrustCylinder + 4300030: TopGoldDial + 4300032: CenterFrontLeg + 4300034: CenterBackLeg + 4300036: Cylinder01 + 4300038: Cylinder02 + 4300040: Cylinder03 + 4300042: Cylinder04 + 4300044: Cylinder05 + 4300046: Cylinder06 + 4300048: Cylinder07 + 4300050: Cylinder08 + 4300052: GasTankGlass + 4300054: Legs1 + 4300056: Legs2 + 4300058: Legs3 + 4300060: Legs4 + externalObjects: + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: Black + second: {fileID: 2100000, guid: 752ea8dd54d61934c9ec6ff6944b210a, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: BlackWindow + second: {fileID: 2100000, guid: 35260f6bb9758ac46b9ab4e36c76ef0d, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: ClearWindow + second: {fileID: 2100000, guid: 1b607b6bb9cc98a498c6f6dee15f294c, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: Default + second: {fileID: 2100000, guid: 7ec11ba6765c221499591f5692c4bc18, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: Gold + second: {fileID: 2100000, guid: c278288142ab34047ad4ff4450d0f640, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: GreenGas + second: {fileID: 2100000, guid: e70925e937e9a22439a20a2f682391e1, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: RedLight + second: {fileID: 2100000, guid: 5d4f3b74350d8694ca2ef0d14246bd38, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: White + second: {fileID: 2100000, guid: 3639569bc17f0cf41a8920605a72dcd8, type: 2} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: WhiteLight + second: {fileID: 2100000, guid: 7af45ca6d440a78459aa7942adb3a9a9, type: 2} + materials: + importMaterials: 0 + materialName: 1 + materialSearch: 2 + materialLocation: 0 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + motionNodeName: + rigImportErrors: + rigImportWarnings: + animationImportErrors: + animationImportWarnings: + animationRetargetingWarnings: + animationDoRetargetingWarnings: 0 + importAnimatedCustomProperties: 0 + animationCompression: 1 + animationRotationError: 0.5 + animationPositionError: 0.5 + animationScaleError: 0.5 + animationWrapMode: 0 + extraExposedTransformPaths: [] + extraUserProperties: [] + clipAnimations: [] + isReadable: 1 + meshes: + lODScreenPercentages: [] + globalScale: 1 + meshCompression: 0 + addColliders: 0 + importVisibility: 0 + importBlendShapes: 1 + importCameras: 0 + importLights: 0 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + optimizeMeshForGPU: 1 + keepQuads: 0 + weldVertices: 1 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVPackMargin: 4 + useFileScale: 1 + tangentSpace: + normalSmoothAngle: 45 + normalImportMode: 0 + tangentImportMode: 0 + normalCalculationMode: 0 + importAnimation: 0 + copyAvatar: 0 + humanDescription: + serializedVersion: 2 + human: [] + skeleton: [] + armTwist: 0.5 + foreArmTwist: 0.5 + upperLegTwist: 0.5 + legTwist: 0.5 + armStretch: 0.05 + legStretch: 0.05 + feetSpacing: 0 + rootMotionBoneName: + rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} + hasTranslationDoF: 0 + hasExtraRoot: 0 + skeletonHasParents: 1 + lastHumanDescriptionAvatarSource: {instanceID: 0} + animationType: 0 + humanoidOversampling: 1 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Prefabs/Button.prefab b/Assets/HoloToolkit-Examples/UX/Prefabs/Button.prefab index 52d01f79749..1d92ebf16a9 100644 --- a/Assets/HoloToolkit-Examples/UX/Prefabs/Button.prefab +++ b/Assets/HoloToolkit-Examples/UX/Prefabs/Button.prefab @@ -20,7 +20,6 @@ GameObject: m_Component: - component: {fileID: 4000012528443510} - component: {fileID: 33000012704585020} - - component: {fileID: 65000011886294454} - component: {fileID: 23000014197070524} - component: {fileID: 114000011692594082} - component: {fileID: 114570133390610078} @@ -41,7 +40,6 @@ GameObject: m_Component: - component: {fileID: 4000012165958818} - component: {fileID: 33000011346290118} - - component: {fileID: 65000012359169340} - component: {fileID: 23000010441861222} - component: {fileID: 114000010560977536} - component: {fileID: 114000011132779576} @@ -174,8 +172,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000014001103040} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.13, y: 0, z: 1} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 4341822051740814} @@ -275,6 +273,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -290,12 +289,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!23 &23000010441861222 MeshRenderer: @@ -306,6 +307,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -322,12 +324,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!23 &23000014197070524 MeshRenderer: @@ -338,6 +342,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -353,12 +358,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!33 &33000011346290118 MeshFilter: @@ -374,30 +381,6 @@ MeshFilter: m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000010434843182} m_Mesh: {fileID: 4300002, guid: 61a6f0d3d48e97148991dd176179e9ca, type: 3} ---- !u!65 &65000011886294454 -BoxCollider: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010434843182} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 0 - serializedVersion: 2 - m_Size: {x: 0.82296014, y: 0.030480023, z: 0.20319997} - m_Center: {x: 0, y: 0.002091778, z: 0.12192} ---- !u!65 &65000012359169340 -BoxCollider: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012621396126} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 0 - serializedVersion: 2 - m_Size: {x: 0.9, y: 0.12, z: 0.28} - m_Center: {x: 0, y: -0.02, z: 0.12194597} --- !u!65 &65000013492339494 BoxCollider: m_ObjectHideFlags: 1 @@ -517,18 +500,18 @@ MonoBehaviour: OnSelectEvents: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null OnDownEvent: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null OnHoldEvent: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!114 &114057456274372302 MonoBehaviour: m_ObjectHideFlags: 1 @@ -571,8 +554,8 @@ MonoBehaviour: OnComplete: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!114 &114374334392891108 MonoBehaviour: m_ObjectHideFlags: 1 @@ -708,8 +691,8 @@ MonoBehaviour: OnComplete: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!114 &114797773677928944 MonoBehaviour: m_ObjectHideFlags: 1 diff --git a/Assets/HoloToolkit-Examples/UX/Prefabs/ButtonHolographic.prefab b/Assets/HoloToolkit-Examples/UX/Prefabs/ButtonHolographic.prefab index 3a31e8358e5..f4af1e49552 100644 --- a/Assets/HoloToolkit-Examples/UX/Prefabs/ButtonHolographic.prefab +++ b/Assets/HoloToolkit-Examples/UX/Prefabs/ButtonHolographic.prefab @@ -70,14 +70,13 @@ GameObject: serializedVersion: 5 m_Component: - component: {fileID: 4400682673061142} + - component: {fileID: 65959870370459156} - component: {fileID: 114985427041226018} - component: {fileID: 114941441034285770} - component: {fileID: 114539127433989172} - component: {fileID: 114724965930856538} - component: {fileID: 114888990318196948} - - component: {fileID: 65959870370459156} - - component: {fileID: 95836897654538082} - - component: {fileID: 114372868302156270} + - component: {fileID: 114473421636268844} m_Layer: 5 m_Name: ButtonHolographic m_TagString: Untagged @@ -340,23 +339,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 0.12, y: 0.12, z: 0.02} m_Center: {x: 0, y: 0, z: 0} ---- !u!95 &95836897654538082 -Animator: - serializedVersion: 3 - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1619954670119144} - m_Enabled: 1 - m_Avatar: {fileID: 0} - m_Controller: {fileID: 9100000, guid: dade752fc71c3d940ba5cc7eaf201f24, type: 2} - m_CullingMode: 0 - m_UpdateMode: 0 - m_ApplyRootMotion: 0 - m_LinearVelocityBlending: 0 - m_WarningMessage: - m_HasTransformHierarchy: 1 - m_AllowConstantClipSamplingOptimization: 1 --- !u!102 &102082490485545312 TextMesh: serializedVersion: 3 @@ -371,14 +353,14 @@ TextMesh: m_Anchor: 7 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 72 + m_FontSize: 48 m_FontStyle: 0 m_RichText: 1 m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} m_Color: serializedVersion: 2 rgba: 4294967295 ---- !u!114 &114372868302156270 +--- !u!114 &114473421636268844 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} @@ -386,53 +368,11 @@ MonoBehaviour: m_GameObject: {fileID: 1619954670119144} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 728fec8e9feecf64f933543126cbecae, type: 3} + m_Script: {fileID: 11500000, guid: d56c23c4a6e0ec6478791a5c1a0f81a1, type: 3} m_Name: m_EditorClassIdentifier: - TargetAnimator: {fileID: 95836897654538082} - AnimActions: - - ButtonState: 0 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 0 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 1 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 1 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 2 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 2 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 3 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 3 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 4 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 4 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 5 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 5 - FloatValue: 0 - InvalidParam: 0 + KeywordSource: 2 + Keyword: --- !u!114 &114539127433989172 MonoBehaviour: m_ObjectHideFlags: 1 @@ -511,8 +451,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} m_Name: m_EditorClassIdentifier: - ButtonState: 4 - ButtonPressFilter: 1 - RequireGaze: 1 + buttonState: 4 + buttonPressFilter: 1 + requireGaze: 1 MainCollider: {fileID: 65959870370459156} MainRenderer: {fileID: 23714127561629088} diff --git a/Assets/HoloToolkit-Examples/UX/Prefabs/ToggleButton.prefab b/Assets/HoloToolkit-Examples/UX/Prefabs/ToggleButton.prefab index 156a7613f92..73b2e5d881e 100644 --- a/Assets/HoloToolkit-Examples/UX/Prefabs/ToggleButton.prefab +++ b/Assets/HoloToolkit-Examples/UX/Prefabs/ToggleButton.prefab @@ -38,7 +38,6 @@ GameObject: m_Component: - component: {fileID: 4000013036710172} - component: {fileID: 33000013417275488} - - component: {fileID: 65000012746317698} - component: {fileID: 23000013842045354} - component: {fileID: 114000013495533296} - component: {fileID: 114000012932369162} @@ -77,7 +76,6 @@ GameObject: m_Component: - component: {fileID: 4000011011748652} - component: {fileID: 33000010011350272} - - component: {fileID: 65000011205595684} - component: {fileID: 23000012177247900} - component: {fileID: 114000013268349866} - component: {fileID: 114371943292047360} @@ -161,8 +159,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000010761968552} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.133, y: 0, z: 1} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 4053842731697434} @@ -275,6 +273,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -290,12 +289,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!23 &23000013193983680 MeshRenderer: @@ -306,6 +307,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -321,12 +323,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!23 &23000013842045354 MeshRenderer: @@ -337,6 +341,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -353,12 +358,14 @@ MeshRenderer: m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 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 --- !u!33 &33000010011350272 MeshFilter: @@ -374,30 +381,6 @@ MeshFilter: m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000011369506062} m_Mesh: {fileID: 4300000, guid: 61a6f0d3d48e97148991dd176179e9ca, type: 3} ---- !u!65 &65000011205595684 -BoxCollider: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012136398872} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 0 - serializedVersion: 2 - m_Size: {x: 0.82296014, y: 0.030480023, z: 0.20319997} - m_Center: {x: 0, y: 0.002091778, z: 0.12192} ---- !u!65 &65000012746317698 -BoxCollider: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000011369506062} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 0 - serializedVersion: 2 - m_Size: {x: 0.9, y: 0.12, z: 0.28} - m_Center: {x: 0, y: -0.02, z: 0.12194597} --- !u!65 &65000012884573244 BoxCollider: m_ObjectHideFlags: 1 @@ -482,18 +465,18 @@ MonoBehaviour: OnSelectEvents: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null OnDownEvent: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null OnHoldEvent: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null AllowSelection: 1 AllowDeselect: 1 HasSelection: 0 @@ -501,13 +484,13 @@ MonoBehaviour: OnSelection: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null OnDeselection: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!114 &114000013268349866 MonoBehaviour: m_ObjectHideFlags: 1 @@ -607,8 +590,8 @@ MonoBehaviour: OnComplete: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null --- !u!114 &114375483683248958 MonoBehaviour: m_ObjectHideFlags: 1 @@ -744,5 +727,5 @@ MonoBehaviour: OnComplete: m_PersistentCalls: m_Calls: [] - m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine, Version=0.0.0.0, Culture=neutral, - PublicKeyToken=null + m_TypeName: UnityEngine.Events.UnityEvent, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null diff --git a/Assets/HoloToolkit-Examples/UX/README.md b/Assets/HoloToolkit-Examples/UX/README.md index 55c03da21e6..0dbced17d8c 100644 --- a/Assets/HoloToolkit-Examples/UX/README.md +++ b/Assets/HoloToolkit-Examples/UX/README.md @@ -1,8 +1,9 @@ # UX This directory contains examples scenes for the UI controls and building blocks. **Please visit each scene's README_SCENENAME.md page for the details by using the links below. You can find these example scenes under UX/Scenes folder.** -| [![Interactable Objects](/External/ReadMeImages/MRTK_InteractableObject.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) [Interactable Objects](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) | [![Object Collection](/External/ReadMeImages/MRTK_ObjectCollection.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) [Object Collection](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) | [![App Bar and Bounding Box](/External/ReadMeImages/MRTK_AppBar_BoundingBox.jpg)](/Assets/HoloToolkit-Examples/UX/Scenes) App Bar and Bounding Box | -| :--- | :--- | :--- | -| Example of modular and extensible interactable objects with visual states, including Holographic button | Object collection helps you lay out an array of objects in a three-dimensional shape | **[Coming Soon]** Standard UI for move/rotate/scale 3D objects | -| [![Keyboard input sample](/External/ReadMeImages/MRTK_Keyboard.jpg)](/Assets/HoloToolkit-Examples) [Keyboard input sample](/Assets/HoloToolkit-Examples) | [![Interactive button demos](/External/ReadMeImages/MRTK_InteractiveButtons.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) [Interactive button demos](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) | | -| A sample virtual keyboard, similar to system keyboard in Windows Mixed Reality shell | Example UI buttons and controls for use in Mixed Reality | | +# Examples - UI controls and building blocks +| [![Bounding Box and App Bar](/External/ReadMeImages/MRTK_AppBar_BoundingBox.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) [Bounding Box and App Bar](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) | [![Interactable Objects](/External/ReadMeImages/MRTK_InteractableObject_HolographicButton.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) [Interactable Objects](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) | [![Object Collection](/External/ReadMeImages/MRTK_ObjectCollection.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) [Object Collection](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) |[![Keyboard](/External/ReadMeImages/MRTK_Keyboard.jpg)](/Assets/HoloToolkit-Examples) [Keyboard](/Assets/HoloToolkit-Examples) | +|:--- | :--- | :--- | :--- | +| Standard UI for manipulating objects in 3D space | Modular script for making objects interactable with visual states, including Holographic button | Script for lay out an array of objects in a three-dimensional shape | System style keyboard prefab for Unity projects | +| ![Dialog and Progress](/External/ReadMeImages/MRTK_DialogProgress.jpg) [Dialog](/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md) / [Progress](/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md) | [![Solver system](/External/ReadMeImages/MRTK_SolverSystem.jpg)](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) [Solver system](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) | [![Interactive button demos](/External/ReadMeImages/MRTK_InteractiveButtons.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) [Interactive button demos](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) | [![ToolTip & Label](/External/ReadMeImages/MRTK_Tooltip.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) [ToolTip & Label](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) | +| Standard UI for notification, approval, or additional information from the user / Data loading indicator | Scripts for various behavious such as tag-along, billboarding, body-lock, constant view size and surface magnetism | UWP style UI controls including radio, toggle and checkboxes | Annotation UI with flexible anchor/pivot system which can be used for labeling motion controllers and object. | diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md b/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md index 73d623ebf70..fff3debf0af 100644 --- a/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md @@ -33,6 +33,7 @@ When you select one of the gizmo, it is highlighted and other gizmos becomes inv ### [BoundingBoxRig script](/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs) ### This script gets added as a Component to a GameObject. An object with this script as a Component will appear with an AppBar floating in front of it. The BoundingBoxRig script creates a rig of corner and mid-edge handles for scaling and rotating an object. The Adjust button in the AppBar turns on and off the rig. This script cooperates with the TwoHandedManipulation script. +You can also watch the activity of a bounding box rig by using the `IBoundingBoxStateHandler` interface, which enables you to see whether a rig is being activated or deactivated through the `OnBoundingBoxRigActivated` and `OnBoundingBoxRigDeactivated` hooks. ### [BoundingBoxGizmoHandle script](/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxGizmoHandle.cs) ### diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md b/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md new file mode 100644 index 00000000000..9bcde6958b2 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md @@ -0,0 +1,48 @@ +# Dialogs Example + +Dialog is a transient UI element which appears when something happens that requires notification, approval, or additional information from the user. Dialogs block interactions with the app window until being explicitly dismissed. They often request some kind of action from the user. Dialog provides one or two button options. It works on both HoloLens(gaze and gesture) and Immersive headset(motion controllers). + + +![Dialogs on HoloLens and Immersive Headset](/External/ReadMeImages/MRTK_Dialog_Devices.jpg) + +## Demo Video +https://gfycat.com/ConventionalDirtyKiskadee + +## Dialog prefab and DialogShell script +Dialog prefab is located under [HoloToolkit/UX/Prefabs](/Assets/HoloToolkit/UX/Prefabs) folder and dynamically instantiated with Unity's Instantiate() function. This prefab contains **DialogShell** script and **Solver** scripts. + +## How to display a Dialog control +You can find the code example in **LaunchDialogScript.cs** under SceneContent > SquareButton. It demonstrates the instantiation and response to a Dialog using the function Launch Dialog. The Dialog can be specified to have a single button, useful for communicating information to the user. The Dialog can also be configured to display two buttons, allowing the user to make a choice. The name of the selected button is returned to the script that opens the Dialog. + +An instance of the Dialog is created using: +``` +//fill dialogPrefab in the inspector: +[Serialize] +private Dialog dialogPrefab; + +//then call: +Dialog dialog = Dialog.Open(dialogPrefab.gameObject, buttons, title, message); +``` +The second argument to the Open function defines the caption or captions that the button(s) will have. +They are identified by defining an enumerated value using Dialog.ButtonTypeEnum. +To define two buttons, simply bitwise OR two enumerations: + +**Dialog.ButtonTypeEnum.Yes | Dialog.ButtonTypeEnum.No** + +The calling script can "listen" for the Dialog being closed by attaching an event Handler to the OnClosed Event of the Dialog. + +In summary, the steps to create and launch a Dialog are: +In a LaunchFunction() called by a Coroutine: +1. Load Dialog Prefab into memory using Resources.Load("Dialog"). +2. Create an instance of the Dialog Prefab using Dialog.Open(...). This also Opens and displays the Dialog. +3. Attach OnClosed handler to the dialog.OnClosed event. + +## Properties +The Dialog will stay in the user's field of view while the user can use gaze or controller targeting to make a button selection. Tag-along and billboarding interaction is achieved by using **Solver scripts**. When you select Dialog.prefab, you will be able to find Solver scripts for the size and distance control. In **SolverConstantViewSize**, you can adjust **Target View Percent V** value to modify the size of the Dialog window. + +You can find more detailed information about the [Solver System on this README page](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md). + + + + + diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md.meta b/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md.meta new file mode 100644 index 00000000000..6f2a846f4af --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f500b5c45c70f804a97759a3d12d3054 +timeCreated: 1525285640 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md b/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md new file mode 100644 index 00000000000..1e66e0c4313 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md @@ -0,0 +1,77 @@ +# Progress Example + +A progress control provides feedback to the user that a long-running operation is underway. It can mean that the user cannot interact with the app when the progress indicator is visible, and can also indicate how long the wait time might be, depending on the indicator used. + +This example scene illustrates the use of the ProgressIndicator prefab to create a progress Indicator with several options for appearance. + +## Demo Video +https://gfycat.com/JaggedDimLacewing + +## Types of Progress +![Progress Types](/External/ReadMeImages/MRTK_Progress2.jpg) +The ProgressIndicator can appear: +1. Default orbiting dots animation +2. A user defined icon which can be static or set to rotate +3. A user defined prefab which can be static or set to rotate +4. A user defined text message only such as "Loading..." +5. Text displayed with a numeric run up of percent loaded +6. A progress bar + +![Progress Type Buttons](/External/ReadMeImages/MRTK_Progress3.jpg) + +Different types of Progress control can be opened by pressing these buttons in the scene. + + + +## ProgressIndicator Prefab + +The **ProgressIndicator prefab** is located in [HoloToolkit/UX/Prefabs/Progress](/Assets/HoloToolkit/UX/Prefabs/Progress). It is composed of **ProgressIndicator** script and **Solver** scripts for the billboarding and tag-along behavior. + +![ProgressIndicator Properties](/External/ReadMeImages/MRTK_ProgressIndicatorInspector.jpg) + +### ProgressIndicator Prefab Structure +The **ProgressIndicator prefab** contains the elements for the different types of visualization. You can find child components such as Bar, Message Text and Progress Text. These elements are assigned to ProgressIndicator script. + +![Progress Types](/External/ReadMeImages/MRTK_Progress4.jpg) + + +## How to display a Progress control +In the example scene, each button is labeled with the variation of the ProgressIndicator that is demonstrated. There is an instance of the ProgressIndicator prefab in the scene which initializes and runs with arguments obtained from the example button that is clicked. + +In these buttons, you can find **ProgressButton** script along with Compound Button scripts. **ProgressButton** script contains simple code to call LaunchProgress() in **ProgressExamples** script on OnButtonClicked event. In **ProgressExamples** script, you can find the code for displaying Progress control. + +It looks like this: +``` +ProgressIndicator.Instance.Open( + ProgressIndicator.IndicatorStyleEnum.None, + ProgressIndicator.ProgressStyleEnum.None, + ProgressIndicator.MessageStyleEnum.Visible, + LeadInMessage); + +StartCoroutine(LoadOverTime(LoadTextMessage)); +``` +The LoadOverTime function, also found in this script, fakes a loading sequence. To implement the ProgressIndicator during an actual loading sequence, Start a Coroutine with a function like LoadOverTime. In your LoadOverTime function, make sure to update the ProgressIndicator object with the actual loading progress. +``` +while (your loading operation is not complete) +{ + LoadingDialog.Instance.SetMessage( ); + LoadingDialog.Instance.SetProgress + yield return new WaitForSeconds(); +} +``` + +You can give an optional message to be displayed by the ProgressIndicator when load is complete, such as "finished!". +``` +ProgressIndicator.Instance.SetMessage(FinishMessage); +ProgressIndicator.Instance.SetProgress(1f); +yield return new WaitForSeconds(); +``` + +To close the ProgressIndicator, call the Close() function and wait for the IsLoading state to become false. +``` +LoadingDialog.Instance.Close(); +while (LoadingDialog.Instance.IsLoading) +{ + yield return null; +} +``` diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md.meta b/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md.meta new file mode 100644 index 00000000000..535fbcd7119 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0d5ca0aa7608a4e419264adf831317bd +timeCreated: 1525285640 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md b/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md new file mode 100644 index 00000000000..eb13ba625b5 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md @@ -0,0 +1,37 @@ +# Tooltip Example + +This example scene demonstrates an implementation of the ToolTip user interface element. Tooltips are usually used to convey a hint or extra information upon closer inspection of an object. ToolTip can be used to explain button inputs on the motion controllers or to label objects in the physical environment. + +## Demo Video +https://gfycat.com/WarmOblongBilby + +The example scene demonstrates two ways to display a Tooltip on an object. + +## Script files +[Assets/HoloToolkit/UX/Scripts/Tooltip](/Assets/HoloToolkit/UX/Scripts/Tooltip) + +## Prefab +[Tooltip.prefab](/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab) + +## Example Scene +[TooltipExamples.unity](/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity) + +In the scene file, you will be able to find various examples of ToolTip. First group on the left demonstrates the static ToolTip examples that are always visible. In the center, you can see the example of using multiple ToolTips on a single object. Each tooltip has different child object as a target object which works as an anchor. The group on the right shows the examples of dynamically spawning ToolTips. + + + +## Directly adding to the scene and attaching to an object +A ToolTip can be added directly to the Hierarchy and targeted to an object. To use this method, Add a GameObject and a **ToolTip prefab** object to the Scene Hierarchy. In the ToolTip prefab's Inspector panel, expand the Tool Tip (Script). Select a TipState and set other settings. Enter the ToolTip text in the Text field. Finally, expand the ToolTipConnector (Script). Drag the object that is to have the ToolTip from the Hierarchy into the field labelled Target. This attaches the ToolToolTip connector to the object. Finally, this use of ToolTip assumes a ToolTip that is always showing or that is shown/hid in script by changing the TipState property of the ToolTip component. + + + +## Dynamically spawning +A ToolTip can be dynamically added to an object at runtime as well as pre-set to show and hide on a Tap or focus. Simply add the **ToolTipSpawner** script to any GameObject. In the script's Inspector, you can set delays for appearing and disappearing. You can also set a lifetime so that the ToolTip when spawned, will disappear after a duration. You can also set style properties such as Background in the ToolTipSpawner script. This script is pre-populated with the ToiolTip prefab. The GameObject to which the spawned ToolTip is anchored is determined by the object that has been dragged into the Anchor field in the ToolTipSpawner Inspector. This is usually set to the object that has the ToolTipSpawner script. + + + +## Motion controller Tooltips +The scene also includes two tooltip groups on the bottom. These ToolTips are layed out to match position of the buttons on the motion controllers. When motion controllers are detected, these ToolTips will be attached automatically to the controllers, using [AttachToController](/Assets/MixedRealityToolkit/InputModule/Scripts/Utilities/AttachToController.cs) script. + + + diff --git a/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md.meta b/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md.meta new file mode 100644 index 00000000000..30266ac7689 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 07679c22fdfb353409d862f5e9a41fe8 +timeCreated: 1525285640 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity b/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity new file mode 100644 index 00000000000..0c1d07eb4df --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity @@ -0,0 +1,1996 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 064cf2adabde05941a372e975e563706, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.50224054, g: 0.5020953, b: 0.501867, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!21 &61778182 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &77680372 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 77680374} + - component: {fileID: 77680373} + m_Layer: 0 + m_Name: SceneContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &77680373 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 77680372} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 906323c940a3fad4f8f7e9e4fcd747f4, type: 3} + m_Name: + m_EditorClassIdentifier: + containerObject: {fileID: 0} + alignmentType: 0 + stationarySpaceTypePosition: {x: 0, y: 0, z: 0} + roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} +--- !u!4 &77680374 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 77680372} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.032109715, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 2117300431} + - {fileID: 558807259} + - {fileID: 937802160} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &558807258 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 558807259} + - component: {fileID: 558807260} + m_Layer: 0 + m_Name: ButtonCollection + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &558807259 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 558807258} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: -0.1723, z: 2} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1938086289} + - {fileID: 2074910335} + - {fileID: 708376145} + m_Father: {fileID: 77680374} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &558807260 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 558807258} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 74154c01851d1174b89ac67209b1d140, type: 3} + m_Name: + m_EditorClassIdentifier: + NodeList: [] + SurfaceType: 1 + SortType: 0 + OrientType: 1 + LayoutType: 0 + IgnoreInactiveTransforms: 1 + Radius: 2 + Rows: 3 + CellWidth: 0.5 + CellHeight: 0.5 + SphereMesh: {fileID: 0} + CylinderMesh: {fileID: 0} +--- !u!1001 &708376144 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 558807259} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: 0.06 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2000911771} + - target: {fileID: 114549673379926378, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: ButtonState + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: HolographicButtonTwo + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Two Buttons + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &708376145 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 708376144} +--- !u!1 &708376146 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 708376144} +--- !u!114 &708376147 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 708376146} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e56fa46d54064654bb5cc3cc96045fc2, type: 3} + m_Name: + m_EditorClassIdentifier: + dialogPrefab: {fileID: 114617495383521140, guid: 675f0fa1333683640974b1e6c078079e, + type: 2} + isDialogLaunched: 0 + resultText: {fileID: 937802161} + numButtons: 2 +--- !u!1001 &772365997 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + m_IsPrefabParent: 0 +--- !u!1001 &777834979 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 20770519707920992, guid: d29bc40b7f3df26479d6a0aac211c355, + type: 2} + propertyPath: near clip plane + value: 0.01 + objectReference: {fileID: 0} + - target: {fileID: 114504390558679740, guid: d29bc40b7f3df26479d6a0aac211c355, + type: 2} + propertyPath: NearClipPlane_TransparentDisplay + value: 0.3 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &826930927 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1152677137086646, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 826930928} + m_Layer: 0 + m_Name: Panel1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &826930928 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4579641208005124, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 826930927} + 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_Children: + - {fileID: 2054042728} + - {fileID: 1615472001} + m_Father: {fileID: 2117300431} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &937802159 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 77680374} + m_Modifications: + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalPosition.y + value: -0.2987 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalPosition.z + value: 1.5 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 102000010767390410, guid: bfdc7f60d7205c84f82a4806a5352d60, + type: 2} + propertyPath: m_Text + value: Dialog Button Result + objectReference: {fileID: 0} + - target: {fileID: 1000013198843976, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + propertyPath: m_Name + value: ResultText + objectReference: {fileID: 0} + - target: {fileID: 102000010767390410, guid: bfdc7f60d7205c84f82a4806a5352d60, + type: 2} + propertyPath: m_FontSize + value: 72 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: bfdc7f60d7205c84f82a4806a5352d60, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &937802160 stripped +Transform: + m_PrefabParentObject: {fileID: 4000010330146594, guid: bfdc7f60d7205c84f82a4806a5352d60, + type: 2} + m_PrefabInternal: {fileID: 937802159} +--- !u!1 &937802161 stripped +GameObject: + m_PrefabParentObject: {fileID: 1000013198843976, guid: bfdc7f60d7205c84f82a4806a5352d60, + type: 2} + m_PrefabInternal: {fileID: 937802159} +--- !u!1 &981655676 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1579474663996116, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 981655677} + - component: {fileID: 981655679} + - component: {fileID: 981655678} + m_Layer: 5 + m_Name: Subtitle + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &981655677 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224867391563566598, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981655676} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.868} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &981655678 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114628746298840300, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981655676} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 40 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: How to display Dialog control +--- !u!222 &981655679 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222081016692326802, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 981655676} +--- !u!1 &1055856808 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1055856809} + - component: {fileID: 1055856811} + - component: {fileID: 1055856810} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1055856809 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1055856808} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8215, y: -322.98813} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1055856810 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1055856808} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: "Dialogs is a transient UI element that appear when something happens that + requires notification, approval, or additional information from the user. Use + Dialog for expressing important information that the user must read and acknowledge + before proceeding. \n\n\n\nDialog prefab is located under Resources folder in + MixedRealityToolkit/UX and dynamically instantiated with Resources.Load() You + can find this example in LaunchDialogScript.cs under SceneContent > SquareButton.\n\n\n\nDetailed + behavior of the Dialog control is defined in Dialog prefab. SimpleDialogShell + is the main script that contains the logic for the Dialog control. Solver scripts + are used for handling size and position to achieve tag-along and billboarding + behavior." +--- !u!222 &1055856811 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1055856808} +--- !u!1 &1349255774 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1072600106012318, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1349255775} + - component: {fileID: 1349255777} + - component: {fileID: 1349255776} + m_Layer: 5 + m_Name: Subtitle (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1349255775 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224315620099300408, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1349255774} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00049999997, y: 0.00049999997, z: 0.00049999997} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.995} + m_SizeDelta: {x: 1107.8, y: 89.1924} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1349255776 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114181130579894316, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1349255774} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 40 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 4 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Dialog prefab +--- !u!222 &1349255777 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222628989992007860, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1349255774} +--- !u!1001 &1467417153 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 558807259} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: -0.06 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 61778182} + - target: {fileID: 114549673379926378, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: ButtonState + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: One Button + objectReference: {fileID: 0} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: HolographicButtonOne + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &1582013377 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1485382055181008, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1582013378} + - component: {fileID: 1582013380} + - component: {fileID: 1582013379} + m_Layer: 5 + m_Name: WorksOn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1582013378 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224413024187748670, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1582013377} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.61212} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1582013379 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114544788369345886, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1582013377} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Works on +--- !u!222 &1582013380 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222602141398920914, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1582013377} +--- !u!1 &1607619298 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1607619299} + - component: {fileID: 1607619300} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1607619299 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1607619298} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.9825, y: -322.609, z: 1.3330002} + m_LocalScale: {x: 0.013813125, y: 0.01381305, z: 0.008287894} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!212 &1607619300 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1607619298} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: -1 + m_Sprite: {fileID: 21300000, guid: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!1 &1615472000 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1615472001} + - component: {fileID: 1615472005} + - component: {fileID: 1615472004} + - component: {fileID: 1615472003} + - component: {fileID: 1615472002} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1615472001 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615472000} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} + m_Children: [] + m_Father: {fileID: 826930928} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &1615472002 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54100405396922970, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615472000} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1615472003 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615472000} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1615472004 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615472000} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1615472005 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1615472000} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1854212797 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1113360108618934, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1854212798} + - component: {fileID: 1854212800} + - component: {fileID: 1854212799} + m_Layer: 5 + m_Name: DeviceTypes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1854212798 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224644953376245418, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1854212797} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.63422} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1854212799 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114745954840247250, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1854212797} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'HoloLens + + Immersive headset' +--- !u!222 &1854212800 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222889759466084120, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1854212797} +--- !u!1001 &1899958509 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &1938086288 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1938086289} + - component: {fileID: 1938086291} + - component: {fileID: 1938086290} + m_Layer: 0 + m_Name: BackPlateBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1938086289 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4469891222133882, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1938086288} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.00019, y: -0.00027747452, z: 0} + m_LocalScale: {x: 0.23962608, y: 0.12, z: 0.01} + m_Children: [] + m_Father: {fileID: 558807259} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1938086290 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1938086288} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 2 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: df4abdb025f6c11489a7f77f9fba8659, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1938086291 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33251067709024942, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1938086288} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1944523124 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1944523125} + - component: {fileID: 1944523128} + - component: {fileID: 1944523127} + - component: {fileID: 1944523126} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1944523125 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1944523124} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.82007, y: -322.6673, z: 1.3285} + m_LocalScale: {x: 0.5497447, y: 0.0030726464, z: 1} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1944523126 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1944523124} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &1944523127 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1944523124} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &1944523128 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1944523124} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!21 &2000911771 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &2029595946 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2029595947} + - component: {fileID: 2029595949} + - component: {fileID: 2029595948} + m_Layer: 5 + m_Name: Title + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2029595947 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029595946} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 2054042728} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.73904} + m_SizeDelta: {x: 1107.8, y: 244.2} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2029595948 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029595946} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 78 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Dialog +--- !u!222 &2029595949 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2029595946} +--- !u!1 &2054042727 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1835462303943884, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2054042728} + - component: {fileID: 2054042731} + - component: {fileID: 2054042730} + - component: {fileID: 2054042729} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2054042728 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224385282562073920, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2054042727} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 2029595947} + - {fileID: 1055856809} + - {fileID: 1944523125} + - {fileID: 1582013378} + - {fileID: 1854212798} + - {fileID: 1607619299} + - {fileID: 981655677} + - {fileID: 1349255775} + m_Father: {fileID: 826930928} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 512.5886, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2054042729 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114803053854114090, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2054042727} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &2054042730 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114747735679590474, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2054042727} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &2054042731 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223269791768138664, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2054042727} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1 &2074910326 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1467417153} +--- !u!114 &2074910327 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2074910326} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e56fa46d54064654bb5cc3cc96045fc2, type: 3} + m_Name: + m_EditorClassIdentifier: + dialogPrefab: {fileID: 114617495383521140, guid: 675f0fa1333683640974b1e6c078079e, + type: 2} + isDialogLaunched: 0 + resultText: {fileID: 937802161} + numButtons: 1 +--- !u!4 &2074910335 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1467417153} +--- !u!1 &2117300430 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1037805327611902, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2117300431} + m_Layer: 0 + m_Name: SceneDescriptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2117300431 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4038737183939630, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2117300430} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.374, y: -0.007, z: 2} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 826930928} + m_Father: {fileID: 77680374} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2125177637 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2125177639} + - component: {fileID: 2125177638} + m_Layer: 0 + m_Name: Directional light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &2125177638 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2125177637} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &2125177639 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2125177637} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity.meta b/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity.meta new file mode 100644 index 00000000000..ddeaaf9c332 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/DialogsExample.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d09453fc12504884089ac3e45fc2038b +timeCreated: 1522869066 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/Input/Scenes/KeyboardTest.unity b/Assets/HoloToolkit-Examples/UX/Scenes/KeyboardTest.unity similarity index 100% rename from Assets/HoloToolkit-Examples/Input/Scenes/KeyboardTest.unity rename to Assets/HoloToolkit-Examples/UX/Scenes/KeyboardTest.unity diff --git a/Assets/HoloToolkit-Examples/Input/Scenes/KeyboardTest.unity.meta b/Assets/HoloToolkit-Examples/UX/Scenes/KeyboardTest.unity.meta similarity index 100% rename from Assets/HoloToolkit-Examples/Input/Scenes/KeyboardTest.unity.meta rename to Assets/HoloToolkit-Examples/UX/Scenes/KeyboardTest.unity.meta diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity b/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity new file mode 100644 index 00000000000..a20592e8c5d --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity @@ -0,0 +1,2986 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 064cf2adabde05941a372e975e563706, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.50217825, g: 0.5020953, b: 0.5018046, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &45021920 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1835462303943884, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 45021921} + - component: {fileID: 45021924} + - component: {fileID: 45021923} + - component: {fileID: 45021922} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &45021921 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224385282562073920, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 45021920} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 936103386} + - {fileID: 1328841457} + - {fileID: 2073752794} + - {fileID: 2115598642} + - {fileID: 562770319} + - {fileID: 767769386} + m_Father: {fileID: 784267857} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 512.5886, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &45021922 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114803053854114090, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 45021920} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &45021923 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114747735679590474, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 45021920} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &45021924 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223269791768138664, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 45021920} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!21 &142118600 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1001 &189354783 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: -0.11999999 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 1101893265} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadIcon + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Icon + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &189354784 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 189354783} +--- !u!1 &189354785 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 189354783} +--- !u!114 &189354786 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 189354785} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 1 + progressStyle: 0 +--- !u!21 &325598383 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!4 &403929215 stripped +Transform: + m_PrefabParentObject: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, + type: 2} + m_PrefabInternal: {fileID: 563086074} +--- !u!1 &556724792 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 556724794} + - component: {fileID: 556724793} + m_Layer: 5 + m_Name: ProgressExamples + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &556724793 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 556724792} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 53e9270851193dd44b03c72f3152f4e2, type: 3} + m_Name: + m_EditorClassIdentifier: + leadInTime: 1.5 + loadingTime: 5 + finishTime: 1.5 + loadingPrefab: {fileID: 0} + loadingIcon: {fileID: 0} + leadInMessage: Lead in Message + loadTextMessage: Loading with message only + loadOrbsMessage: Loading with Orbs + loadIconMessage: Loading with Icon + loadPrefabMessage: Loading with Prefab + loadProgressMessage: Loading with Progress + loadProgressBarMessage: Loading with Bar + finishMessage: Finished! + buttonCollection: {fileID: 2144030072} +--- !u!4 &556724794 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 556724792} + m_LocalRotation: {x: -0, y: -0.30818686, z: -0, w: 0.9513259} + m_LocalPosition: {x: -1.849, y: 0.265, z: 0.01700002} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 867339238} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &562770318 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1113360108618934, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 562770319} + - component: {fileID: 562770321} + - component: {fileID: 562770320} + m_Layer: 5 + m_Name: DeviceTypes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &562770319 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224644953376245418, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562770318} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.63422} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &562770320 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114745954840247250, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562770318} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'HoloLens + + Immersive headset' +--- !u!222 &562770321 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222889759466084120, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 562770318} +--- !u!1001 &563086074 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 867339238} + m_Modifications: + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalPosition.x + value: -2.013 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalPosition.y + value: 0.094 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalPosition.z + value: -0.102 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalRotation.y + value: -0.30818686 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_LocalRotation.w + value: 0.9513259 + objectReference: {fileID: 0} + - target: {fileID: 4857426404074426, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1993071269674472, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: ee519d5fb10a6db4f84d116e66f872b6, type: 2} + m_IsPrefabParent: 0 +--- !u!21 &661996343 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &767769385 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 767769386} + - component: {fileID: 767769387} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &767769386 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 767769385} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.9825, y: -322.609, z: 1.3330002} + m_LocalScale: {x: 0.013813125, y: 0.01381305, z: 0.008287894} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!212 &767769387 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 767769385} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: -1 + m_Sprite: {fileID: 21300000, guid: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!1 &784267856 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1152677137086646, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 784267857} + m_Layer: 0 + m_Name: Panel1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &784267857 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4579641208005124, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 784267856} + 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_Children: + - {fileID: 45021921} + - {fileID: 1330580250} + m_Father: {fileID: 1165418102} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &865603221 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: 0.24 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 1273346920} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadProgress + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Progress + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &865603222 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 865603221} +--- !u!1 &865603223 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 865603221} +--- !u!114 &865603224 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 865603223} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 0 + progressStyle: 1 +--- !u!1 &867339237 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 867339238} + - component: {fileID: 867339239} + m_Layer: 0 + m_Name: SceneContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &867339238 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 867339237} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.69, y: -0.462, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 403929215} + - {fileID: 2144030074} + - {fileID: 556724794} + - {fileID: 1165418102} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &867339239 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 867339237} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 906323c940a3fad4f8f7e9e4fcd747f4, type: 3} + m_Name: + m_EditorClassIdentifier: + containerObject: {fileID: 0} + alignmentType: 0 + stationarySpaceTypePosition: {x: 0, y: 0, z: 0} + roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} +--- !u!1 &936103385 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 936103386} + - component: {fileID: 936103388} + - component: {fileID: 936103387} + m_Layer: 5 + m_Name: Title + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &936103386 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 936103385} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.73904} + m_SizeDelta: {x: 1107.8, y: 244.2} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &936103387 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 936103385} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 78 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Progress Indicator Examples +--- !u!222 &936103388 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 936103385} +--- !u!1001 &1060830722 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + propertyPath: Cursor + value: + objectReference: {fileID: 1719146469} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + m_IsPrefabParent: 0 +--- !u!1001 &1073429648 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: 0.35999998 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2142688603} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadProgressBar + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Progress Bar + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1073429649 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1073429648} +--- !u!1 &1073429650 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1073429648} +--- !u!114 &1073429651 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1073429650} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 0 + progressStyle: 2 +--- !u!1001 &1081336611 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + m_IsPrefabParent: 0 +--- !u!21 &1101893265 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &1165418101 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1037805327611902, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1165418102} + m_Layer: 0 + m_Name: SceneDescriptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1165418102 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4038737183939630, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1165418101} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.414, y: 0.635, z: 2.242} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 784267857} + m_Father: {fileID: 867339238} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!21 &1273346920 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &1328841456 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1328841457} + - component: {fileID: 1328841459} + - component: {fileID: 1328841458} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1328841457 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1328841456} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8215, y: -322.98813} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1328841458 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1328841456} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'This scene shows examples of the use of the ProgressDialog prefab to create + several variations of a Progress Indicator. + + + You can find this prefab under Assets/HoloToolkit/UX/Prefabs/ + + + The Icon variation allows a custom Icont to be defined. This icon is then mapped + to a square which is displayed above the message text. The icon can be animated. + + + The Prefab variation allows a custom prefab to be defined. This prefab is loaded + and animated as demonstrated. The custom prefab can be animated. + +' +--- !u!222 &1328841459 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1328841456} +--- !u!1 &1330580249 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1330580250} + - component: {fileID: 1330580254} + - component: {fileID: 1330580253} + - component: {fileID: 1330580252} + - component: {fileID: 1330580251} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1330580250 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1330580249} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} + m_Children: [] + m_Father: {fileID: 784267857} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &1330580251 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54100405396922970, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1330580249} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1330580252 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1330580249} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1330580253 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1330580249} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1330580254 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1330580249} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1001 &1592208481 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: 0.120000005 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 325598383} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadText + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Text + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1592208482 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1592208481} +--- !u!1 &1592208483 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1592208481} +--- !u!114 &1592208484 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1592208483} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 0 + progressStyle: 0 +--- !u!1001 &1663468450 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + m_IsPrefabParent: 0 +--- !u!114 &1719146469 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114611684728110934, guid: a611e772ef8ddf64d8106a9cbb70f31c, + type: 2} + m_PrefabInternal: {fileID: 1663468450} + m_Script: {fileID: 11500000, guid: 0decd33ba8702954885a62b5bc1a778e, type: 3} +--- !u!1 &1741556443 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1741556444} + - component: {fileID: 1741556446} + - component: {fileID: 1741556445} + m_Layer: 5 + m_Name: SceneCaption + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1741556444 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1741556443} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.047, y: -0.126, z: 0} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_Children: [] + m_Father: {fileID: 2144030074} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &1741556445 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1741556443} + m_Text: Press a button for Progress example + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 1 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 140 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &1741556446 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1741556443} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1001 &1840311685 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: 0.0000000037252903 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 142118600} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadPrefab + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Prefab + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1840311686 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1840311685} +--- !u!1 &1840311687 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 1840311685} +--- !u!114 &1840311688 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1840311687} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 3 + progressStyle: 0 +--- !u!1 &1945190598 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1945190600} + - component: {fileID: 1945190599} + m_Layer: 0 + m_Name: Directional light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1945190599 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1945190598} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1945190600 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1945190598} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0.014481582, y: 0.053284775, z: 0.4331784} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1001 &2027296837 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2144030074} + m_Modifications: + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.x + value: -0.24 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 661996343} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_Name + value: ButtonLoadDefault + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[0].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[1].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[2].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[3].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[4].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114586770699789526, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: AnimActions.Array.data[5].InvalidParam + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_Text + value: Default + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + propertyPath: m_FontSize + value: 48 + objectReference: {fileID: 0} + - target: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2027296838 stripped +Transform: + m_PrefabParentObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 2027296837} +--- !u!1 &2027296839 stripped +GameObject: + m_PrefabParentObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 2027296837} +--- !u!114 &2027296840 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2027296839} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ed26ea9d66725446af165d66e8a5591, type: 3} + m_Name: + m_EditorClassIdentifier: + indicatorStyle: 2 + progressStyle: 0 +--- !u!1 &2065226561 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1676057836463404, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2065226562} + - component: {fileID: 2065226564} + - component: {fileID: 2065226563} + m_Layer: 0 + m_Name: BackPlateBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2065226562 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4469891222133882, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065226561} + m_LocalRotation: {x: -0, y: 0.00000005960463, z: -0, w: 1} + m_LocalPosition: {x: 0.0608, y: -0.00027745962, z: 0} + m_LocalScale: {x: 0.72, y: 0.12, z: 0.01} + m_Children: [] + m_Father: {fileID: 2144030074} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2065226563 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065226561} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 2 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: df4abdb025f6c11489a7f77f9fba8659, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2065226564 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33251067709024942, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2065226561} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2073752793 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2073752794} + - component: {fileID: 2073752797} + - component: {fileID: 2073752796} + - component: {fileID: 2073752795} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2073752794 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2073752793} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.82007, y: -322.6673, z: 1.3285} + m_LocalScale: {x: 0.5497447, y: 0.0030726464, z: 1} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2073752795 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2073752793} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &2073752796 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2073752793} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &2073752797 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2073752793} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2115598641 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1485382055181008, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2115598642} + - component: {fileID: 2115598644} + - component: {fileID: 2115598643} + m_Layer: 5 + m_Name: WorksOn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2115598642 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224413024187748670, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2115598641} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 45021921} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.61212} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2115598643 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114544788369345886, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2115598641} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Works on +--- !u!222 &2115598644 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222602141398920914, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2115598641} +--- !u!21 &2142688603 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + 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: 2800000, guid: e2d1418e284d6a84791331a768e88c69, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &2144030072 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2144030074} + - component: {fileID: 2144030073} + m_Layer: 0 + m_Name: ButtonCollection + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2144030073 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2144030072} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 74154c01851d1174b89ac67209b1d140, type: 3} + m_Name: + m_EditorClassIdentifier: + NodeList: + - Name: SceneCaption + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 1741556444} + - Name: HolographicButton + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 2027296838} + - Name: HolographicButton (1) + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 189354784} + - Name: HolographicButton (2) + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 1840311686} + - Name: HolographicButton (3) + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 1592208482} + - Name: HolographicButton (4) + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 865603222} + - Name: HolographicButton (5) + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 1073429649} + SurfaceType: 1 + SortType: 0 + OrientType: 1 + LayoutType: 0 + IgnoreInactiveTransforms: 1 + Radius: 2 + Rows: 1 + CellWidth: 0.12 + CellHeight: 0.5 + SphereMesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 3} + CylinderMesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 3} +--- !u!4 &2144030074 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2144030072} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.697, y: 0.256, z: 2} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1741556444} + - {fileID: 2065226562} + - {fileID: 2027296838} + - {fileID: 189354784} + - {fileID: 1840311686} + - {fileID: 1592208482} + - {fileID: 865603222} + - {fileID: 1073429649} + m_Father: {fileID: 867339238} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity.meta b/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity.meta new file mode 100644 index 00000000000..90ad1bf0de7 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/ProgressExample.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 1df58ce346bbb9246b021d5bbccfe0b1 +timeCreated: 1522869066 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity b/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity new file mode 100644 index 00000000000..7a09f4c73dc --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity @@ -0,0 +1,6393 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 2100000, guid: 064cf2adabde05941a372e975e563706, type: 2} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.50217825, g: 0.5020953, b: 0.5018046, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ShowResolutionOverlay: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &29365944 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 29365945} + m_Layer: 0 + m_Name: MenuButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &29365945 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 29365944} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0255, y: -0.0028, z: -0.0082} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2021116512} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &32687043 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4541142303025740, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1127525123306568, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: d29bc40b7f3df26479d6a0aac211c355, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &148915820 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 148915821} + m_Layer: 0 + m_Name: SelectButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &148915821 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 148915820} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.0017, y: -0.0209, z: 0.013} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2021116512} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &160756784 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 160756785} + m_Layer: 0 + m_Name: GraspButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &160756785 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 160756784} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0069, y: -0.0252, z: -0.0392} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2021116512} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &167440343 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 167440344} + - component: {fileID: 167440346} + - component: {fileID: 167440345} + m_Layer: 0 + m_Name: ShowOnFocusText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &167440344 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167440343} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 1.7610002, y: 4.27, z: 2.79} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &167440345 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167440343} + m_Text: 'Show on + + Focus' + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 60 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &167440346 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 167440343} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &215942286 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 215942287} + m_Layer: 0 + m_Name: Touchpad + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &215942287 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 215942286} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0056999996, y: 0.001, z: 0.0004} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 346301805} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &281205021 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100052, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 281205022} + - component: {fileID: 281205024} + - component: {fileID: 281205023} + m_Layer: 0 + m_Name: TopGoldDial + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &281205022 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400052, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 281205021} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0062739193, y: 3.886578, z: -0.6774315} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 16 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &281205023 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300046, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 281205021} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 8b4fa37d32efc2547b4954812f85e246, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &281205024 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300046, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 281205021} + m_Mesh: {fileID: 4300030, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1001 &309663987 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -2.357 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -1.645 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 13.48 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.030928891 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: 0.026119478 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_LunarModule_Thrust + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: -0.016004367 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Thrust + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -0.016004367 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.030928891 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.026119478 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 2066565500} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &309663988 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 309663987} +--- !u!1 &346301799 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 346301805} + - component: {fileID: 346301806} + m_Layer: 0 + m_Name: MotionControllerExample_Right + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &346301805 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346301799} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.009, y: -2.5049999, z: 2.714} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 612997428} + - {fileID: 2143223044} + - {fileID: 1502933153} + - {fileID: 622499456} + - {fileID: 2146403674} + - {fileID: 1976949584} + - {fileID: 375710583} + - {fileID: 536019417} + - {fileID: 215942287} + - {fileID: 1943142430} + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &346301806 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 346301799} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9a5088063237d3944a918ae215b1f324, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 5 + handedness: 2 + SetChildrenInactiveWhenDetached: 1 + PositionOffset: {x: 0, y: 0, z: 0} + RotationOffset: {x: 0, y: 0, z: 0} + ScaleOffset: {x: 1, y: 1, z: 1} + SetScaleOnAttach: 0 +--- !u!1 &365752473 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100004, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 365752474} + - component: {fileID: 365752476} + - component: {fileID: 365752475} + m_Layer: 0 + m_Name: Platonic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &365752474 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400004, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 365752473} + 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_Children: [] + m_Father: {fileID: 1286762433} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &365752475 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300000, guid: 284d5c2c421022e4f9056fb0a21ff91c, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 365752473} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &365752476 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300000, guid: 284d5c2c421022e4f9056fb0a21ff91c, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 365752473} + m_Mesh: {fileID: 4300000, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} +--- !u!1 &375710582 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 375710583} + m_Layer: 0 + m_Name: GraspButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &375710583 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 375710582} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0138, y: -0.0216, z: -0.0365} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 346301805} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &383219469 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100006, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 383219470} + - component: {fileID: 383219472} + - component: {fileID: 383219471} + m_Layer: 0 + m_Name: BottomRightBody + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &383219470 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400006, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 383219469} + m_LocalRotation: {x: 0.26356483, y: -0.2757613, z: 0.3809003, w: 0.8422614} + m_LocalPosition: {x: -1.0640969, y: 2.87648, z: 0.2856614} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &383219471 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300006, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 383219469} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &383219472 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300006, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 383219469} + m_Mesh: {fileID: 4300010, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &413619961 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 413619962} + m_Layer: 0 + m_Name: Object_ShowToolTipAlways_B + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &413619962 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 413619961} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.054, y: -1.961, z: 12.732} + m_LocalScale: {x: 0.35376287, y: 0.35376287, z: 0.35376287} + m_Children: + - {fileID: 1092355426} + m_Father: {fileID: 782535781} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &419909318 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2021116512} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.262 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.43 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.343 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.08096003 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.076440014 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.063 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_4 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.25377998 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Grasp + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.25377998 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.08096 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.076440014 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 160756784} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &419909319 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 419909318} +--- !u!1 &449611459 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100062, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 449611460} + - component: {fileID: 449611462} + - component: {fileID: 449611461} + m_Layer: 0 + m_Name: GasTankGlass + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &449611460 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400062, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 449611459} + 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_Children: [] + m_Father: {fileID: 1374492529} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &449611461 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300052, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 449611459} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: dbfc2413686b2434aa684ae158d86c1d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &449611462 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300052, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 449611459} + m_Mesh: {fileID: 4300052, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &461715216 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 461715217} + - component: {fileID: 461715219} + - component: {fileID: 461715218} + m_Layer: 0 + m_Name: ShowAlwaysText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &461715217 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 461715216} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.986, y: 4.2860003, z: 3.254} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &461715218 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 461715216} + m_Text: "Always \nShowing" + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 60 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &461715219 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 461715216} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &461846837 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 461846838} + m_Layer: 0 + m_Name: Object_ShowToolTipAlways_A + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &461846838 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 461846837} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.004, y: -1.3606, z: 13.646} + m_LocalScale: {x: 0.35376287, y: 0.35376287, z: 0.35376287} + m_Children: + - {fileID: 959819893} + m_Father: {fileID: 782535781} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &523188691 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100070, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 523188692} + - component: {fileID: 523188694} + - component: {fileID: 523188693} + m_Layer: 0 + m_Name: Legs4 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &523188692 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400070, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 523188691} + 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_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 12 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &523188693 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300060, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 523188691} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &523188694 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300060, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 523188691} + m_Mesh: {fileID: 4300060, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &536019416 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 536019417} + m_Layer: 0 + m_Name: Thumbstick + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &536019417 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 536019416} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0257, y: 0.0045, z: -0.0077} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 346301805} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &610853223 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2021116512} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.583 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.228 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.386 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.045799986 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.07711999 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.06299998 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_3 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.31774 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Touchpad + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.31774 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.04580001 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.07711999 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.064400025 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1946960591} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &610853224 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 610853223} +--- !u!1001 &612997427 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 346301805} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.0205 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.2367 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.0000800021 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.04474 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.010000002 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_1 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.00034000873 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Select + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.00034000873 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.0000800021 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.04474 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0.000000011920929 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.01 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1976949583} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &612997428 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 612997427} +--- !u!1 &617844494 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1113360108618934, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 617844495} + - component: {fileID: 617844497} + - component: {fileID: 617844496} + m_Layer: 5 + m_Name: DeviceTypes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &617844495 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224644953376245418, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 617844494} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.63422} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &617844496 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114745954840247250, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 617844494} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 28 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'HoloLens + + Immersive headset' +--- !u!222 &617844497 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222889759466084120, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 617844494} +--- !u!1001 &622499455 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 346301805} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.57 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.43 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.343 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.08544 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.07023998 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.063 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_4 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.30922005 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Grasp + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.30922002 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.08544 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.07023998 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1943142429} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &622499456 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 622499455} +--- !u!1 &645727278 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100028, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 645727279} + - component: {fileID: 645727281} + - component: {fileID: 645727280} + m_Layer: 0 + m_Name: Face + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &645727279 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400028, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 645727278} + m_LocalRotation: {x: 0, y: -0, z: -0.0062706405, w: 0.99998033} + m_LocalPosition: {x: -0.016837617, y: 3.5421832, z: 1.7719073} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &645727280 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300028, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 645727278} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &645727281 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300028, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 645727278} + m_Mesh: {fileID: 4300018, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &666035457 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100064, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 666035458} + - component: {fileID: 666035460} + - component: {fileID: 666035459} + m_Layer: 0 + m_Name: Legs1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &666035458 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400064, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 666035457} + 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_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &666035459 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300054, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 666035457} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &666035460 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300054, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 666035457} + m_Mesh: {fileID: 4300054, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1001 &677714136 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011656901714, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114742747811649402, guid: 3eddd1c29199313478dd3f912bfab2ab, + type: 2} + propertyPath: Cursor + value: + objectReference: {fileID: 1429628605} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3eddd1c29199313478dd3f912bfab2ab, type: 2} + m_IsPrefabParent: 0 +--- !u!1001 &720034182 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2021116512} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.336 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.166 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.392 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.034060024 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.079920016 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.062999986 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_2 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.2732 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Thumbstick + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.2732 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.034059998 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.079920016 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440001 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1333256890} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &720034183 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 720034182} +--- !u!1 &722345290 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 722345291} + m_Layer: 2 + m_Name: TitleText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &722345291 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 722345290} + 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_Children: + - {fileID: 461715217} + - {fileID: 1053828666} + - {fileID: 167440344} + - {fileID: 792597985} + - {fileID: 2062840305} + - {fileID: 1561763542} + - {fileID: 1536692541} + m_Father: {fileID: 1595493452} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &731088033 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1485382055181008, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 731088034} + - component: {fileID: 731088036} + - component: {fileID: 731088035} + m_Layer: 5 + m_Name: WorksOn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &731088034 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224413024187748670, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 731088033} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.6625, y: -322.61212} + m_SizeDelta: {x: 471.4, y: 140.6} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &731088035 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114544788369345886, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 731088033} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 2 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: Works on +--- !u!222 &731088036 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222602141398920914, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 731088033} +--- !u!1 &733610005 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100002, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 733610006} + - component: {fileID: 733610008} + - component: {fileID: 733610007} + m_Layer: 0 + m_Name: Backpack + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &733610006 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400002, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 733610005} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0, y: 2.8125556, z: -1.2768781} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &733610007 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300002, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 733610005} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &733610008 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300002, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 733610005} + m_Mesh: {fileID: 4300004, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &782535780 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 782535781} + m_Layer: 2 + m_Name: TooltipExamples + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &782535781 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 782535780} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 1.83, y: 4.2, z: -10.9} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 461846838} + - {fileID: 1466711242} + - {fileID: 413619962} + - {fileID: 2089327780} + - {fileID: 1000547033} + - {fileID: 2073087765} + - {fileID: 1621853756} + - {fileID: 309663988} + - {fileID: 1227021218} + - {fileID: 1220608071} + - {fileID: 1286762433} + m_Father: {fileID: 1595493452} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &792597984 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 792597985} + - component: {fileID: 792597987} + - component: {fileID: 792597986} + m_Layer: 0 + m_Name: Title_MotionControllerRight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &792597985 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 792597984} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.628, y: 1.342, z: 2.79} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &792597986 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 792597984} + m_Text: 'Motion controller + + Tooltip - Right' + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 60 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &792597987 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 792597984} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &836834070 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100048, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1000547033} + - component: {fileID: 836834072} + - component: {fileID: 836834071} + m_Layer: 0 + m_Name: LunarModule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &836834071 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 836834070} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6eb034688bcf84b4bb52b3a3310868c3, type: 3} + m_Name: + m_EditorClassIdentifier: + hostTransform: {fileID: 0} + boundingBoxPrefab: {fileID: 114030465538688920, guid: 865a8ded6c47efd4285f04f3aebe99e9, + type: 2} + manipulationMode: 2 + rotationConstraint: 0 + enableOneHandMovement: 1 +--- !u!65 &836834072 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 836834070} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 4.1038437, y: 5.2726097, z: 4.5705256} + m_Center: {x: -0.024344625, y: 2.092517, z: -0.050007258} +--- !u!1 &902945836 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100044, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 902945839} + - component: {fileID: 902945838} + - component: {fileID: 902945837} + m_Layer: 0 + m_Name: Nose + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &902945837 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300042, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 902945836} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &902945838 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300042, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 902945836} + m_Mesh: {fileID: 4300016, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!4 &902945839 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400044, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 902945836} + m_LocalRotation: {x: 0.697336, y: -0, z: -0, w: 0.71674436} + m_LocalPosition: {x: -0.0036123123, y: 2.713211, z: 1.765817} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 14 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &959819892 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 959819893} + - component: {fileID: 959819895} + - component: {fileID: 959819894} + m_Layer: 0 + m_Name: Platonic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &959819893 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 959819892} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -9.48, y: 1.91, z: 2.7771864} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 461846838} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &959819894 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 959819892} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 811899e9ec1885f4cabed7937a48efbc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &959819895 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 959819892} + m_Mesh: {fileID: 4300000, guid: 1e23ec24c22068b4cbf47737c35e277b, type: 3} +--- !u!4 &1000547033 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400048, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 836834070} + m_LocalRotation: {x: -0, y: 0.95188594, z: -0, w: -0.3064527} + m_LocalPosition: {x: -2.59, y: -1.4709997, z: 13.903} + m_LocalScale: {x: 0.22083683, y: 0.22083645, z: 0.22083683} + m_Children: + - {fileID: 1697135929} + - {fileID: 733610006} + - {fileID: 2047006156} + - {fileID: 383219470} + - {fileID: 645727279} + - {fileID: 1075983760} + - {fileID: 1374492529} + - {fileID: 2008337342} + - {fileID: 1102426502} + - {fileID: 666035458} + - {fileID: 2085988781} + - {fileID: 2052693452} + - {fileID: 523188692} + - {fileID: 1858518873} + - {fileID: 902945839} + - {fileID: 2066565503} + - {fileID: 281205022} + - {fileID: 1257630938} + m_Father: {fileID: 782535781} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 215.691, z: 0} +--- !u!1 &1053828665 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1053828666} + - component: {fileID: 1053828668} + - component: {fileID: 1053828667} + m_Layer: 0 + m_Name: ShowOnClickText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1053828666 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053828665} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.884, y: 4.267, z: 3.56} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &1053828667 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053828665} + m_Text: "Show on \nPress" + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 60 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &1053828668 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1053828665} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &1075983757 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100030, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1075983760} + - component: {fileID: 1075983759} + - component: {fileID: 1075983758} + m_Layer: 0 + m_Name: FrontAntenna + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &1075983758 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300030, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1075983757} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1075983759 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300030, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1075983757} + m_Mesh: {fileID: 4300022, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!4 &1075983760 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400030, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1075983757} + m_LocalRotation: {x: 0.99992645, y: -0, z: 0, w: 0.012129735} + m_LocalPosition: {x: -0.00034546127, y: 3.976675, z: 1.1951252} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1092355425 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1092355426} + - component: {fileID: 1092355428} + - component: {fileID: 1092355427} + m_Layer: 0 + m_Name: Platonic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1092355426 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1092355425} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -14.46, y: 3.49, z: 2.7771864} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 413619962} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1092355427 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1092355425} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1092355428 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1092355425} + m_Mesh: {fileID: 4300000, guid: 1e23ec24c22068b4cbf47737c35e277b, type: 3} +--- !u!1 &1102426501 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100038, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1102426502} + - component: {fileID: 1102426504} + - component: {fileID: 1102426503} + m_Layer: 0 + m_Name: LeftTwirler + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1102426502 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400038, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1102426501} + m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068} + m_LocalPosition: {x: 2.0040545, y: 3.0098991, z: -0.028105656} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1102426503 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300038, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1102426501} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 522573f9741466f4f9eb698bce4a266a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1102426504 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300038, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1102426501} + m_Mesh: {fileID: 4300006, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &1192552200 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1192552202} + - component: {fileID: 1192552201} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1192552201 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1192552200} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1192552202 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1192552200} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!1 &1220608070 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1220608071} + - component: {fileID: 1220608072} + m_Layer: 0 + m_Name: Object_ToolTipOnInput + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1220608071 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1220608070} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.419, y: 0.182, z: 11.112} + m_LocalScale: {x: 0.35376287, y: 0.35376287, z: 0.35376287} + m_Children: + - {fileID: 1606036650} + m_Father: {fileID: 782535781} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1220608072 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1220608070} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c814c68aa61c8dc4dbcb18cc955ec9b2, type: 3} + m_Name: + m_EditorClassIdentifier: + defaultDimensions: {x: 0.182, y: 0.028, z: 1} + showBackground: 1 + showOutline: 0 + showConnector: 1 + appearType: 1 + vanishType: 1 + remainType: 1 + appearDelay: 0 + vanishDelay: 2 + lifetime: 1 + toolTipPrefab: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + followType: 0 + pivotMode: 0 + pivotDirection: 1 + pivotDirectionOrient: 0 + manualPivotDirection: {x: 0, y: 1, z: 0} + manualPivotLocalPosition: {x: -4.07, y: -1.67, z: 6.75} + pivotDistance: 0.087 + ToolTipText: You clicked me! + Anchor: {fileID: 1606036650} +--- !u!1001 &1227021217 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -3.421 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -1.045 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 13.559 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 8 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.011231284 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: 0.0017394761 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: -0.00000000773128 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_LunarModule_Window + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.039181337 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Window + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.039181337 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.011231284 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.0017394761 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 902945836} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1227021218 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 1227021217} +--- !u!1 &1257630937 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100054, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1257630938} + - component: {fileID: 1257630940} + - component: {fileID: 1257630939} + m_Layer: 0 + m_Name: TopLeftBody + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1257630938 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400054, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1257630937} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.9005912, y: 3.2155666, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 17 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1257630939 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300048, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1257630937} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1257630940 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300048, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1257630937} + m_Mesh: {fileID: 4300014, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &1286762432 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100002, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1286762433} + - component: {fileID: 1286762435} + - component: {fileID: 1286762434} + m_Layer: 0 + m_Name: Object_ShowToolTipOnFocus + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1286762433 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400002, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1286762432} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.17, y: -0.789, z: 13.67} + m_LocalScale: {x: 0.3808517, y: 0.3808517, z: 0.3808517} + m_Children: + - {fileID: 365752474} + m_Father: {fileID: 782535781} + m_RootOrder: 10 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1286762434 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1286762432} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c814c68aa61c8dc4dbcb18cc955ec9b2, type: 3} + m_Name: + m_EditorClassIdentifier: + defaultDimensions: {x: 0.182, y: 0.028, z: 1} + showBackground: 1 + showOutline: 0 + showConnector: 1 + appearType: 0 + vanishType: 0 + remainType: 1 + appearDelay: 0 + vanishDelay: 2 + lifetime: 1 + toolTipPrefab: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + followType: 0 + pivotMode: 0 + pivotDirection: 2 + pivotDirectionOrient: 1 + manualPivotDirection: {x: 0, y: 1, z: 0} + manualPivotLocalPosition: {x: 1.03, y: 1, z: 0} + pivotDistance: 0.218 + ToolTipText: I was focused! + Anchor: {fileID: 365752474} +--- !u!64 &1286762435 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1286762432} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 1 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 4300000, guid: 284d5c2c421022e4f9056fb0a21ff91c, type: 3} +--- !u!1 &1333256890 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1333256891} + m_Layer: 0 + m_Name: Thumbstick + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1333256891 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1333256890} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.03, y: 0.0043, z: -0.0076} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2021116512} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1374492526 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100034, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1374492529} + - component: {fileID: 1374492528} + - component: {fileID: 1374492527} + m_Layer: 0 + m_Name: GasTank + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &1374492527 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300034, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1374492526} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1374492528 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300034, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1374492526} + m_Mesh: {fileID: 4300008, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!4 &1374492529 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400034, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1374492526} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -1.5311722, y: 2.8684888, z: -0.2015569} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1703052113} + - {fileID: 449611460} + m_Father: {fileID: 1000547033} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1398757916 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1835462303943884, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1398757917} + - component: {fileID: 1398757920} + - component: {fileID: 1398757919} + - component: {fileID: 1398757918} + m_Layer: 0 + m_Name: TextContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1398757917 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224385282562073920, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1398757916} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -1.3525823} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1683913915} + - {fileID: 1548559299} + - {fileID: 1910442590} + - {fileID: 731088034} + - {fileID: 617844495} + - {fileID: 1585346621} + m_Father: {fileID: 1515929545} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 512.5886, y: 323.03625} + m_SizeDelta: {x: 1025, y: 648} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1398757918 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114803053854114090, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1398757916} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &1398757919 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114747735679590474, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1398757916} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 +--- !u!223 &1398757920 +Canvas: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 223269791768138664, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1398757916} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!1001 &1429628604 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4000011792100794, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: a611e772ef8ddf64d8106a9cbb70f31c, type: 2} + m_IsPrefabParent: 0 +--- !u!114 &1429628605 stripped +MonoBehaviour: + m_PrefabParentObject: {fileID: 114611684728110934, guid: a611e772ef8ddf64d8106a9cbb70f31c, + type: 2} + m_PrefabInternal: {fileID: 1429628604} + m_Script: {fileID: 11500000, guid: 0decd33ba8702954885a62b5bc1a778e, type: 3} +--- !u!1001 &1466711241 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -3.87 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.09 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 15.48 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_A + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.05522596 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: -0.000000009664101 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: -0.03162781 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -0.03162781 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.038582888 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.05522596 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.038582888 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 959819892} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1466711242 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 1466711241} +--- !u!1001 &1502933152 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 346301805} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.307 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.228 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.386 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.045799986 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.07711999 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.06299998 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_3 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.26254 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Touchpad + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.26254 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.045799986 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.07711999 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.064400025 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 215942286} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1502933153 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 1502933152} +--- !u!1 &1515929544 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1152677137086646, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1515929545} + m_Layer: 0 + m_Name: Panel1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1515929545 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4579641208005124, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1515929544} + 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_Children: + - {fileID: 1398757917} + - {fileID: 1540750389} + m_Father: {fileID: 1605347205} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1536692540 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1536692541} + - component: {fileID: 1536692543} + - component: {fileID: 1536692542} + m_Layer: 0 + m_Name: Title_MotionControllerRight (3) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1536692541 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1536692540} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.628, y: 1.837, z: 2.79} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &1536692542 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1536692540} + m_Text: "will be attached to the right \ncontroller when it is detected." + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 40 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &1536692543 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1536692540} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &1540750388 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1319326335823192, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1540750389} + - component: {fileID: 1540750393} + - component: {fileID: 1540750392} + - component: {fileID: 1540750391} + - component: {fileID: 1540750390} + m_Layer: 0 + m_Name: Backpanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1540750389 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4925815908915770, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1540750388} + m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} + m_LocalPosition: {x: -0.23, y: 0.13322008, z: -0.004582405} + m_LocalScale: {x: 0.013220016, y: 0.71818995, z: 0.61351055} + m_Children: [] + m_Father: {fileID: 1515929545} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0} +--- !u!54 &1540750390 +Rigidbody: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 54100405396922970, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1540750388} + serializedVersion: 2 + m_Mass: 100 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 126 + m_CollisionDetection: 0 +--- !u!23 &1540750391 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23612074761842514, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1540750388} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 61c598ddff7a2cc4ea50c285c361691d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!65 &1540750392 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 65599234300196070, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1540750388} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1540750393 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33590020163061146, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1540750388} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1548559298 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1344339051826214, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1548559299} + - component: {fileID: 1548559301} + - component: {fileID: 1548559300} + m_Layer: 5 + m_Name: Description + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1548559299 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224856759666131864, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1548559298} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334956} + m_LocalScale: {x: 0.00050000026, y: 0.0005, z: 0.00050000026} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.8215, y: -322.98813} + m_SizeDelta: {x: 1107.8, y: 1000} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1548559300 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114761561608045154, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1548559298} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 34 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'This example scene demonstrates an implementation of the ToolTip user interface + element. Tooltips are usually used to convey a hint or extra information upon + closer inspection of an object. ToolTip can be used to explain button inputs on + the motion controllers or to label objects in the physical environment. + + + Please refer to the README file for the technical details.' +--- !u!222 &1548559301 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222334294151603570, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1548559298} +--- !u!1 &1561763541 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1561763542} + - component: {fileID: 1561763544} + - component: {fileID: 1561763543} + m_Layer: 0 + m_Name: Title_MotionControllerRight (2) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1561763542 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561763541} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.628, y: 2.15, z: 2.79} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &1561763543 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561763541} + m_Text: 'Motion controller + + Tooltip - Left' + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 60 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &1561763544 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1561763541} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1001 &1576127250 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2021116512} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.566 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.259 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.182 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.051240005 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.038039986 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.063 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.3183 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Menu + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.3183 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.051240005 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.038039986 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 29365944} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114608972520619298, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1576127251 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 1576127250} +--- !u!1 &1585346620 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1857403430107600, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1585346621} + - component: {fileID: 1585346622} + m_Layer: 0 + m_Name: MRTK_Logo + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1585346621 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4905320192366726, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1585346620} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.9825, y: -322.609, z: 1.3330002} + m_LocalScale: {x: 0.013813125, y: 0.01381305, z: 0.008287894} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0} +--- !u!212 &1585346622 +SpriteRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 212559292570936782, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1585346620} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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: -1 + m_Sprite: {fileID: 21300000, guid: f721996453d888a4db83f0f9f1a4eb7c, type: 3} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_FlipX: 0 + m_FlipY: 0 + m_DrawMode: 0 + m_Size: {x: 20, y: 7.48} + m_AdaptiveModeThreshold: 0.5 + m_SpriteTileMode: 0 + m_WasSpriteAssigned: 1 + m_MaskInteraction: 0 +--- !u!1 &1595493450 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1595493452} + - component: {fileID: 1595493451} + m_Layer: 2 + m_Name: SceneContents + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1595493451 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1595493450} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 906323c940a3fad4f8f7e9e4fcd747f4, type: 3} + m_Name: + m_EditorClassIdentifier: + containerObject: {fileID: 1595493452} + alignmentType: 0 + stationarySpaceTypePosition: {x: 0, y: 0, z: 0} + roomScaleSpaceTypePosition: {x: 0, y: 0, z: 0} +--- !u!4 &1595493452 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1595493450} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -3.59, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1605347205} + - {fileID: 782535781} + - {fileID: 722345291} + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &1605347205 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4038737183939630, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1866286194} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.104, y: 4.111, z: 4.142} + m_LocalScale: {x: 2.517919, y: 2.5179217, z: 2.5179217} + m_Children: + - {fileID: 1515929545} + m_Father: {fileID: 1595493452} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1606036649 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1606036650} + - component: {fileID: 1606036652} + - component: {fileID: 1606036651} + - component: {fileID: 1606036653} + m_Layer: 0 + m_Name: Platonic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1606036650 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1606036649} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -3.15, y: -2.89, z: 9.31} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1220608071} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1606036651 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1606036649} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 522573f9741466f4f9eb698bce4a266a, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1606036652 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1606036649} + m_Mesh: {fileID: 4300000, guid: 1e23ec24c22068b4cbf47737c35e277b, type: 3} +--- !u!64 &1606036653 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1606036649} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 1 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 4300000, guid: 1e23ec24c22068b4cbf47737c35e277b, type: 3} +--- !u!1001 &1621853755 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.691 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.475 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 13.528 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.02351196 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: 0.013870781 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.0000000057984595 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_LunarModule_GasTank + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: -0.038809277 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Gas Tank + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -0.038809277 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.02351196 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.013870781 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1374492526} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &1621853756 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 1621853755} +--- !u!1 &1683913914 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1451936078842708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1683913915} + - component: {fileID: 1683913917} + - component: {fileID: 1683913916} + m_Layer: 5 + m_Name: Title + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1683913915 +RectTransform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 224339627565595316, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683913914} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1.3334941} + m_LocalScale: {x: 0.0005000003, y: 0.0005000001, z: 0.0005000003} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -512.82153, y: -322.73904} + m_SizeDelta: {x: 1107.8, y: 244.2} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1683913916 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 114257903654940708, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683913914} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 78 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 10 + m_MaxSize: 101 + m_Alignment: 0 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: ToolTip Examples +--- !u!222 &1683913917 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 222382184650279478, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1683913914} +--- !u!1 &1697135928 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100000, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1697135929} + - component: {fileID: 1697135931} + - component: {fileID: 1697135930} + m_Layer: 0 + m_Name: BackBody + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1697135929 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400000, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1697135928} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0066931495, y: 0.5422392, z: -0.17123856} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1697135930 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300000, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1697135928} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + - {fileID: 2100000, guid: ae807562865fee3439bce482908d8881, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1697135931 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300000, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1697135928} + m_Mesh: {fileID: 4300020, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &1703052112 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100032, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1703052113} + - component: {fileID: 1703052115} + - component: {fileID: 1703052114} + m_Layer: 0 + m_Name: Gas + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1703052113 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400032, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1703052112} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.011790097, y: -0.90475464, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1374492529} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1703052114 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300032, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1703052112} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 811899e9ec1885f4cabed7937a48efbc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1703052115 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300032, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1703052112} + m_Mesh: {fileID: 4300012, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &1858518872 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100042, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1858518873} + - component: {fileID: 1858518875} + - component: {fileID: 1858518874} + m_Layer: 0 + m_Name: Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1858518873 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400042, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1858518872} + m_LocalRotation: {x: 0.19570498, y: -0.038041193, z: 0.18697844, w: 0.96192074} + m_LocalPosition: {x: -1.0705384, y: 4.3997025, z: -0.24103928} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 13 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1858518874 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300040, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1858518872} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &1858518875 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300040, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1858518872} + m_Mesh: {fileID: 4300000, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &1866286194 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1037805327611902, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1605347205} + m_Layer: 0 + m_Name: SceneDescriptionPanel + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1910442589 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 1702150885567096, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1910442590} + - component: {fileID: 1910442593} + - component: {fileID: 1910442592} + - component: {fileID: 1910442591} + m_Layer: 0 + m_Name: Rule + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1910442590 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 4459327869346566, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1910442589} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -512.82007, y: -322.6673, z: 1.3285} + m_LocalScale: {x: 0.5497447, y: 0.0030726464, z: 1} + m_Children: [] + m_Father: {fileID: 1398757917} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1910442591 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 23475067446539832, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1910442589} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!64 &1910442592 +MeshCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 64067504913786168, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1910442589} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &1910442593 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 33070690472620464, guid: 3404cd77d857d3847a89a11804f185c0, + type: 2} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1910442589} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1943142429 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1943142430} + m_Layer: 0 + m_Name: MenuButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1943142430 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1943142429} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0239, y: -0.0028, z: -0.0082} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 346301805} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1946960591 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1946960592} + m_Layer: 0 + m_Name: Touchpad + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1946960592 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1946960591} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0056999996, y: 0.001, z: 0.0004} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2021116512} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1976949583 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1976949584} + m_Layer: 0 + m_Name: SelectButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1976949584 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1976949583} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.0017, y: -0.0209, z: 0.013} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 346301805} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2008337341 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100036, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2008337342} + - component: {fileID: 2008337344} + - component: {fileID: 2008337343} + m_Layer: 0 + m_Name: GoldBase + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2008337342 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400036, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2008337341} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.018764209, y: 1.5655861, z: 0.106816515} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2008337343 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300036, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2008337341} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2008337344 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300036, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2008337341} + m_Mesh: {fileID: 4300026, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &2021116510 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2021116512} + - component: {fileID: 2021116511} + m_Layer: 0 + m_Name: MotionControllerExample_Left + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &2021116511 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2021116510} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9a5088063237d3944a918ae215b1f324, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 5 + handedness: 1 + SetChildrenInactiveWhenDetached: 1 + PositionOffset: {x: 0, y: 0, z: 0} + RotationOffset: {x: 0, y: 0, z: 0} + ScaleOffset: {x: 1, y: 1, z: 1} + SetScaleOnAttach: 0 +--- !u!4 &2021116512 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2021116510} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -1.009, y: -1.6839998, z: 2.714} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 2039496339} + - {fileID: 720034183} + - {fileID: 610853224} + - {fileID: 419909319} + - {fileID: 1576127251} + - {fileID: 148915821} + - {fileID: 160756785} + - {fileID: 1333256891} + - {fileID: 1946960592} + - {fileID: 29365945} + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2039496338 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2021116512} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.0205 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.2367 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.0000800021 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.04474 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.010000002 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_1 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.00034000873 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Select + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.00034000873 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.0000800021 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.04474 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0.000000011920929 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.01 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 148915820} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2039496339 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 2039496338} +--- !u!1 &2047006155 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100004, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2047006156} + - component: {fileID: 2047006158} + - component: {fileID: 2047006157} + m_Layer: 0 + m_Name: BottomLeftBody + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2047006156 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400004, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2047006155} + m_LocalRotation: {x: 0.3798753, y: -0.034720376, z: -0.26623514, w: 0.8852165} + m_LocalPosition: {x: 0.9301435, y: 2.5000434, z: -0.046776738} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2047006157 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300004, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2047006155} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2047006158 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300004, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2047006155} + m_Mesh: {fileID: 4300024, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &2052693451 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100068, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2052693452} + - component: {fileID: 2052693454} + - component: {fileID: 2052693453} + m_Layer: 0 + m_Name: Legs3 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2052693452 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400068, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2052693451} + 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_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 11 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2052693453 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300058, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2052693451} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2052693454 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300058, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2052693451} + m_Mesh: {fileID: 4300058, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1 &2062840304 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2062840305} + - component: {fileID: 2062840307} + - component: {fileID: 2062840306} + m_Layer: 0 + m_Name: Title_MotionControllerRight (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2062840305 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2062840304} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.628, y: 1.029, z: 2.79} + m_LocalScale: {x: 0.02, y: 0.02, z: 0.02} + m_Children: [] + m_Father: {fileID: 722345291} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!102 &2062840306 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2062840304} + m_Text: "will be attached to the left \ncontroller when it is detected." + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 40 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!23 &2062840307 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2062840304} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!1 &2066565500 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100050, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2066565503} + - component: {fileID: 2066565502} + - component: {fileID: 2066565501} + m_Layer: 0 + m_Name: ThrustCylinder + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &2066565501 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300044, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066565500} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 79faf1ee4d8eade4c9a79165a7e2711c, type: 2} + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2066565502 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300044, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066565500} + m_Mesh: {fileID: 4300028, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!4 &2066565503 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400050, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2066565500} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0028761507, y: 1.3715805, z: 0.11090452} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 15 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2073087764 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -3.16 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.263 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 14.017 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.02138939 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.021298252 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_LunarModule_FrontAntenna + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.026984902 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Front Antenna + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.026984902 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.02138939 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.021298252 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1075983757} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2073087765 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 2073087764} +--- !u!1 &2085988780 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 100066, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2085988781} + - component: {fileID: 2085988783} + - component: {fileID: 2085988782} + m_Layer: 0 + m_Name: Legs2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2085988781 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 400066, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2085988780} + 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_Children: [] + m_Father: {fileID: 1000547033} + m_RootOrder: 10 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &2085988782 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 2300056, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2085988780} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 72e18e0d02c99274e9e3b31c87729790, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &2085988783 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 3300056, guid: 2c11bf713819a084d8cb4c35db20d042, + type: 3} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2085988780} + m_Mesh: {fileID: 4300056, guid: 2c11bf713819a084d8cb4c35db20d042, type: 3} +--- !u!1001 &2089327779 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 782535781} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -5.71 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.17 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 14.27 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: -0.03608303 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.036029 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: -0.00000000483205 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_B + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.042064037 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: I am a Tool Tip + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.042064037 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.03608303 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.036029 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 15.419089 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1092355425} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2089327780 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 2089327779} +--- !u!1001 &2143223043 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 346301805} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.562 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.253 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.392 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.05149998 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.07993999 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.06300001 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_2 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.30726 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Thumbstick + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.30726 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.05149998 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.07993999 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440001 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 536019416} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2143223044 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 2143223043} +--- !u!1001 &2146403673 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 346301805} + m_Modifications: + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: -1.27 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: -0.259 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: 0.182 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.y + value: 0.051240005 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.z + value: -0.038039986 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.y + value: 0.063 + objectReference: {fileID: 0} + - target: {fileID: 1963181076315932, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_Name + value: ToolTip_5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: Start.x + value: 0.24922 + objectReference: {fileID: 0} + - target: {fileID: 102388150973355850, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Text + value: Menu + objectReference: {fileID: 0} + - target: {fileID: 23479976745827762, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.24922 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.051240005 + objectReference: {fileID: 0} + - target: {fileID: 4992329056269614, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.038039986 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.x + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.y + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalScale.z + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: LineMaterial + value: + objectReference: {fileID: 0} + - target: {fileID: 114969983881809412, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: lineRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.y + value: 0.06299999 + objectReference: {fileID: 0} + - target: {fileID: 4268129604402540, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + propertyPath: m_LocalPosition.z + value: -0.06440002 + objectReference: {fileID: 0} + - target: {fileID: 114065498733854586, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: End.x + value: 0.286 + objectReference: {fileID: 0} + - target: {fileID: 114560166902750794, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + propertyPath: target + value: + objectReference: {fileID: 1943142429} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 3b2729a90daf689408e97dcbcc8e8a4e, type: 2} + m_IsPrefabParent: 0 +--- !u!4 &2146403674 stripped +Transform: + m_PrefabParentObject: {fileID: 4958700347904618, guid: 3b2729a90daf689408e97dcbcc8e8a4e, + type: 2} + m_PrefabInternal: {fileID: 2146403673} diff --git a/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity.meta b/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity.meta new file mode 100644 index 00000000000..648d9bf0a9b --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scenes/TooltipExamples.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f3e468440f9093b4ab46ddfaeaab7405 +timeCreated: 1520445447 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs b/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs new file mode 100644 index 00000000000..f93d0dc8195 --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.InputModule; +using UnityEngine; + +namespace HoloToolkit.Unity.Examples.UX +{ + public class BoundingBoxRigActivityExample : MonoBehaviour, IBoundingBoxStateHandler + { + public void OnBoundingBoxRigActivated(BoundingBoxEventData eventData) + { + Debug.LogFormat("{0}'s bounding box rig is activated", eventData.BoundingBoxRiggedObject.name); + } + + public void OnBoundingBoxRigDeactivated(BoundingBoxEventData eventData) + { + Debug.LogFormat("{0}'s bounding box rig is deactivated", eventData.BoundingBoxRiggedObject.name); + } + + private void Start() + { + // We have to add a global listener in this case because the focused object is the rig's app bar + // So, it will be the app bar which will receive the event, not this listener + InputManager.Instance.AddGlobalListener(gameObject); + } + + private void OnDestroy() + { + InputManager.Instance.RemoveGlobalListener(gameObject); + } + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs.meta b/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs.meta new file mode 100644 index 00000000000..d501fa96b1b --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scripts/BoundingBoxRigActivityExample.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a67dd2fce8aebff47bf82330ec11f293 +timeCreated: 1524813805 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Examples/UX/Scripts/Controls/SliderGestureControl.cs b/Assets/HoloToolkit-Examples/UX/Scripts/Controls/SliderGestureControl.cs index 9c55234ecdd..1704df10c1c 100644 --- a/Assets/HoloToolkit-Examples/UX/Scripts/Controls/SliderGestureControl.cs +++ b/Assets/HoloToolkit-Examples/UX/Scripts/Controls/SliderGestureControl.cs @@ -1,9 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using UnityEngine; -using System.Collections; using HoloToolkit.Unity; +using UnityEngine; namespace HoloToolkit.Examples.InteractiveElements { @@ -83,7 +82,7 @@ private set protected override void Awake() { base.Awake(); - + if (Knob != null) { mStartCenter.z = Knob.transform.localPosition.z; @@ -148,10 +147,10 @@ public override void ManipulationUpdate(Vector3 startGesturePosition, Vector3 cu } base.ManipulationUpdate(startGesturePosition, currentGesturePosition, startHeadOrigin, startHeadRay, gestureState); - + // get the current delta - float delta = (CurrentDistance > 0) ? CurrentPercentage : -CurrentPercentage; - + float delta = (CurrentDistance > 0) ? CurrentPercentage : -CurrentPercentage; + // combine the delta with the current slider position so the slider does not start over every time mDeltaValue = Mathf.Clamp01(delta + mCachedValue); @@ -163,7 +162,7 @@ public override void ManipulationUpdate(Vector3 startGesturePosition, Vector3 cu { SliderValue = mDeltaValue * mValueSpan * 2 - mValueSpan; } - + UpdateVisuals(); if (gestureState == GestureInteractive.GestureManipulationState.None) @@ -200,33 +199,33 @@ public override void setGestureValue(int gestureValue) } AutoSliderTimerCounter = 0; } - + /// /// set the distance of the slider /// /// /// - public void SetSpan(float min, float max) - { - mValueSpan = max - min; - MaxSliderValue = max; - MinSliderValue = min; - } + public void SetSpan(float min, float max) + { + mValueSpan = max - min; + MaxSliderValue = max; + MinSliderValue = min; + } /// /// override the slider value /// /// - public void SetSliderValue(float value) - { - if(GestureStarted) - { - return; - } - - mSliderValue = Mathf.Clamp(value, MinSliderValue, MaxSliderValue); - mDeltaValue = SliderValue / MaxSliderValue; - UpdateVisuals(); + public void SetSliderValue(float value) + { + if (GestureStarted) + { + return; + } + + mSliderValue = Mathf.Clamp(value, MinSliderValue, MaxSliderValue); + mDeltaValue = SliderValue / MaxSliderValue; + UpdateVisuals(); mCachedValue = mDeltaValue; } @@ -315,7 +314,7 @@ protected override void Update() } mDeltaValue = (AutoSliderValue - mCachedValue) * AutoSliderTimerCounter / AutoSliderTime + mCachedValue; - + if (!Centered) { SliderValue = mDeltaValue * mValueSpan; diff --git a/Assets/HoloToolkit-Examples/UX/Scripts/DialogExampleLaunchButton.cs b/Assets/HoloToolkit-Examples/UX/Scripts/DialogExampleLaunchButton.cs new file mode 100644 index 00000000000..f26a0f7456e --- /dev/null +++ b/Assets/HoloToolkit-Examples/UX/Scripts/DialogExampleLaunchButton.cs @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.Buttons; +using HoloToolkit.UX.Dialog; +using System.Collections; +using UnityEngine; + +namespace HoloToolkit.Examples.UX +{ + /// + /// Demonstrates how to launch Dialog UI with different number of buttons + /// + public class DialogExampleLaunchButton : MonoBehaviour + { + [SerializeField] + private Dialog dialogPrefab; + + [SerializeField] + private bool isDialogLaunched; + + [SerializeField] + private GameObject resultText; + /// + /// Used to report the dialogResult. OK, Cancel etc. + /// The button that was clicked to respond to the Dialog. + /// + public GameObject ResultText + { + get + { + return resultText; + } + + set + { + resultText = value; + } + } + + [SerializeField] + [Range(0,2)] + private int numButtons = 1; + + private TextMesh resultTextMesh; + private Button button; + + /// + /// This function is called to set the settings for the dialog and then open it. + /// + /// Enum describing the number of buttons that will be created on the Dialog + /// This string will appear at the top of the Dialog + /// This string will appear in the body of the Dialog + /// IEnumerator used for Coroutine funtions in Unity + protected IEnumerator LaunchDialog(DialogButtonType buttons, string title, string message) + { + isDialogLaunched = true; + + //Open Dialog by sending in prefab + Dialog dialog = Dialog.Open(dialogPrefab.gameObject, buttons, title, message); + + if(dialog != null) + { + //listen for OnClosed Event + dialog.OnClosed += OnClosed; + } + + // Wait for dialog to close + while (dialog.State < DialogState.InputReceived) + { + yield return null; + } + + //only let one dialog be created at a time + isDialogLaunched = false; + + yield break; + } + + private void OnEnable() + { + resultTextMesh = ResultText.GetComponent(); + button = GetComponent
+ public class MarkerDetector + { + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_Initialize")] + internal static extern void InitalizeMarkerDetector(); + + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_Terminate")] + internal static extern void TerminateMarkerDetector(); + + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_DetectMarkers")] + internal static extern bool DetectMarkers(int _imageWidth, int _imageHeight, IntPtr _imageDate, float _markerSize); + + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_GetNumMarkersDetected")] + internal static extern bool GetNumMarkersDetected(out int _numMarkersDetected); + + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_GetDetectedMarkerIds")] + internal static extern bool GetDetectedMarkerIds(IntPtr _detectedMarkers); + + [DllImport("SpectatorViewPlugin", EntryPoint="MarkerDetector_GetDetectedMarkerPose")] + internal static extern bool GetDetectedMarkerPose(int _markerId, out float _xPos, out float _yPos, out float _zPos, out float _xRot, out float _yRot, out float _zRot); + + /// + /// Initalize the detection code + /// + public bool Initialize() + { + try + { + InitalizeMarkerDetector(); + return true; + } + catch (Exception e) + { + Debug.LogError(e); + return false; + } + } + + /// + /// Terminate the detection code + /// + public void Terminate() + { + try + { + TerminateMarkerDetector(); + } + catch (Exception e) + { + Debug.LogError(e); + } + } + + /// + /// Tries to detect a marker in a given image + /// + /// The image data + /// Width of the image + /// Height of the image + /// Size of the marker + public bool Detect(List _imageData, int _width, int _height, float _markerSize) + { + try + { + unsafe + { + fixed (byte* fbyteArray = _imageData.ToArray()) + { + return DetectMarkers(_width, _height, new IntPtr(fbyteArray), _markerSize); + } + } + } + catch (Exception e) + { + Debug.LogError(e); + return false; + } + } + + /// + /// Returns the number of markers detected in a + /// + public int GetNumMarkersDetected() + { + try + { + int numMarkersDetected; + GetNumMarkersDetected(out numMarkersDetected); + return numMarkersDetected; + } + catch (Exception e) + { + Debug.LogError(e); + return 0; + } + } + + /// + /// Returns in an out variable the ids of the detected markers + /// + /// Out var, it'll contain the ids of the detected markers + public bool GetMarkerIds(out int[] _markerIds) + { + try + { + int numMarkersDetected; + GetNumMarkersDetected(out numMarkersDetected); + + int[] markerIds = new int[numMarkersDetected]; + unsafe + { + fixed(int* fmarkerIds = markerIds) + { + bool success = GetDetectedMarkerIds(new IntPtr(fmarkerIds)); + _markerIds = new int[numMarkersDetected]; + for(int i=0; i + /// Gets the position and rotation of a given marker + /// + /// if of the marker + /// out var, contains the position of the marker + /// out var, contains the rotation of the marker + public bool GetMarkerPose(int _markerId, out Vector3 _markerPosition, out Quaternion _markerRotation) + { + try + { + _markerPosition = Vector3.zero; + _markerRotation = Quaternion.identity; + + int numMarkersDetected; + + GetNumMarkersDetected(out numMarkersDetected); + + if(numMarkersDetected <= 0) + { + return false; + } + + float xPos, yPos, zPos, xRot, yRot, zRot; + bool success = GetDetectedMarkerPose(_markerId, out xPos, out yPos, out zPos, out xRot, out yRot, out zRot); + if(success) + { + //Debug.Log("Found marker with id: " + _markerId); + + // Account for the offset of the hololens camera from the transform pos + Vector3 position = new Vector3(xPos, yPos, zPos); + Vector3 offset = new Vector3(0.00f, 0.0f, 0.06f); + position += offset; + _markerPosition = CameraCache.Main.cameraToWorldMatrix.MultiplyPoint(new Vector3(position.x, -position.y, -position.z)); + + Vector3 rotation = new Vector3(xRot, yRot, zRot); + float theta = rotation.magnitude; + rotation.Normalize(); + _markerRotation = CameraCache.Main.transform.rotation * Quaternion.AngleAxis(theta * Mathf.Rad2Deg, rotation); + _markerRotation = Quaternion.Euler(_markerRotation.eulerAngles.x,_markerRotation.eulerAngles.y, -_markerRotation.eulerAngles.z); + + return true; + } + + Debug.LogWarning("Could not find marker with id: " + _markerId); + + return false; + } + catch (Exception e) + { + Debug.LogError(e); + _markerPosition = Vector3.zero; + _markerRotation = Quaternion.identity; + return false; + } + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerDetector.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerDetector.cs.meta new file mode 100644 index 00000000000..9a3573f92e8 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerDetector.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: a813331142420d04eb4c0c70d449d710 +timeCreated: 1509551745 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D.meta new file mode 100644 index 00000000000..f85ce756fce --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 2c10b07793a391c4e9a92e797e75fa0b +folderAsset: yes +timeCreated: 1511277054 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor.meta new file mode 100644 index 00000000000..979b163d05e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 096688fac34818141998cd6ed25b78c4 +folderAsset: yes +timeCreated: 1510570901 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs new file mode 100644 index 00000000000..20bb00eaa21 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; +using UnityEditor; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + [CustomEditor(typeof(MarkerGeneration3D), true)] + public class MarkerGeneration3DEditor : Editor + { + public override void OnInspectorGUI() + { + DrawDefaultInspector(); + + if(GUILayout.Button("Generate")) + { + MarkerGeneration3D cubeToSphere = (MarkerGeneration3D)target; + cubeToSphere.Generate(); + } + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs.meta new file mode 100644 index 00000000000..5e5f13f9b6a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/Editor/MarkerGeneration3DEditor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: fab3f4eb49f7acd46bd89fc7f94814ff +timeCreated: 1510570915 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs new file mode 100644 index 00000000000..22530ce8c0a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs @@ -0,0 +1,101 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + public class MarkerGeneration3D : MonoBehaviour + { + public delegate void OnMarkerGeneratedEvent(int markerId); + + /// + /// An array of available pre generated markers + /// + [Tooltip("An array of available pre generated markers")] + [SerializeField] + private Texture2D[] markers; + + /// + /// Material applied to white sections of SpectatorView marker + /// + [Tooltip("Material applied to white sections of SpectatorView marker")] + [SerializeField] + protected Material WhiteMaterial; + + /// + /// Material applied to black sections of SpectatorView marker + /// + [Tooltip("Material applied to black sections of SpectatorView marker")] + [SerializeField] + protected Material BlackMaterial; + + ///Execute once 3D marker has been generated + public OnMarkerGeneratedEvent OnMarkerGenerated; + + /// + /// // The id of the marker generated + /// + private int markerId; + + /// + /// List of cubes that form the marker + /// + protected readonly List Cubes = new List(); + + /// + /// Texture from which the marker is generated + /// + private Texture2D marker; + + /// + /// The resolution in squares for the marker. + /// + protected const int MarkerResolutionInSquares = 6; + + /// + /// An array of available pre generated markers + /// + public Texture2D[] Markers + { + get { return markers; } + set { markers = value; } + } + + /// + /// // The id of the marker generated + /// + public int MarkerId + { + get { return markerId; } + set { markerId = value; } + } + + /// + /// Base function to generate a marker + /// + public virtual void Generate() { } + + /// + /// Randomly gets a marker texture from the pool + /// + /// + protected Texture2D GetMarker() + { + if(!marker) + { + UnityEngine.Random.InitState(DateTime.Now.Millisecond); + MarkerId = UnityEngine.Random.Range(0, Markers.Length); + marker = Markers[MarkerId]; + if (OnMarkerGenerated != null) + { + OnMarkerGenerated(MarkerId); + } + } + + return marker; + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs.meta new file mode 100644 index 00000000000..029d286df07 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/MarkerGeneration3D.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: a35b9d96140e0ed48aef859549275311 +timeCreated: 1510325339 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs new file mode 100644 index 00000000000..ad52175bafc --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + public class SimpleMarkerGeneration3D : MarkerGeneration3D + { + private void Start () + { + Generate(); + } + + /// + /// Generates a marker from a randomly selected texture and puts it in the scene + /// + public override void Generate() + { + foreach(GameObject cube in Cubes) + { + Destroy(cube); + } + Cubes.Clear(); + + Texture2D marker = GetMarker(); + + // Assume the marker is square + int markerRes = marker.width; + + for(int x = 0; x<(MarkerResolutionInSquares + 2); x++) + { + for(int y = 0; y<(MarkerResolutionInSquares + 2); y++) + { + int xCoord = ((x * (markerRes / ((MarkerResolutionInSquares + 2)))) + (markerRes / ((MarkerResolutionInSquares + 2) * 2))); + int yCoord = ((y * (markerRes / ((MarkerResolutionInSquares + 2)))) + (markerRes / ((MarkerResolutionInSquares + 2)* 2))); + GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); + float col = marker.GetPixel(xCoord, yCoord).r; + float res = 1; + + float scale = 1.0f/((MarkerResolutionInSquares+2)) / res; + scale += 0.001f; + cube.transform.parent = transform; + cube.transform.localPosition = new Vector3((float)xCoord / (float)markerRes - 0.5f, 0.0f, (float)yCoord / (float)markerRes - 0.5f); + cube.transform.localScale = new Vector3(scale, scale, scale); + + Cubes.Add(cube); + if (col > 0.1f) + { + cube.GetComponent().sharedMaterial = WhiteMaterial; + } + else + { + cube.GetComponent().sharedMaterial = BlackMaterial; + } + } + } + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs.meta new file mode 100644 index 00000000000..c76fb32dc29 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SimpleMarkerGeneration3D.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 383c99f375cfd1f469c6ac3f6ac1aa77 +timeCreated: 1515578367 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs new file mode 100644 index 00000000000..558643e9501 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information + +using System.Collections; +using UnityEngine; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Controls the generation of AR markers from a pool. + /// + public class SpectatorViewMarkerGenerator3D : MarkerGeneration3D + { + private void Start() + { + Generate(); + } + + /// + /// Generates an AR marker and puts it in the scene + /// The marker starts rotated in the scene, so it can't be read at this stage + /// + public override void Generate() + { + Texture2D marker = GetMarker(); + + // Assume the marker is square + int markerRes = marker.width; + + for(int x = 0; x<(MarkerResolutionInSquares + 2) * 2; x++) + { + for(int y = 0; y<(MarkerResolutionInSquares + 2) * 2; y++) + { + int xCoord = ((x * (markerRes / ((MarkerResolutionInSquares + 2) * 2))) + (markerRes / ((MarkerResolutionInSquares + 2) * 4))); + int yCoord = ((y * (markerRes / ((MarkerResolutionInSquares + 2) * 2))) + (markerRes / ((MarkerResolutionInSquares + 2) * 4))); + + float col = marker.GetPixel(xCoord, yCoord).r; + var res = 1f; + + var cube = GameObject.CreatePrimitive(PrimitiveType.Cube); + cube.layer = gameObject.layer; + var height = 0.0f; + cube.transform.parent = transform; + cube.transform.localPosition = new Vector3((float)xCoord / (float)markerRes - 0.5f, height, (float)yCoord / (float)markerRes - 0.5f); + var scale = 1.0f/((MarkerResolutionInSquares+2)*2) / res; + scale += 0.001f; + cube.transform.localScale = new Vector3(scale, scale, scale); + + Cubes.Add(cube); + if (col > 0.1f) + { + cube.GetComponent().enabled = false; + } + else + { + cube.GetComponent().sharedMaterial = BlackMaterial; + } + } + } + + transform.localRotation = Quaternion.Euler(-40f, -65f, 55f); + + BlackMaterial.SetFloat("_TransitionCompletion", 0.0f); + } + + private void Update() + { + if(Input.GetKeyDown(KeyCode.Space)) + { + StartTransition(); + } + } + + /// + /// Starts the transition routine + /// + public void StartTransition() + { + StartCoroutine(Transition()); + } + + private void OnDestroy() + { + BlackMaterial.SetFloat("_TransitionCompletion", 0.0f); + } + + /// + /// Transitions from the rotated state to face the camera + /// + /// + private IEnumerator Transition() + { + var timer = 0f; + const float transitionTime = 4.0f; + + while(timer < transitionTime) + { + timer += Time.deltaTime; + transform.localRotation = Quaternion.Slerp(transform.localRotation, Quaternion.Euler(360, 360, 360), timer/transitionTime); + BlackMaterial.SetFloat("_TransitionCompletion", Mathf.Min(1.0f, timer)); + yield return new WaitForEndOfFrame(); + } + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs.meta new file mode 100644 index 00000000000..0197355c8ee --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/MarkerGeneration3D/SpectatorViewMarkerGenerator3D.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: e0b031a91d31d4a6487ce77e6fffedb6 +timeCreated: 1516892006 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs new file mode 100644 index 00000000000..6980874de1f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Manages the scale of the marker to fit in different screen sizes + /// + public class Scale3DMarker : MonoBehaviour + { + /// + /// Marker size in meters + /// + [Tooltip("Marker size in meters")] + [SerializeField] + private float markerSize; + + /// + /// An orthoganal camera used for displaying the marker + /// + [Tooltip("An orthoganal camera used for displaying the marker")] + [SerializeField] + private Camera orthographicCamera; + + /// + /// Marker size in meters + /// + public float MarkerSize + { + get { return markerSize; } + set { markerSize = value; } + } + + /// + /// An orthoganal camera used for displaying the marker + /// + public Camera OrthographicCamera + { + get { return orthographicCamera; } + set { orthographicCamera = value; } + } + + private void Start() + { + if (!OrthographicCamera) + { + return; + } + + float dpi = Screen.dpi; + + // Screen.dpi returns an incorrect value for the iPhoneX + // Look for screens with its dimensions (in both orientations) + // and manually set the screen dpi here. + if ((Screen.width == 2436 && Screen.height == 1125) || (Screen.height == 2436 && Screen.width == 1125)) + { + dpi = 458; + } + + float screenSize = Screen.height; + float screenWidthInMeters = (screenSize / dpi) * 0.0254f; + + float scale = (OrthographicCamera.orthographicSize * 2.0f) * MarkerSize / screenWidthInMeters; + transform.localScale = new Vector3(scale, scale, scale); + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs.meta new file mode 100644 index 00000000000..b3231f608f9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/Scale3DMarker.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 8aa7f57f94e351b47ba7f11c8088c840 +timeCreated: 1511540595 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs new file mode 100644 index 00000000000..281353da673 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs @@ -0,0 +1,302 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using System; +using System.Collections.Generic; +using System.Globalization; +using UnityEngine; +using UnityEngine.Events; +using UnityEngine.Networking; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Manages the sync of the world between the HoloLens and the mobile + /// + public class WorldSync : NetworkBehaviour + { + /// + /// Transform of the content container + /// + [Tooltip("Transform of the content container")] + [SerializeField] + private Transform worldRoot; + + /// + /// Component for sending hololens webcam feed to the marker detection code + /// + [Tooltip("Component for sending hololens webcam feed to the marker detection code")] + [SerializeField] + private MarkerDetectionHololens hololensMarkerDetector; + + /// + /// Number of captures used to find find a average position/rotation + /// + [Tooltip("Number of captures used to find find a average position/rotation")] + [SerializeField] + private int numCapturesRequired; + + /// + /// The maximum distance between a capture and the average of the number of captures required + /// + [Tooltip("The maximum distance between a capture and the average of the number of captures required")] + [SerializeField] + private float markerCaptureErrorDistance; + + /// + /// The offset from the marker position displayed on screen and the phones camera + /// + [Tooltip("The offset from the marker position displayed on screen and the phones camera")] + [SerializeField] + private Vector3 offsetBetweenMarkerAndCamera; + + /// + /// Event fired after the marker position/rotation has been found + /// + [Tooltip("Event fired after the marker position/rotation has been found")] + [SerializeField] + private UnityEvent onDetectedMobile; + + /// + /// Marker generation component + /// + [Tooltip("Marker generation component")] + [SerializeField] + private MarkerGeneration3D markerGeneration3D; + + /// + /// Event for when the world sync + /// + public delegate void OnWorldSyncCompleteEvent(); + + /// + /// Invoked once world adjustment has finished + /// + public OnWorldSyncCompleteEvent OnWorldSyncComplete; + + /// + /// Invoked on the client once world adjustment has finished + /// + public OnWorldSyncCompleteEvent OnWorldSyncCompleteClient; + +#pragma warning disable 0414 + /// + /// String used to sync transform information + /// stored in the format: xPos:yPos:zPos:yRot + /// + [SyncVar(hook = "AdjustOrientation")] + private string syncedTransformString; +#pragma warning restore 0414 + + /// + /// Position of the marker in World-Space + /// + private Vector3 orientationPosition; + + /// + /// Y axis rotation of the marker in World-Space + /// + private float orientationRotation; + + /// + /// List of positions where the marker was found. It'll be used to create the average position + /// + private List positions = new List(); + + /// + /// List of rotations where the marker was found. It'll be used to create the average rotation + /// + private List rotations = new List(); + + /// + /// Transform of the content container + /// + public Transform WorldRoot + { + get { return worldRoot; } + set { worldRoot = value; } + } + + /// + /// Component for sending hololens webcam feed to the marker detection code + /// + public MarkerDetectionHololens HololensMarkerDetector + { + get { return hololensMarkerDetector; } + set { hololensMarkerDetector = value; } + } + + /// + /// Number of captures used to find find a average position/rotation + /// + public int NumCapturesRequired + { + get { return numCapturesRequired; } + set { numCapturesRequired = value; } + } + + /// + /// The maximum distance between a capture and the average of the number of captures required + /// + public float MarkerCaptureErrorDistance + { + get { return markerCaptureErrorDistance; } + set { markerCaptureErrorDistance = value; } + } + + /// + /// Event fired after the marker position/rotation has been found + /// + public UnityEvent OnDetectedMobile + { + get { return onDetectedMobile; } + set { onDetectedMobile = value; } + } + + /// + /// Marker generation component + /// + public MarkerGeneration3D Generation3D + { + get { return markerGeneration3D; } + set { markerGeneration3D = value; } + } + + void OnDestroy() + { + HololensMarkerDetector.OnMarkerDetected -= UpdatePositionAndRotation; + } + + /// + /// Starts the sync process + /// + public void StartSyncing() + { + HololensMarkerDetector.OnMarkerDetected -= UpdatePositionAndRotation; + HololensMarkerDetector.OnMarkerDetected += UpdatePositionAndRotation; + } + + /// + /// Stops the sync process + /// + public void StopSyncing() + { + HololensMarkerDetector.OnMarkerDetected -= UpdatePositionAndRotation; + } + + /// + /// Takes various photos and logs the position and rotation on each iteration + /// Once that finishes it finds the average position and rotation for the entire process + /// + /// Id of the marker + /// Position where the marker was found + /// Rotation of the marker + private void UpdatePositionAndRotation(int markerId, Vector3 pos, Quaternion rot) + { + if (positions.Count < NumCapturesRequired) + { + positions.Add(pos); + rotations.Add(rot); + } + else + { + // Find the average marker position + var averagePosition = Vector3.zero; + for (var i = 0; i < positions.Count; i++) + { + averagePosition += positions[i]; + } + + averagePosition /= positions.Count; + + // Remove any positions that are far away from the average + for (var i = 0; i < positions.Count; i++) + { + if (Vector3.Distance(positions[i], averagePosition) > MarkerCaptureErrorDistance) + { + positions.Clear(); + rotations.Clear(); + // No point continuing with the execution. Return and let it all begin again. + return; + } + } + + // Find the average marker rotation + var averageRotation = Quaternion.Lerp(rotations[2], Quaternion.Lerp(rotations[0], rotations[1], 0.5f), 0.5f); + + syncedTransformString = string.Format("{0}:{1}:{2}:{3}:{4}", + averagePosition.x, averagePosition.y, averagePosition.z, + averageRotation.eulerAngles.y, + markerId); + + if (OnWorldSyncComplete != null) + { + OnWorldSyncComplete(); + } + + StopSyncing(); + + positions.Clear(); + rotations.Clear(); + } + } + + /// + /// Adjust the orientation on the client to match the HoloLens's + /// + /// + private void AdjustOrientation(string str) + { + var isHost = FindObjectOfType().TargetPlatform == PlatformSwitcher.Platform.Hololens; + if (!isHost) + { + string[] strings = str.Split(new Char[] { ':' }); + int markerId; + if (strings.Length >= 4) + { + orientationPosition.x = float.Parse(strings[0], CultureInfo.InvariantCulture.NumberFormat); + orientationPosition.y = float.Parse(strings[1], CultureInfo.InvariantCulture.NumberFormat); + orientationPosition.z = float.Parse(strings[2], CultureInfo.InvariantCulture.NumberFormat); + orientationRotation = float.Parse(strings[3], CultureInfo.InvariantCulture.NumberFormat); + markerId = int.Parse(strings[4], CultureInfo.InvariantCulture.NumberFormat); + + if (markerId == Generation3D.MarkerId) + { + AdjustWorld(); + if (OnWorldSyncCompleteClient != null) + { + OnWorldSyncCompleteClient(); + } + } + } + } + + syncedTransformString = str; + } + + /// + /// Adjusts the world in the client to match the HoloLens's world + /// + private void AdjustWorld() + { + if (isServer) + { + return; + } + + // put the container at phone position + WorldRoot.transform.position = Camera.main.transform.position; + + // place container world looking in same direction as camera. + WorldRoot.transform.eulerAngles = new Vector3(0, Camera.main.transform.eulerAngles.y, 0); + + // rotate according to world + WorldRoot.transform.eulerAngles -= new Vector3(0, orientationRotation - 180, 0); + + // adjust container to 0,0 of HL + WorldRoot.transform.Translate(-orientationPosition + offsetBetweenMarkerAndCamera, Space.Self); + + OnDetectedMobile.Invoke(); + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs.meta new file mode 100644 index 00000000000..6a9869722a5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/SpatialSync/WorldSync.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 7b5cdd7fbfb5e4eaeb300d545eb3a519 +timeCreated: 1510239327 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities.meta new file mode 100644 index 00000000000..c509deb449e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 6b15e05eeffe8b841a1804adfbd6cf14 +folderAsset: yes +timeCreated: 1511277957 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs new file mode 100644 index 00000000000..b543194078f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Controls displaying of the AR marker on the mobile device + /// + public class ARMarkerController : MonoBehaviour + { + /// + /// Background plane + /// + [Tooltip("Background plane")] + [SerializeField] + private GameObject backgroundPlane; + /// + /// Background plane + /// + public GameObject BackgroundPlane + { + get + { + return backgroundPlane; + } + + set + { + backgroundPlane = value; + } + } + + /// + /// GameObject that will contain the code + /// + [Tooltip("GameObject that will contain the code")] + [SerializeField] + private GameObject codeContainer; + /// + /// GameObject that will contain the code + /// + public GameObject CodeContainer + { + get + { + return codeContainer; + } + + set + { + codeContainer = value; + } + } + + private void OnEnable() + { + // Setting screen rotation to portrait when dispalying AR code + if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) + { + Screen.orientation = ScreenOrientation.Portrait; + } + } + + private void OnDismiss() + { + // Setting screen rotation to autorotation when AR code is dismissed + if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) + { + Screen.orientation = ScreenOrientation.AutoRotation; + } + } + + private void OnDestroy() + { + OnDismiss(); + } + + private void OnDisable() + { + OnDismiss(); + } + + /// + /// Called on mobile when the HoloLens finds the marker + /// + public void OnCodeFound() + { + Handheld.Vibrate(); + TurnOffMarker(); + } + + /// + /// Turns off the markers visuals, executed on the mobile + /// + private void TurnOffMarker() + { + foreach(Transform tr in CodeContainer.transform) + { + Destroy(tr.gameObject); + } + + CodeContainer.transform.localScale = Vector3.one; + BackgroundPlane.GetComponent().sharedMaterial.color = Color.white; + gameObject.SetActive(false); + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs.meta new file mode 100644 index 00000000000..38251904e08 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ARMarkerController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 401184f1f55ba46499d5f9e9e5c45ede +timeCreated: 1511540171 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs new file mode 100644 index 00000000000..942a12e6538 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs @@ -0,0 +1,199 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; +using UnityEngine.UI; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Controls an on screen text field to display connection status to the user + /// + public class ConnectionStatusController : MonoBehaviour + { + /// + /// UI Textfield to display status + /// + [SerializeField] + [Tooltip("UI Textfield to display status")] + private Text text; + + /// + /// UI Textfield to display status + /// + public Text Text + { + get + { + return text; + } + + set + { + text = value; + } + } + + /// + /// SpectatorViewNetworkDiscovery + /// + [Tooltip("SpectatorViewNetworkDiscovery")] + [SerializeField] + private SpectatorViewNetworkDiscovery spectatorViewNetworkDiscovery; + /// + /// SpectatorViewNetworkDiscovery + /// + public SpectatorViewNetworkDiscovery SpectatorViewNetworkDiscovery + { + get + { + return spectatorViewNetworkDiscovery; + } + + set + { + spectatorViewNetworkDiscovery = value; + } + } + + /// + /// SpectatorViewNetworkManager + /// + [Tooltip("SpectatorViewNetworkManager")] + [SerializeField] + private SpectatorViewNetworkManager spectatorViewNetworkManager; + /// + /// SpectatorViewNetworkManager + /// + public SpectatorViewNetworkManager SpectatorViewNetworkManager + { + get + { + return spectatorViewNetworkManager; + } + + set + { + spectatorViewNetworkManager = value; + } + } + + /// + /// Object responsible for aligning holograms on mobile and HoloLens + /// + [Tooltip("Object responsible for aligning holograms on mobile and HoloLens")] + [SerializeField] + private WorldSync worldSync; + /// + /// WorldSync + /// + public WorldSync WorldSync + { + get + { + return worldSync; + } + + set + { + worldSync = value; + } + } + + /// + /// Object to detect whether the world anchor has been located + /// + [Tooltip("Object to detect whether the world anchor has been located")] + [SerializeField] + private AnchorLocated anchorLocated; + /// + /// AnchorLocated + /// + public AnchorLocated AnchorLocated + { + get + { + return anchorLocated; + } + + set + { + anchorLocated = value; + } + } + + void Start () + { + if (Text == null) + { + Text = GetComponent(); + } + + if (SpectatorViewNetworkDiscovery == null) + { + SpectatorViewNetworkDiscovery = FindObjectOfType(); + } + + if (SpectatorViewNetworkManager == null) + { + SpectatorViewNetworkManager = FindObjectOfType(); + } + + if (WorldSync == null) + { + WorldSync = FindObjectOfType(); + } + + if (AnchorLocated == null) + { + AnchorLocated = FindObjectOfType(); + } + + // Suscribe to Anchor and Network events + AnchorLocated.OnAnchorLocated += PromptShowToHoloLens; + SpectatorViewNetworkDiscovery.OnHololensSessionFound += PromptConnecting; + SpectatorViewNetworkDiscovery.OnHololensSessionFound += PromptAlmostThere; + + // First status + if (Text != null) + { + Text.text = "Locating Floor..."; + } + } + + /// + /// Sets text displayed on screen before marker detected + /// + private void PromptShowToHoloLens() + { + Text.text = "Show to HoloLens"; + } + + /// + /// Sets text displayed on screen once marker has been detected, + /// before mobile has connected to session + /// + private void PromptConnecting() + { + Text.text = "Connecting..."; + } + + /// + /// Sets text displayed on screen once marker has been detected, + /// mobile has connected to the HoloLens session, but before + /// the world space has been synchronized + /// + private void PromptAlmostThere() + { + Text.text = "Almost there..."; + } + + private void OnDestroy() + { + // Unsubscribe from events + AnchorLocated.OnAnchorLocated -= PromptShowToHoloLens; + SpectatorViewNetworkDiscovery.OnHololensSessionFound -= PromptConnecting; + SpectatorViewNetworkDiscovery.OnHololensSessionFound -= PromptAlmostThere; + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs.meta new file mode 100644 index 00000000000..69e38318d1a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/ConnectionStatusController.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: ed6dfeb7f4f52ab4885439f7e5c7cc8e +timeCreated: 1516887424 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor.meta new file mode 100644 index 00000000000..8067451a303 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 62cbc3a41ce609e4ba62093d0643f941 +folderAsset: yes +timeCreated: 1511277988 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs new file mode 100644 index 00000000000..28de0e6a602 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using UnityEngine; +using UnityEditor; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + [CustomEditor(typeof(PlatformSwitcher))] + public class PlatformSwitcherEditor : Editor + { + public override void OnInspectorGUI() + { + PlatformSwitcher platformSwitcher = (PlatformSwitcher)target; + + GUILayout.BeginHorizontal(); + + // Editor button for HoloLens platfrom and functionality + if (GUILayout.Button("Hololens", GUILayout.Height(70))) + { + platformSwitcher.SwitchPlatform(PlatformSwitcher.Platform.Hololens); + serializedObject.FindProperty("targetPlatform").enumValueIndex = (int)PlatformSwitcher.Platform.Hololens; + EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.WSA, BuildTarget.WSAPlayer); + PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.InternetClientServer, true); + PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.PrivateNetworkClientServer, true); + PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.WebCam, true); + PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.SpatialPerception, true); + } + + // Editor button for iOS platfrom and functionality + if (GUILayout.Button("IPhone", GUILayout.Height(70))) + { + platformSwitcher.SwitchPlatform(PlatformSwitcher.Platform.IPhone); + serializedObject.FindProperty("targetPlatform").enumValueIndex = (int)PlatformSwitcher.Platform.IPhone; + EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.iOS, BuildTarget.iOS); + PlayerSettings.iOS.cameraUsageDescription = "Camera required for ARKit"; + } + + GUILayout.EndHorizontal(); + + serializedObject.ApplyModifiedProperties(); + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs.meta new file mode 100644 index 00000000000..045b26cd13d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/Editor/PlatformSwitcherEditor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 419c6f8da46cc3b46942284e02452522 +timeCreated: 1516197012 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs new file mode 100644 index 00000000000..3493bd64b9d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using System.Runtime.InteropServices; + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Utility function to ensure the OpenCVWrapper has been successfully loaded + /// + public static class OpenCVUtils + { + /// + /// Utility function to ensure the OpenCVWrapper has been successfully loaded + /// + [DllImport("SpectatorViewPlugin", EntryPoint="CheckLibraryHasLoaded")] + public static extern void CheckOpenCVWrapperHasLoaded(); + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs.meta new file mode 100644 index 00000000000..97bb7cee462 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/OpenCVUtils.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 983df777922aca64280b3678d1cd2702 +timeCreated: 1524665493 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/PlatformSwitcher.cs b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/PlatformSwitcher.cs new file mode 100644 index 00000000000..13e7bfadbca --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/PlatformSwitcher.cs @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +using System; +using System.IO; +using UnityEngine; +#if UNITY_EDITOR +using UnityEditor; +#endif + +namespace HoloToolkit.Unity.Preview.SpectatorView +{ + /// + /// Utility to switch scene state between HoloLens and mobile platforms + /// + public class PlatformSwitcher : MonoBehaviour + { + /// + /// Available platforms + /// + [Serializable] + public enum Platform + { + Hololens = 0, + IPhone + } + + /// + /// The current active platform + /// + [SerializeField] + private Platform targetPlatform; + /// + /// The current active platform + /// + public Platform TargetPlatform + { + get + { + return targetPlatform; + } + + set + { + targetPlatform = value; + } + } + + /// + /// Switches scene state between iPhone and HoloLens platforms + /// + /// The target platform + public void SwitchPlatform(Platform platform) + { +#if UNITY_EDITOR + TargetPlatform = platform; + + string platformGameObjectName = ""; + + switch(platform) + { + case Platform.Hololens: + platformGameObjectName = "Hololens"; + break; + + case Platform.IPhone: + platformGameObjectName = "IPhone"; + break; + } + + // Disables platform root objects for inactive platforms + for(int i=0; i + /// Utility for fading out marker + /// + public class TweenAlpha : MonoBehaviour + { + /// + /// Alpha value to fade to + /// + [Tooltip("Alpha value to fade to")] + [SerializeField] + private float targetAlpha; + /// + /// Alpha value to fade to + /// + public float TargetAlpha + { + get + { + return targetAlpha; + } + + set + { + targetAlpha = value; + } + } + + /// + /// Time taken to fade from current alpha to TargetAlpha + /// + [Tooltip("Time taken to fade from current alpha to TargetAlpha")] + [SerializeField] + private float duration = 0.5f; + /// + /// Time taken to fade from current alpha to TargetAlpha + /// + public float Duration + { + get + { + return duration; + } + + set + { + duration = value; + } + } + + /// + /// Material to operate on + /// + private Material mat; + + private void Start() + { + if (mat == null) + { + mat = GetComponent().material; + } + } + + /// + /// Start the alpha fade coroutine + /// + public void StartEffect() + { + StartCoroutine(LerpAlpha()); + } + + /// + /// Fades alpha from current alpha to TargetAlpha in time Duration + /// + private IEnumerator LerpAlpha() + { + var elapsedTime = 0.0f; + var currentA = mat.color.a; + while (elapsedTime < Duration) + { + elapsedTime += Time.deltaTime; + var a = Mathf.Lerp(currentA, TargetAlpha, (elapsedTime / Duration)); + mat.color = new Color(mat.color.r, mat.color.g, mat.color.b, a); + yield return null; + } + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/TweenAlpha.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/TweenAlpha.cs.meta new file mode 100644 index 00000000000..f14155caef4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Scripts/Utilities/TweenAlpha.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 8ebf26637c0e9c84298eecd26e4747d1 +timeCreated: 1516031537 +licenseType: Pro +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Shaders.meta b/Assets/HoloToolkit-Preview/SpectatorView/Shaders.meta new file mode 100644 index 00000000000..8186c93144e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Shaders.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 9b7f156d81c8941b4bb2a76005f93ad1 +folderAsset: yes +timeCreated: 1516892506 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader b/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader new file mode 100644 index 00000000000..1ed7e7d567e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information.using UnityEngine; + +Shader "SpectatorView/MarkerScanning" +{ + Properties + { + _Color ("Color", Color) = (0, 0, 0, 0) + _PulseRadius("Pulse Radius", Range(0, 1)) = 0 + _TransitionCompletion("Transition Completion", Range(0, 1)) = 0 + _Grid("Grid", 2D) = "white" {} + } + SubShader + { + Tags { "RenderType"="Transparent" "Queue"="Transparent" "DisableBatching" = "True" } + Cull Off + ZWrite Off + Blend SrcAlpha OneMinusSrcAlpha + + LOD 100 + + Pass + { + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + // make fog work + #pragma multi_compile_fog + + #include "UnityCG.cginc" + + struct appdata + { + float4 vertex : POSITION; + float2 uv : TEXCOORD0; + }; + + struct v2f + { + float2 uv : TEXCOORD0; + UNITY_FOG_COORDS(1) + float4 vertex : SV_POSITION; + float4 worldPosition : TEXCOORD1; + }; + + float4 _Color; + float _PulseRadius; + sampler2D _Grid; + float _TransitionCompletion; + + v2f vert (appdata v) + { + v2f o; + o.worldPosition = mul ( unity_ObjectToWorld, float4(0,0,0,1) ); + o.vertex = UnityObjectToClipPos(v.vertex); + + o.uv = v.uv; + return o; + } + + fixed4 frag (v2f i) : SV_Target + { + float2 r=abs(float2(i.worldPosition.x, i.worldPosition.z)); + float s = max(r.x, r.y); + _PulseRadius = frac(_Time.y * 0.6); + float radius = 0.05; + float outerCircle = ceil(_PulseRadius - (distance(float3(0, 0, 0), i.worldPosition.xyz)-radius)); + float innerCircle = max(0.0,(_PulseRadius - distance(float3(0, 0, 0), i.worldPosition.xyz))) * 10.0; + + float4 gridTex= tex2D(_Grid, i.uv); + gridTex.a = 1.0 - gridTex.r; + // fixed4 col = lerp(float4(.97, .97, .97 ,1), lerp(float4(0, 0.4,0.9,1) * float4(gridTex, gridTex, gridTex, gridTex), float4(0, 0, 0, 1), 1.0 - floor(min(1.0, max(0, (outerCircle - innerCircle))))), min(1.0, max(0, (outerCircle - innerCircle)))); + fixed4 col = lerp(float4(.97, .97, .97 ,1), gridTex, min(1.0, max(0, (outerCircle - innerCircle)))); + + float doTransition = ceil(_TransitionCompletion); + + fixed4 transitionCol = lerp(float4(.97, .97, .97 ,1),float4(0, 0, 0, 1), ceil(_TransitionCompletion - (distance(float3(0, 0, 0), i.worldPosition.xyz)-radius))); + + col = lerp(col, transitionCol, doTransition); + + return col; + } + ENDCG + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader.meta b/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader.meta new file mode 100644 index 00000000000..95ddac460ca --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Shaders/MarkerScanning.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 5f8ab48afd8d942f6b7e79dc25d1c353 +timeCreated: 1516892524 +licenseType: Pro +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures.meta new file mode 100644 index 00000000000..58d09d32ed6 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 8e9f7d87b2e5c874f915e15ad5a6b42b +folderAsset: yes +timeCreated: 1510325292 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers.meta new file mode 100644 index 00000000000..ed9676f8487 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: de37f3fbd9595c64da173b236757fb57 +folderAsset: yes +timeCreated: 1515509561 +licenseType: Pro +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg new file mode 100644 index 00000000000..1f27e338452 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg.meta new file mode 100644 index 00000000000..b1e84e16b50 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_0.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: cb64baf96fafde947b5ff87caedfac2a +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg new file mode 100644 index 00000000000..be042d5f380 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg.meta new file mode 100644 index 00000000000..5f388cb8b16 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_1.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 3c8869b1066c5bf4ca22724b7178d646 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg new file mode 100644 index 00000000000..6d3324dc5a3 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg.meta new file mode 100644 index 00000000000..ed688051d41 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_10.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: af6cb2c8f643ae8499d1bc5c43ea008f +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg new file mode 100644 index 00000000000..3d0cdf06446 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg.meta new file mode 100644 index 00000000000..0e60173c513 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_11.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: f4f06060cf2a1844bbd8864750c20706 +timeCreated: 1510325292 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg new file mode 100644 index 00000000000..90d030aa440 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg.meta new file mode 100644 index 00000000000..52046839e46 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_12.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 03d57d5133474c3458e2674b7e8438fa +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg new file mode 100644 index 00000000000..5737c9788ef Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg.meta new file mode 100644 index 00000000000..a50d7c29664 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_13.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 03b59b578f29e514ab07987d3019db8b +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg new file mode 100644 index 00000000000..6055d8c518c Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg.meta new file mode 100644 index 00000000000..5d869ff8583 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_14.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 9dea0c8d0ef0cc34d84b5d1eefe81e11 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg new file mode 100644 index 00000000000..7df1d1d13b4 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg.meta new file mode 100644 index 00000000000..eebe13c1d3b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_15.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: a0a0ccc852768444a8c982fbc4314655 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg new file mode 100644 index 00000000000..b4d5598ef76 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg.meta new file mode 100644 index 00000000000..e4bcfdb81ae --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_16.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 775deaf93f20ff047ae065a2997f7886 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg new file mode 100644 index 00000000000..f0a2148c620 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg.meta new file mode 100644 index 00000000000..4fbef3b35f0 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_17.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: b84c4d769d3db8b42a0c1e6a7826d9c6 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg new file mode 100644 index 00000000000..61583705603 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg.meta new file mode 100644 index 00000000000..2315f73e882 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_18.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 2dbbcd35f88d8014497cf088a45715e5 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg new file mode 100644 index 00000000000..75c74a55584 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg.meta new file mode 100644 index 00000000000..0387764c062 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_19.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 2f53d9190cb8c4c43a70262c5aed1d45 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg new file mode 100644 index 00000000000..ac6faa494bd Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg.meta new file mode 100644 index 00000000000..242e4988fd9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_2.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 9b7d11d4f9e0d3e40925a6a0674a1e9b +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg new file mode 100644 index 00000000000..b0b438d0c48 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg.meta new file mode 100644 index 00000000000..fd5cdcc5a27 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_20.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: de7e314628a204d408d422dea5c32d0c +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg new file mode 100644 index 00000000000..849434de670 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg.meta new file mode 100644 index 00000000000..f43ad1747ee --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_21.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: e1f34b9b77e799649815fa3ad24b62a9 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg new file mode 100644 index 00000000000..087d1e64bc1 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg.meta new file mode 100644 index 00000000000..fad52625ffd --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_22.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 8df9e9e17047bb547a35ced336976472 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg new file mode 100644 index 00000000000..b9e6cc60868 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg.meta new file mode 100644 index 00000000000..60976460d9d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_23.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: fef72538299b5dc43a883f9e1579910a +timeCreated: 1515428581 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg new file mode 100644 index 00000000000..cab13825322 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg.meta new file mode 100644 index 00000000000..a5d0b881457 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_24.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 4cf39e902eeb57244bda733cb4e9bb20 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg new file mode 100644 index 00000000000..d5bb7f8e0d7 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg.meta new file mode 100644 index 00000000000..f33a07faed1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_25.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 88495f25c55966245bee52f677a240b0 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg new file mode 100644 index 00000000000..ca6f399a6a5 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg.meta new file mode 100644 index 00000000000..7e93c834f71 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_26.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 16249c3160e951943a63948bff4f8f6c +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg new file mode 100644 index 00000000000..cb8c8c880d6 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg.meta new file mode 100644 index 00000000000..9fb0fc76bc2 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_27.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: d27c9d9d28eb2b14787689055da6fb10 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg new file mode 100644 index 00000000000..2fe9fba0fb6 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg.meta new file mode 100644 index 00000000000..98d1f774abe --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_28.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 0986e7c43495b684bac7afbd53181872 +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg new file mode 100644 index 00000000000..75961355b2f Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg.meta new file mode 100644 index 00000000000..79516c0679f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_29.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: b74397b6bdba46144a20541cd367c124 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg new file mode 100644 index 00000000000..f9fde3f4857 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg.meta new file mode 100644 index 00000000000..53287a1576a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_3.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: a52670727af213840987243d8229b5e3 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg new file mode 100644 index 00000000000..1f39d77c3b3 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg.meta new file mode 100644 index 00000000000..b3d40ce2763 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_30.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: bb171b202bf76a545897ed28f1b5143f +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg new file mode 100644 index 00000000000..6ec39e91221 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg.meta new file mode 100644 index 00000000000..bbb9161be69 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_31.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: af6693f797587ce489fc2cda77a7f920 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg new file mode 100644 index 00000000000..7f704d1c4d4 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg.meta new file mode 100644 index 00000000000..9351065e80b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_32.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: ed537a9f45aa45a43845df51c1225d1a +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg new file mode 100644 index 00000000000..f55c2cf335f Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg.meta new file mode 100644 index 00000000000..9054cd4a16b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_33.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: dde64de433229b548b64bbdd521f4dbd +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg new file mode 100644 index 00000000000..41507d472cd Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg.meta new file mode 100644 index 00000000000..f9303b806aa --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_34.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 677eb02f0ee1e614182335d39edca071 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg new file mode 100644 index 00000000000..6120b72b552 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg.meta new file mode 100644 index 00000000000..257867104c2 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_35.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: ebac417009d43aa4fbe8c3c717f57870 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg new file mode 100644 index 00000000000..92a6361ca6f Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg.meta new file mode 100644 index 00000000000..834b6a40abd --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_36.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: d3227501406bc0e438a8cc7d1d5d1554 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg new file mode 100644 index 00000000000..50a322a266f Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg.meta new file mode 100644 index 00000000000..e58db6e5d55 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_37.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 4a0d20af04558d74ca7b8b19c7bcba79 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg new file mode 100644 index 00000000000..b253b899bc0 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg.meta new file mode 100644 index 00000000000..8a281b786f7 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_38.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 4ba2e0c22df402c44a8af21d1aef36b1 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg new file mode 100644 index 00000000000..9e1074fd566 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg.meta new file mode 100644 index 00000000000..25738e61674 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_39.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 883b9ae407e0bc140a0f2eb154bf7d1b +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg new file mode 100644 index 00000000000..07891ff71a1 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg.meta new file mode 100644 index 00000000000..40df8a47c44 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_4.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 667bec4dc2c7221499e1a62c5a96d655 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg new file mode 100644 index 00000000000..00df23f4325 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg.meta new file mode 100644 index 00000000000..4d0e4c15705 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_40.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 43f3a8aaec1c7194c81fd170c9de5400 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg new file mode 100644 index 00000000000..ba8c32c0888 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg.meta new file mode 100644 index 00000000000..97c106c3caa --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_41.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 405b824b8db7a674d94de8d593019d88 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg new file mode 100644 index 00000000000..8cff1d26d7e Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg.meta new file mode 100644 index 00000000000..58649c3c010 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_42.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: bbe7c1e54de487847a60d3588e397249 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg new file mode 100644 index 00000000000..9ac1bf16300 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg.meta new file mode 100644 index 00000000000..e841cc54731 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_43.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 361415062a29fb946960b9c2d69537b9 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg new file mode 100644 index 00000000000..ca60220bf3a Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg.meta new file mode 100644 index 00000000000..38f1c37f8cd --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_44.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 9a2a8438bc15f9f49b74b56a45563c48 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg new file mode 100644 index 00000000000..37b2b91d502 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg.meta new file mode 100644 index 00000000000..ac28a9a6c51 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_45.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 267387d047a53df4695d8378f1dfa792 +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg new file mode 100644 index 00000000000..bd915cdffd8 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg.meta new file mode 100644 index 00000000000..145f8331792 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_46.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 415d33cbbbd0b1249bf9e9c2b291de1b +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg new file mode 100644 index 00000000000..d99b7e8536c Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg.meta new file mode 100644 index 00000000000..99406846758 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_47.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 873c21d2441b11d40bf6156fd95dad0b +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg new file mode 100644 index 00000000000..a7379a9ea2b Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg.meta new file mode 100644 index 00000000000..544c091bfeb --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_48.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 452c99fac6853ca4c88b5bfcf88cd5b7 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg new file mode 100644 index 00000000000..4071c4250ac Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg.meta new file mode 100644 index 00000000000..4e7be46348d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_49.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 547943506e9e53649956dd08aef3cdf5 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg new file mode 100644 index 00000000000..2507d9b4bb2 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg.meta new file mode 100644 index 00000000000..95a130315b5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_5.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 558f06a45d8683b49acd174fd935cc99 +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg new file mode 100644 index 00000000000..4e70ccb08a7 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg.meta new file mode 100644 index 00000000000..b74e545ecf9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_50.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: d45ee85ac12eeab479b1a13234ad98cf +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg new file mode 100644 index 00000000000..3bcdc6d0961 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg.meta new file mode 100644 index 00000000000..b156e0ad567 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_6.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 6b0521bc8babfc847bc6d5982593b04a +timeCreated: 1515428579 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg new file mode 100644 index 00000000000..fd5a4a91ef8 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg.meta new file mode 100644 index 00000000000..0d2105cf563 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_7.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: a9550274e96eb6248b29599c3fe622fa +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg new file mode 100644 index 00000000000..48709d7c999 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg.meta new file mode 100644 index 00000000000..4bbf13b6da6 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_8.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 1082d068cfd82414581b00eb45e4845a +timeCreated: 1515428578 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg new file mode 100644 index 00000000000..537a9b2e217 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg.meta new file mode 100644 index 00000000000..533791b4c3c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Markers/Marker_9.jpg.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: ce0c174515e98784a9ec628fd95e22e9 +timeCreated: 1515428580 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg new file mode 100644 index 00000000000..3102d453b4a Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg.meta new file mode 100644 index 00000000000..ec6904fb9ec --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.jpg.meta @@ -0,0 +1,74 @@ +fileFormatVersion: 2 +guid: 888b44e755055ab45ad3417d6e2808db +timeCreated: 1516960866 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png new file mode 100644 index 00000000000..3eeada7cda4 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png.meta new file mode 100644 index 00000000000..533b4de1073 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/Square.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: ab94da6910598c548888cd0a72a6c5f3 +timeCreated: 1516967163 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png new file mode 100644 index 00000000000..99f99845533 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png.meta new file mode 100644 index 00000000000..b394a7f99ef --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/button.png.meta @@ -0,0 +1,90 @@ +fileFormatVersion: 2 +guid: 802ab688269784ab18e4899f2f7d4195 +timeCreated: 1516704576 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif b/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif new file mode 100644 index 00000000000..5bfebfd036b Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif.meta new file mode 100644 index 00000000000..3c51260614e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/grid.gif.meta @@ -0,0 +1,90 @@ +fileFormatVersion: 2 +guid: cb00c2b9e835e4e33bbb7ebfa54fdde6 +timeCreated: 1516899633 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 32 + textureFormat: 7 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 1 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png new file mode 100644 index 00000000000..867a042f61b Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png.meta new file mode 100644 index 00000000000..fd0353c8514 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/perlin_noise.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 023732a2e30fe3d4793239ae6ccee279 +timeCreated: 1510585135 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 1 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: -1 + wrapV: -1 + wrapW: -1 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Android + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Windows Store Apps + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: WebGL + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png new file mode 100644 index 00000000000..8ef8659d683 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png.meta new file mode 100644 index 00000000000..a29a8cc2fc1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/play.png.meta @@ -0,0 +1,90 @@ +fileFormatVersion: 2 +guid: a27949784e8794263beaf82898928ead +timeCreated: 1516707949 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png new file mode 100644 index 00000000000..85afbb9a2ad Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png.meta new file mode 100644 index 00000000000..773070fce47 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/record.png.meta @@ -0,0 +1,90 @@ +fileFormatVersion: 2 +guid: ae5a74cc9bfba430882a881230c518b5 +timeCreated: 1516707950 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png b/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png new file mode 100644 index 00000000000..f00bef21c29 Binary files /dev/null and b/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png differ diff --git a/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png.meta b/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png.meta new file mode 100644 index 00000000000..858a7db74dc --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/Textures/stop.png.meta @@ -0,0 +1,90 @@ +fileFormatVersion: 2 +guid: 31321b921361d432fbc1db8c857b302c +timeCreated: 1516707949 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 4 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapU: 1 + wrapV: 1 + wrapW: -1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + platformSettings: + - buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: Standalone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + - buildTarget: iPhone + maxTextureSize: 2048 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin.meta new file mode 100644 index 00000000000..61c5294342f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: fcaa10c5417048f7b8cce3715c7ae2ed +folderAsset: yes +timeCreated: 1525180942 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote.meta new file mode 100644 index 00000000000..97a7341c055 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 0fecd784fece9804d8dec9a3a996194c +folderAsset: yes +timeCreated: 1498669549 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt new file mode 100644 index 00000000000..67c5e3840d9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt @@ -0,0 +1,27 @@ +Unity ARKit Remote + +This is a two part solution for game developers who want to iterate on ARKit apps (made with Unity ARKit Plugin) from within the Unity Editor. It consists of an iOS app (UnityARKitRemote) that provides the ARKit data from a compatible device that it is installed on, working in conjunction with a GameObject called ARKitRemoteConnection in your Unity scene for your ARKit project. This GameObject simulates ARKit working in the editor by passing data via UnityARSessionNativeInterface to the other GameObjects in the editor. The UnityARKitRemote app on the device will forward the following information to Unity scene in editor: + +-The video feed coming from the device camera (separated into Y and UV textures) as provided by ARKit. +-The camera translation and rotation based on device movement +-The ARPlaneAnchor addition, removal and update events along with data about the plane affected +-Point cloud data + +Requirements: +It has all the same requirements as the Unity ARKit Plugin, with an additional recommendation of using Unity 2017.1 or later, as the PlayerConnection works way better and has better UI support in that version. + +Future work on this: +-HitTest API +-AR Session Configuration + +Steps to using remote: + +1. First download the latest Unity ARKit Plugin code that includes the Unity ARKit Remote from either bitbucket or Unity Asset Store. +2. Build the scene called UnityARKitRemote out to your compatible iOS device. You should use “Development Build” in your Build Settings. This is the only build time to iOS you will need to endure - the rest of the iterations on your project can happen in the editor. When you build out to iOS, you should change the product name and bundle identifier in the PlayerSettings to signify that it is the Unity ARKit Remote. +3. Open the scene which contains your app that uses the Unity ARKit Plugin. From the ARKitRemote folder, add the ARKitRemoteConnection prefab into the root of your scene. If you want to test it out, it has already been added to EditorTestScene in the same folder. +4. Run the UnityARKitRemote app from step 2 on your device. It should display a black screen with “Waiting for editor connection..” +5. Press play in the editor: your game window should have a green screen with “Please connect to player in the console menu” near the bottom. +6. In this step we need to connect the editor to the Unity ARKit Remote app on the device. This is where Unity 2017.1 comes in handy: it has a menu item in the Console window to “Connected player” with a dropdown of all the available players to connect to. Select the one that corresponds to your device. In Unity 5.6 variants, you have to create a Profiler window via Window/Profiler menu. And then at the top of the Profiler window, there is a dropdown “Active Profiler” from which you select your device. +7. If you were successful in step 6, you should have a button on the top part of your Game window labelled “Start Remote ARKit Session” in editor that when pressed will start the ARKit session on the device and start transmitting data to the editor. The editor should be displaying the same video as the device, as well as navigating through your scene, and it will momentarily start showing the point cloud data as well as the planes found. + + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt.meta new file mode 100644 index 00000000000..1e17f31ce28 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e70a61590ae124a8194c71c31e1af531 +timeCreated: 1500609185 +licenseType: Store +TextScriptImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs new file mode 100644 index 00000000000..58dc35bab1c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs @@ -0,0 +1,213 @@ +using UnityEngine; +using UnityEngine.Networking.PlayerConnection; +using System.Text; +using ARKit.Utils; + +#if UNITY_EDITOR + +using UnityEditor.Networking.PlayerConnection; + +namespace UnityEngine.XR.iOS +{ + public class ARKitRemoteConnection : MonoBehaviour + { + [Header("AR Config Options")] + public UnityARAlignment startAlignment = UnityARAlignment.UnityARAlignmentGravity; + public UnityARPlaneDetection planeDetection = UnityARPlaneDetection.Horizontal; + public bool getPointCloud = true; + public bool enableLightEstimation = true; + + [Header("Run Options")] + public bool resetTracking = true; + public bool removeExistingAnchors = true; + + EditorConnection editorConnection ; + + int currentPlayerID = -1; + string guimessage = "none"; + + Texture2D remoteScreenYTex; + Texture2D remoteScreenUVTex; + + bool bTexturesInitialized; + + // Use this for initialization + void Start () { + + bTexturesInitialized = false; + + + editorConnection = EditorConnection.instance; + editorConnection.Initialize (); + editorConnection.RegisterConnection (PlayerConnected); + editorConnection.RegisterDisconnection (PlayerDisconnected); + editorConnection.Register (ConnectionMessageIds.updateCameraFrameMsgId, UpdateCameraFrame); + editorConnection.Register (ConnectionMessageIds.addPlaneAnchorMsgeId, AddPlaneAnchor); + editorConnection.Register (ConnectionMessageIds.updatePlaneAnchorMsgeId, UpdatePlaneAnchor); + editorConnection.Register (ConnectionMessageIds.removePlaneAnchorMsgeId, RemovePlaneAnchor); + editorConnection.Register (ConnectionMessageIds.screenCaptureYMsgId, ReceiveRemoteScreenYTex); + editorConnection.Register (ConnectionMessageIds.screenCaptureUVMsgId, ReceiveRemoteScreenUVTex); + + } + + void PlayerConnected(int playerID) + { + currentPlayerID = playerID; + + } + + void OnGUI() + { + + if (!bTexturesInitialized) + { + if (currentPlayerID != -1) { + guimessage = "Connected to ARKit Remote device : " + currentPlayerID.ToString (); + + if (GUI.Button (new Rect ((Screen.width / 2) - 200, (Screen.height / 2) - 200, 400, 100), "Start Remote ARKit Session")) + { + SendInitToPlayer (); + } + } + else + { + guimessage = "Please connect to player in the console menu"; + } + + GUI.Box (new Rect ((Screen.width / 2) - 200, (Screen.height / 2) + 100, 400, 50), guimessage); + } + + } + + void PlayerDisconnected(int playerID) + { + if (currentPlayerID == playerID) { + currentPlayerID = -1; + } + } + + void OnDestroy() + { + #if UNITY_2017_1_OR_NEWER + editorConnection.DisconnectAll (); + #endif + } + + + void InitializeTextures(UnityARCamera camera) + { + int yWidth = camera.videoParams.yWidth; + int yHeight = camera.videoParams.yHeight; + int uvWidth = yWidth / 2; + int uvHeight = yHeight / 2; + if (remoteScreenYTex == null || remoteScreenYTex.width != yWidth || remoteScreenYTex.height != yHeight) { + if (remoteScreenYTex) { + Destroy (remoteScreenYTex); + } + remoteScreenYTex = new Texture2D (yWidth, yHeight, TextureFormat.R8, false, true); + } + if (remoteScreenUVTex == null || remoteScreenUVTex.width != uvWidth || remoteScreenUVTex.height != uvHeight) { + if (remoteScreenUVTex) { + Destroy (remoteScreenUVTex); + } + remoteScreenUVTex = new Texture2D (uvWidth, uvHeight, TextureFormat.RG16, false, true); + } + + bTexturesInitialized = true; + } + + void UpdateCameraFrame(MessageEventArgs mea) + { + serializableUnityARCamera serCamera = mea.data.Deserialize (); + + UnityARCamera scamera = new UnityARCamera (); + scamera = serCamera; + + InitializeTextures (scamera); + + UnityARSessionNativeInterface.SetStaticCamera (scamera); + UnityARSessionNativeInterface.RunFrameUpdateCallbacks (); + } + + void AddPlaneAnchor(MessageEventArgs mea) + { + serializableUnityARPlaneAnchor serPlaneAnchor = mea.data.Deserialize (); + + ARPlaneAnchor arPlaneAnchor = serPlaneAnchor; + UnityARSessionNativeInterface.RunAddAnchorCallbacks (arPlaneAnchor); + } + + void UpdatePlaneAnchor(MessageEventArgs mea) + { + serializableUnityARPlaneAnchor serPlaneAnchor = mea.data.Deserialize (); + + ARPlaneAnchor arPlaneAnchor = serPlaneAnchor; + UnityARSessionNativeInterface.RunUpdateAnchorCallbacks (arPlaneAnchor); + } + + void RemovePlaneAnchor(MessageEventArgs mea) + { + serializableUnityARPlaneAnchor serPlaneAnchor = mea.data.Deserialize (); + + ARPlaneAnchor arPlaneAnchor = serPlaneAnchor; + UnityARSessionNativeInterface.RunRemoveAnchorCallbacks (arPlaneAnchor); + } + + void ReceiveRemoteScreenYTex(MessageEventArgs mea) + { + if (!bTexturesInitialized) + return; + remoteScreenYTex.LoadRawTextureData(mea.data); + remoteScreenYTex.Apply (); + UnityARVideo arVideo = Camera.main.GetComponent(); + if (arVideo) { + arVideo.SetYTexure(remoteScreenYTex); + } + + } + + void ReceiveRemoteScreenUVTex(MessageEventArgs mea) + { + if (!bTexturesInitialized) + return; + remoteScreenUVTex.LoadRawTextureData(mea.data); + remoteScreenUVTex.Apply (); + UnityARVideo arVideo = Camera.main.GetComponent(); + if (arVideo) { + arVideo.SetUVTexure(remoteScreenUVTex); + } + + } + + + void SendInitToPlayer() + { + serializableFromEditorMessage sfem = new serializableFromEditorMessage (); + sfem.subMessageId = SubMessageIds.editorInitARKit; + serializableARSessionConfiguration ssc = new serializableARSessionConfiguration (startAlignment, planeDetection, getPointCloud, enableLightEstimation); + UnityARSessionRunOption roTracking = resetTracking ? UnityARSessionRunOption.ARSessionRunOptionResetTracking : 0; + UnityARSessionRunOption roAnchors = removeExistingAnchors ? UnityARSessionRunOption.ARSessionRunOptionRemoveExistingAnchors : 0; + sfem.arkitConfigMsg = new serializableARKitInit (ssc, roTracking | roAnchors); + SendToPlayer (ConnectionMessageIds.fromEditorARKitSessionMsgId, sfem); + } + + void SendToPlayer(System.Guid msgId, byte[] data) + { + editorConnection.Send (msgId, data); + } + + public void SendToPlayer(System.Guid msgId, object serializableObject) + { + byte[] arrayToSend = serializableObject.SerializeToByteArray (); + SendToPlayer (msgId, arrayToSend); + } + + + // Update is called once per frame + void Update () { + + } + + } +} +#endif \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs.meta new file mode 100644 index 00000000000..f38cc7e8a2d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 004464ca939eb4ec1a1b492fb8ebfd12 +timeCreated: 1500571041 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab new file mode 100644 index 00000000000..96378371ef6 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab @@ -0,0 +1,59 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1214069642587422} + m_IsPrefabParent: 1 +--- !u!1 &1214069642587422 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4661046637869644} + - component: {fileID: 114217095398060286} + m_Layer: 0 + m_Name: ARKitRemoteConnection + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4661046637869644 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1214069642587422} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &114217095398060286 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1214069642587422} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 004464ca939eb4ec1a1b492fb8ebfd12, type: 3} + m_Name: + m_EditorClassIdentifier: + startAlignment: 0 + planeDetection: 1 + getPointCloud: 1 + enableLightEstimation: 1 + resetTracking: 1 + removeExistingAnchors: 1 diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab.meta new file mode 100644 index 00000000000..6c5b4765fcd --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 8ce7d6271a01a4274a00066492aed04a +timeCreated: 1500571318 +licenseType: Store +NativeFormatImporter: + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs new file mode 100644 index 00000000000..218ad6ee357 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs @@ -0,0 +1,143 @@ +#if UNITY_IOS || UNITY_EDITOR +using UnityEngine; +using UnityEngine.Networking.PlayerConnection; +using System.Text; +using ARKit.Utils; + +namespace UnityEngine.XR.iOS +{ + + public class ConnectToEditor : MonoBehaviour + { + PlayerConnection playerConnection; + UnityARSessionNativeInterface m_session; + int editorID; + + Texture2D frameBufferTex; + + // Use this for initialization + void Start() + { + Debug.Log("STARTING ConnectToEditor"); + editorID = -1; + playerConnection = PlayerConnection.instance; + playerConnection.RegisterConnection(EditorConnected); + playerConnection.RegisterDisconnection(EditorDisconnected); + playerConnection.Register(ConnectionMessageIds.fromEditorARKitSessionMsgId, HandleEditorMessage); + m_session = null; + + } + + void OnGUI() + { + if (m_session == null) { + GUI.Box (new Rect ((Screen.width / 2) - 200, (Screen.height / 2), 400, 50), "Waiting for editor connection..."); + } + } + + void HandleEditorMessage(MessageEventArgs mea) + { + serializableFromEditorMessage sfem = mea.data.Deserialize(); + if (sfem != null && sfem.subMessageId == SubMessageIds.editorInitARKit) { + InitializeARKit ( sfem.arkitConfigMsg ); + } + } + + void InitializeARKit(serializableARKitInit sai) + { + #if !UNITY_EDITOR + + //get the config and runoption from editor and use them to initialize arkit on device + Application.targetFrameRate = 60; + m_session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); + ARKitWorldTrackingSessionConfiguration config = sai.config; + UnityARSessionRunOption runOptions = sai.runOption; + m_session.RunWithConfigAndOptions(config, runOptions); + + UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; + UnityARSessionNativeInterface.ARAnchorAddedEvent += ARAnchorAdded; + UnityARSessionNativeInterface.ARAnchorUpdatedEvent += ARAnchorUpdated; + UnityARSessionNativeInterface.ARAnchorRemovedEvent += ARAnchorRemoved; + + #endif + } + + public void ARFrameUpdated(UnityARCamera camera) + { + serializableUnityARCamera serARCamera = camera; + SendToEditor(ConnectionMessageIds.updateCameraFrameMsgId, serARCamera); + + } + + public void ARAnchorAdded(ARPlaneAnchor planeAnchor) + { + serializableUnityARPlaneAnchor serPlaneAnchor = planeAnchor; + SendToEditor (ConnectionMessageIds.addPlaneAnchorMsgeId, serPlaneAnchor); + } + + public void ARAnchorUpdated(ARPlaneAnchor planeAnchor) + { + serializableUnityARPlaneAnchor serPlaneAnchor = planeAnchor; + SendToEditor (ConnectionMessageIds.updatePlaneAnchorMsgeId, serPlaneAnchor); + } + + public void ARAnchorRemoved(ARPlaneAnchor planeAnchor) + { + serializableUnityARPlaneAnchor serPlaneAnchor = planeAnchor; + SendToEditor (ConnectionMessageIds.removePlaneAnchorMsgeId, serPlaneAnchor); + } + + void EditorConnected(int playerID) + { + Debug.Log("connected"); + + editorID = playerID; + + } + + void EditorDisconnected(int playerID) + { + if (editorID == playerID) + { + editorID = -1; + } + + DisconnectFromEditor (); + #if !UNITY_EDITOR + if (m_session != null) + { + m_session.Pause(); + m_session = null; + } + #endif + } + + + public void SendToEditor(System.Guid msgId, object serializableObject) + { + byte[] arrayToSend = serializableObject.SerializeToByteArray (); + SendToEditor (msgId, arrayToSend); + } + + public void SendToEditor(System.Guid msgId, byte[] data) + { + if (playerConnection.isConnected) + { + playerConnection.Send(msgId, data); + } + + + } + + public void DisconnectFromEditor() + { + #if UNITY_2017_1_OR_NEWER + playerConnection.DisconnectAll(); + #endif + } + + + } + +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs.meta new file mode 100644 index 00000000000..c04b6522a40 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4b70a2d547e0544c983e2dec3bf61d46 +timeCreated: 1497387236 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs new file mode 100644 index 00000000000..0457838fc80 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs @@ -0,0 +1,20 @@ +using System; + +namespace UnityEngine.XR.iOS +{ + public static class ConnectionMessageIds + { + public static Guid fromEditorARKitSessionMsgId { get { return new Guid("523bb5dd-163b-4e5b-9271-d18a50e8897e"); } } + public static Guid updateCameraFrameMsgId { get { return new Guid("6d8c39bf-279a-46cf-91f4-9827a44443af"); } } + public static Guid addPlaneAnchorMsgeId { get { return new Guid("a435cdb9-fa85-4d3c-9d3f-57fa85f62da3"); } } + public static Guid updatePlaneAnchorMsgeId { get { return new Guid("84d5ad8d-e7f9-432c-ae5d-40717790a12f"); } } + public static Guid removePlaneAnchorMsgeId { get { return new Guid("b07750a2-8825-4e86-9483-0b22b07df800"); } } + public static Guid screenCaptureYMsgId { get { return new Guid("25c3d26f-72c5-4f3e-9a1f-c8c9b859453b"); } } + public static Guid screenCaptureUVMsgId { get { return new Guid("d7f4d3cd-2d12-4ab7-b755-932fe7ab744d"); } } + }; + + public static class SubMessageIds + { + public static Guid editorInitARKit { get { return new Guid("2e5d7c45-daef-474d-bf55-1f02f0a10b69"); } } + }; +} \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs.meta new file mode 100644 index 00000000000..86e9552aa4d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: a8aba40a0fa3e49b4a51b657765f5bf6 +timeCreated: 1498693329 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs new file mode 100644 index 00000000000..32090ac85fc --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs @@ -0,0 +1,34 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace UnityEngine.XR.iOS +{ + + public class EditorHitTest : MonoBehaviour { + + public Transform m_HitTransform; + public float maxRayDistance = 30.0f; + public LayerMask collisionLayerMask; + +#if UNITY_EDITOR //we will only use this script on the editor side, though there is nothing that would prevent it from working on device + void Update () { + if (Input.GetMouseButtonDown (0)) { + Ray ray = Camera.main.ScreenPointToRay (Input.mousePosition); + RaycastHit hit; + + //we'll try to hit one of the plane collider gameobjects that were generated by the plugin + //effectively similar to calling HitTest with ARHitTestResultType.ARHitTestResultTypeExistingPlaneUsingExtent + if (Physics.Raycast (ray, out hit, maxRayDistance, collisionLayerMask)) { + //we're going to get the position from the contact point + m_HitTransform.position = hit.point; + Debug.Log (string.Format ("x:{0:0.######} y:{1:0.######} z:{2:0.######}", m_HitTransform.position.x, m_HitTransform.position.y, m_HitTransform.position.z)); + + //and the rotation from the transform of the plane collider + m_HitTransform.rotation = hit.transform.rotation; + } + } + } +#endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs.meta new file mode 100644 index 00000000000..f131600343f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 6e5621b71c5c74d94ac88603287035e2 +timeCreated: 1504320319 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity new file mode 100644 index 00000000000..c7b40683ac9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity @@ -0,0 +1,690 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0.4465934, g: 0.49642956, b: 0.57482487, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_GIWorkflowMode: 0 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 8 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFiltering: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousColorSigma: 1 + m_PVRFilteringAtrousNormalSigma: 1 + m_PVRFilteringAtrousPositionSigma: 1 + m_LightingDataAsset: {fileID: 0} + m_ShadowMaskMode: 2 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &11818609 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 11818614} + - component: {fileID: 11818613} + - component: {fileID: 11818612} + - component: {fileID: 11818611} + - component: {fileID: 11818610} + - component: {fileID: 11818615} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &11818610 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + m_Enabled: 1 +--- !u!124 &11818611 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + m_Enabled: 1 +--- !u!92 &11818612 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + m_Enabled: 1 +--- !u!20 &11818613 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 3 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.1 + far clip plane: 35 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + 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_ForceIntoRT: 0 + m_OcclusionCulling: 0 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 + m_StereoMirrorMode: 0 +--- !u!4 &11818614 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &11818615 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 11818609} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b58ecea7a196242dd879c814ac05084c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ClearMaterial: {fileID: 2100000, guid: f1d9352050a75486f878ab19fa578f16, type: 2} +--- !u!1 &84445150 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 84445152} + - component: {fileID: 84445151} + m_Layer: 0 + m_Name: ARCameraManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &84445151 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 84445150} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 462d46d2423bb4f738d2497a397b1590, type: 3} + m_Name: + m_EditorClassIdentifier: + m_camera: {fileID: 11818613} + startAlignment: 0 + planeDetection: 1 + getPointCloud: 1 + enableLightEstimation: 1 +--- !u!4 &84445152 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 84445150} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &260521679 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 260521681} + - component: {fileID: 260521680} + m_Layer: 0 + m_Name: PointCloudParticleExample + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &260521680 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 260521679} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec20d460fbb7e4f92b4d84a10da98cd9, type: 3} + m_Name: + m_EditorClassIdentifier: + pointCloudParticlePrefab: {fileID: 198314236125653888, guid: 87db9decf4b3e4cb8bf3eea22ccd37f5, + type: 2} + maxPointsToShow: 10000 + particleSize: 0.01 +--- !u!4 &260521681 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 260521679} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &359599245 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 359599247} + - component: {fileID: 359599246} + m_Layer: 0 + m_Name: GeneratePlanes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &359599246 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 359599245} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31cac8edf84834043ac167deaeba16a9, type: 3} + m_Name: + m_EditorClassIdentifier: + planePrefab: {fileID: 1372998203143648, guid: f879aaf3eeb0c467eb22cbaf08dc97a4, + type: 2} +--- !u!4 &359599247 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 359599245} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &375233436 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 375233438} + - component: {fileID: 375233437} + - component: {fileID: 375233439} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &375233437 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 375233436} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 0.9852941, g: 0.73455304, b: 0.05071366, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &375233438 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 375233436} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} +--- !u!114 &375233439 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 375233436} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5587c957048494a2f96db36e0995449e, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1001 &632713106 +Prefab: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalPosition.z + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4661046637869644, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + propertyPath: m_RootOrder + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 114217095398060286, guid: 8ce7d6271a01a4274a00066492aed04a, + type: 2} + propertyPath: getPointCloud + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 100100000, guid: 8ce7d6271a01a4274a00066492aed04a, type: 2} + m_IsPrefabParent: 0 +--- !u!1 &754164519 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 754164523} + - component: {fileID: 754164522} + - component: {fileID: 754164521} + - component: {fileID: 754164520} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &754164520 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 754164519} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 66fbc43c67b564bb4a4c2c2dcd6c1970, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &754164521 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 754164519} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &754164522 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 754164519} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &754164523 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 754164519} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1320907942 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1320907943} + m_Layer: 0 + m_Name: HitCubeParent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1320907943 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1320907942} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0, z: -2.98} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: + - {fileID: 1428923966} + m_Father: {fileID: 0} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1428923965 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1428923966} + - component: {fileID: 1428923971} + - component: {fileID: 1428923970} + - component: {fileID: 1428923969} + - component: {fileID: 1428923968} + - component: {fileID: 1428923967} + m_Layer: 0 + m_Name: HitCube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1428923966 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.5, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1320907943} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1428923967 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6e5621b71c5c74d94ac88603287035e2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HitTransform: {fileID: 1320907943} + maxRayDistance: 30 + collisionLayerMask: + serializedVersion: 2 + m_Bits: 1024 +--- !u!114 &1428923968 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6941ec02ead994c9b848d640887441f1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HitTransform: {fileID: 1320907943} +--- !u!23 &1428923969 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &1428923970 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1428923971 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1428923965} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity.meta new file mode 100644 index 00000000000..548155b7c7a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e1efc0006a07a4fc8ab373ea6249a832 +timeCreated: 1497484703 +licenseType: Store +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs new file mode 100644 index 00000000000..083c3b4b2e7 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs @@ -0,0 +1,54 @@ +using UnityEngine; +using System.Collections; +#if PLATFORM_IOS +using System.Runtime.Serialization.Formatters.Binary; +#endif +using System.IO; + +namespace ARKit.Utils +{ + //Extension class to provide serialize / deserialize methods to object. + //src: http://stackoverflow.com/questions/1446547/how-to-convert-an-object-to-a-byte-array-in-c-sharp + //NOTE: You need add [Serializable] attribute in your class to enable serialization + public static class ObjectSerializationExtension + { + + public static byte[] SerializeToByteArray(this object obj) + { + #if PLATFORM_IOS + if (obj == null) + { + return null; + } + var bf = new BinaryFormatter(); + using (var ms = new MemoryStream()) + { + bf.Serialize(ms, obj); + return ms.ToArray(); + } + #else + return new byte[0]; + #endif + } + + public static T Deserialize(this byte[] byteArray) where T : class + { + #if PLATFORM_IOS + if (byteArray == null) + { + return null; + } + using (var memStream = new MemoryStream()) + { + var binForm = new BinaryFormatter(); + memStream.Write(byteArray, 0, byteArray.Length); + memStream.Seek(0, SeekOrigin.Begin); + var obj = (T)binForm.Deserialize(memStream); + return obj; + } + #else + return null; + #endif + } + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs.meta new file mode 100644 index 00000000000..72fe93a152c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 93eca58af117741f3be69b00a1cc4077 +timeCreated: 1498702127 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs new file mode 100644 index 00000000000..96847523326 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs @@ -0,0 +1,323 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; +using UnityEngine; +using UnityEngine.XR.iOS; +using System.Text; + +namespace ARKit.Utils +{ + /// + /// Since unity doesn't flag the Vector4 as serializable, we + /// need to create our own version. This one will automatically convert + /// between Vector4 and SerializableVector4 + /// + [Serializable] + public class SerializableVector4 + { + /// + /// x component + /// + public float x; + + /// + /// y component + /// + public float y; + + /// + /// z component + /// + public float z; + + /// + /// w component + /// + public float w; + + /// + /// Constructor + /// + /// + /// + /// + /// + public SerializableVector4(float rX, float rY, float rZ, float rW) + { + x = rX; + y = rY; + z = rZ; + w = rW; + } + + /// + /// Returns a string representation of the object + /// + /// + public override string ToString() + { + return String.Format("[{0}, {1}, {2}, {3}]", x, y, z, w); + } + + /// + /// Automatic conversion from SerializableVector4 to Vector4 + /// + /// + /// + public static implicit operator Vector4(SerializableVector4 rValue) + { + return new Vector4(rValue.x, rValue.y, rValue.z, rValue.w); + } + + /// + /// Automatic conversion from Vector4 to SerializableVector4 + /// + /// + /// + public static implicit operator SerializableVector4(Vector4 rValue) + { + return new SerializableVector4(rValue.x, rValue.y, rValue.z, rValue.w); + } + } + + [Serializable] + public class serializableUnityARMatrix4x4 + { + public SerializableVector4 column0; + public SerializableVector4 column1; + public SerializableVector4 column2; + public SerializableVector4 column3; + + public serializableUnityARMatrix4x4(SerializableVector4 v0, SerializableVector4 v1, SerializableVector4 v2, SerializableVector4 v3) + { + column0 = v0; + column1 = v1; + column2 = v2; + column3 = v3; + } + + /// + /// Automatic conversion from UnityARMatrix4x4 to serializableUnityARMatrix4x4 + /// + /// + /// + public static implicit operator serializableUnityARMatrix4x4(UnityARMatrix4x4 rValue) + { + return new serializableUnityARMatrix4x4(rValue.column0, rValue.column1, rValue.column2, rValue.column3); + } + + /// + /// Automatic conversion from serializableUnityARMatrix4x4 to UnityARMatrix4x4 + /// + /// + /// + public static implicit operator UnityARMatrix4x4(serializableUnityARMatrix4x4 rValue) + { + return new UnityARMatrix4x4(rValue.column0, rValue.column1, rValue.column2, rValue.column3); + } + + + public static implicit operator serializableUnityARMatrix4x4(Matrix4x4 rValue) + { + return new serializableUnityARMatrix4x4(rValue.GetColumn(0), rValue.GetColumn(1), rValue.GetColumn(2), rValue.GetColumn(3)); + } + + public static implicit operator Matrix4x4(serializableUnityARMatrix4x4 rValue) + { + #if UNITY_2017_1_OR_NEWER + return new Matrix4x4(rValue.column0, rValue.column1, rValue.column2, rValue.column3); + #else + Matrix4x4 mRet = new Matrix4x4 (); + mRet.SetColumn (0, rValue.column0); + mRet.SetColumn (1, rValue.column1); + mRet.SetColumn (2, rValue.column2); + mRet.SetColumn (3, rValue.column3); + return mRet; + #endif + } + + }; + + [Serializable] + public class serializableUnityARCamera + { + public serializableUnityARMatrix4x4 worldTransform; + public serializableUnityARMatrix4x4 projectionMatrix; + public ARTrackingState trackingState; + public ARTrackingStateReason trackingReason; + public UnityVideoParams videoParams; + public UnityARLightEstimate lightEstimation; + public serializablePointCloud pointCloud; + public serializableUnityARMatrix4x4 displayTransform; + + + public serializableUnityARCamera( serializableUnityARMatrix4x4 wt, serializableUnityARMatrix4x4 pm, ARTrackingState ats, ARTrackingStateReason atsr, UnityVideoParams uvp, UnityARLightEstimate lightEst, serializableUnityARMatrix4x4 dt, serializablePointCloud spc) + { + worldTransform = wt; + projectionMatrix = pm; + trackingState = ats; + trackingReason = atsr; + videoParams = uvp; + lightEstimation = lightEst; + displayTransform = dt; + pointCloud = spc; + } + + public static implicit operator serializableUnityARCamera(UnityARCamera rValue) + { + return new serializableUnityARCamera(rValue.worldTransform, rValue.projectionMatrix, rValue.trackingState, rValue.trackingReason, rValue.videoParams, rValue.lightEstimation, rValue.displayTransform, rValue.pointCloudData); + } + + public static implicit operator UnityARCamera(serializableUnityARCamera rValue) + { + return new UnityARCamera (rValue.worldTransform, rValue.projectionMatrix, rValue.trackingState, rValue.trackingReason, rValue.videoParams, rValue.lightEstimation, rValue.displayTransform, rValue.pointCloud); + } + + + }; + + [Serializable] + public class serializableUnityARPlaneAnchor + { + public serializableUnityARMatrix4x4 worldTransform; + public SerializableVector4 center; + public SerializableVector4 extent; + public ARPlaneAnchorAlignment planeAlignment; + public byte[] identifierStr; + + public serializableUnityARPlaneAnchor( serializableUnityARMatrix4x4 wt, SerializableVector4 ctr, SerializableVector4 ext, ARPlaneAnchorAlignment apaa, + byte [] idstr) + { + worldTransform = wt; + center = ctr; + extent = ext; + planeAlignment = apaa; + identifierStr = idstr; + } + + public static implicit operator serializableUnityARPlaneAnchor(ARPlaneAnchor rValue) + { + serializableUnityARMatrix4x4 wt = rValue.transform; + SerializableVector4 ctr = new SerializableVector4 (rValue.center.x, rValue.center.y, rValue.center.z, 1.0f); + SerializableVector4 ext = new SerializableVector4 (rValue.extent.x, rValue.extent.y, rValue.extent.z, 1.0f); + byte[] idstr = Encoding.UTF8.GetBytes (rValue.identifier); + return new serializableUnityARPlaneAnchor(wt, ctr, ext, rValue.alignment, idstr); + } + + public static implicit operator ARPlaneAnchor(serializableUnityARPlaneAnchor rValue) + { + ARPlaneAnchor retValue; + + retValue.identifier = Encoding.UTF8.GetString (rValue.identifierStr); + retValue.center = new Vector3 (rValue.center.x, rValue.center.y, rValue.center.z); + retValue.extent = new Vector3 (rValue.extent.x, rValue.extent.y, rValue.extent.z); + retValue.alignment = rValue.planeAlignment; + retValue.transform = rValue.worldTransform; + + return retValue; + } + + }; + + [Serializable] + public class serializablePointCloud + { + public byte [] pointCloudData; + + public serializablePointCloud(byte [] inputPoints) + { + pointCloudData = inputPoints; + } + + public static implicit operator serializablePointCloud(Vector3 [] vecPointCloud) + { + if (vecPointCloud != null) + { + byte [] createBuf = new byte[vecPointCloud.Length * sizeof(float) * 3]; + for(int i = 0; i < vecPointCloud.Length; i++) + { + int bufferStart = i * 3; + Buffer.BlockCopy( BitConverter.GetBytes( vecPointCloud[i].x ), 0, createBuf, (bufferStart)*sizeof(float), sizeof(float) ); + Buffer.BlockCopy( BitConverter.GetBytes( vecPointCloud[i].y ), 0, createBuf, (bufferStart+1)*sizeof(float), sizeof(float) ); + Buffer.BlockCopy( BitConverter.GetBytes( vecPointCloud[i].z ), 0, createBuf, (bufferStart+2)*sizeof(float), sizeof(float) ); + + } + return new serializablePointCloud (createBuf); + } + else + { + return new serializablePointCloud(null); + } + } + + public static implicit operator Vector3 [] (serializablePointCloud spc) + { + if (spc.pointCloudData != null) + { + int numVectors = spc.pointCloudData.Length / (3 * sizeof(float)); + Vector3 [] pointCloudVec = new Vector3[numVectors]; + for (int i = 0; i < numVectors; i++) + { + int bufferStart = i * 3; + pointCloudVec [i].x = BitConverter.ToSingle (spc.pointCloudData, (bufferStart) * sizeof(float)); + pointCloudVec [i].y = BitConverter.ToSingle (spc.pointCloudData, (bufferStart+1) * sizeof(float)); + pointCloudVec [i].z = BitConverter.ToSingle (spc.pointCloudData, (bufferStart+2) * sizeof(float)); + + } + return pointCloudVec; + } + else + { + return null; + } + } + }; + + [Serializable] + public class serializableARSessionConfiguration + { + public UnityARAlignment alignment; + public UnityARPlaneDetection planeDetection; + public bool getPointCloudData; + public bool enableLightEstimation; + + public serializableARSessionConfiguration(UnityARAlignment align, UnityARPlaneDetection planeDet, bool getPtCloud, bool enableLightEst) + { + alignment = align; + planeDetection = planeDet; + getPointCloudData = getPtCloud; + enableLightEstimation = enableLightEst; + } + + public static implicit operator serializableARSessionConfiguration(ARKitWorldTrackingSessionConfiguration awtsc) + { + return new serializableARSessionConfiguration (awtsc.alignment, awtsc.planeDetection, awtsc.getPointCloudData, awtsc.enableLightEstimation); + } + + public static implicit operator ARKitWorldTrackingSessionConfiguration (serializableARSessionConfiguration sasc) + { + return new ARKitWorldTrackingSessionConfiguration (sasc.alignment, sasc.planeDetection, sasc.getPointCloudData, sasc.enableLightEstimation); + } + }; + + [Serializable] + public class serializableARKitInit + { + public serializableARSessionConfiguration config; + public UnityARSessionRunOption runOption; + + public serializableARKitInit(serializableARSessionConfiguration cfg, UnityARSessionRunOption option) + { + config = cfg; + runOption = option; + } + }; + + [Serializable] + public class serializableFromEditorMessage + { + public Guid subMessageId; + public serializableARKitInit arkitConfigMsg; + + }; +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs.meta new file mode 100644 index 00000000000..cd3bcf34511 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 80135f02c883b43c582626d2cd4d0190 +timeCreated: 1498702704 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity new file mode 100644 index 00000000000..7940d6513c7 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity @@ -0,0 +1,318 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 1 + m_LightmapEditorSettings: + serializedVersion: 9 + m_Resolution: 2 + m_BakeResolution: 40 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFiltering: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousColorSigma: 1 + m_PVRFilteringAtrousNormalSigma: 1 + m_PVRFilteringAtrousPositionSigma: 1 + m_LightingDataAsset: {fileID: 0} + m_UseShadowmask: 1 +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &245454841 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 245454846} + - component: {fileID: 245454845} + - component: {fileID: 245454844} + - component: {fileID: 245454843} + - component: {fileID: 245454842} + - component: {fileID: 245454847} + - component: {fileID: 245454848} + - component: {fileID: 245454849} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!81 &245454842 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 +--- !u!124 &245454843 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 +--- !u!92 &245454844 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 +--- !u!20 &245454845 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 4 + m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.3 + far clip plane: 30 + field of view: 60 + orthographic: 0 + orthographic size: 5 + m_Depth: -1 + 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_ForceIntoRT: 0 + m_OcclusionCulling: 0 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 + m_StereoMirrorMode: 0 +--- !u!4 &245454846 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: -10} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &245454847 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4b70a2d547e0544c983e2dec3bf61d46, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &245454848 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b58ecea7a196242dd879c814ac05084c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ClearMaterial: {fileID: 2100000, guid: f1d9352050a75486f878ab19fa578f16, type: 2} + m_EditorRemoteTexture: {fileID: 0} +--- !u!114 &245454849 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 245454841} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: cdf0c6a69131b44f5bdb35de994fcea1, type: 3} + m_Name: + m_EditorClassIdentifier: + arVideoGO: {fileID: 245454848} + connectToEditor: {fileID: 245454847} +--- !u!1 &1976998943 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1976998945} + - component: {fileID: 1976998944} + m_Layer: 0 + m_Name: Directional Light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!108 &1976998944 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1976998943} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 2 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_FalloffTable: + m_Table[0]: 0 + m_Table[1]: 0 + m_Table[2]: 0 + m_Table[3]: 0 + m_Table[4]: 0 + m_Table[5]: 0 + m_Table[6]: 0 + m_Table[7]: 0 + m_Table[8]: 0 + m_Table[9]: 0 + m_Table[10]: 0 + m_Table[11]: 0 + m_Table[12]: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!4 &1976998945 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1976998943} + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} + m_LocalPosition: {x: 0, y: 3, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity.meta new file mode 100644 index 00000000000..6fcf449f5f5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 3ed73c0c9d4b76a418a0541c0cefd3ac +timeCreated: 1498647556 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs new file mode 100644 index 00000000000..02b919bc708 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs @@ -0,0 +1,122 @@ +using System; +using System.Runtime.InteropServices; +using UnityEngine; +using UnityEngine.Rendering; + +namespace UnityEngine.XR.iOS +{ + + public class UnityRemoteVideo : MonoBehaviour + { +#if UNITY_IOS || UNITY_EDITOR + public ConnectToEditor connectToEditor; + + private UnityARSessionNativeInterface m_Session; +#endif + private bool bTexturesInitialized; + + private int currentFrameIndex; + private byte[] m_textureYBytes; + private byte[] m_textureUVBytes; + private byte[] m_textureYBytes2; + private byte[] m_textureUVBytes2; + private GCHandle m_pinnedYArray; + private GCHandle m_pinnedUVArray; + + #if !UNITY_EDITOR + + public void Start() + { +#if UNITY_IOS || UNITY_EDITOR + m_Session = UnityARSessionNativeInterface.GetARSessionNativeInterface (); + UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateCamera; + currentFrameIndex = 0; + bTexturesInitialized = false; +#endif + } + +#if UNITY_IOS || UNITY_EDITOR + void UpdateCamera(UnityARCamera camera) + { + if (!bTexturesInitialized) { + InitializeTextures (camera); + } + UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateCamera; + + } + + void InitializeTextures(UnityARCamera camera) + { + int numYBytes = camera.videoParams.yWidth * camera.videoParams.yHeight; + int numUVBytes = camera.videoParams.yWidth * camera.videoParams.yHeight / 2; //quarter resolution, but two bytes per pixel + + m_textureYBytes = new byte[numYBytes]; + m_textureUVBytes = new byte[numUVBytes]; + m_textureYBytes2 = new byte[numYBytes]; + m_textureUVBytes2 = new byte[numUVBytes]; + m_pinnedYArray = GCHandle.Alloc (m_textureYBytes); + m_pinnedUVArray = GCHandle.Alloc (m_textureUVBytes); + bTexturesInitialized = true; + } +#endif + + IntPtr PinByteArray(ref GCHandle handle, byte[] array) + { + handle.Free (); + handle = GCHandle.Alloc (array, GCHandleType.Pinned); + return handle.AddrOfPinnedObject (); + } + + byte [] ByteArrayForFrame(int frame, byte[] array0, byte[] array1) + { + return frame == 1 ? array1 : array0; + } + + byte [] YByteArrayForFrame(int frame) + { + return ByteArrayForFrame (frame, m_textureYBytes, m_textureYBytes2); + } + + byte [] UVByteArrayForFrame(int frame) + { + return ByteArrayForFrame (frame, m_textureUVBytes, m_textureUVBytes2); + } + +#if UNITY_IOS || UNITY_EDITOR + void OnDestroy() + { + m_Session.SetCapturePixelData (false, IntPtr.Zero, IntPtr.Zero); + + m_pinnedYArray.Free (); + m_pinnedUVArray.Free (); + + } +#endif + + public void OnPreRender() + { +#if UNITY_IOS || UNITY_EDITOR + ARTextureHandles handles = m_Session.GetARVideoTextureHandles(); + if (handles.textureY == System.IntPtr.Zero || handles.textureCbCr == System.IntPtr.Zero) + { + return; + } + + if (!bTexturesInitialized) + return; + + currentFrameIndex = (currentFrameIndex + 1) % 2; + + Resolution currentResolution = Screen.currentResolution; + + + m_Session.SetCapturePixelData (true, PinByteArray(ref m_pinnedYArray,YByteArrayForFrame(currentFrameIndex)), PinByteArray(ref m_pinnedUVArray,UVByteArrayForFrame(currentFrameIndex))); + + connectToEditor.SendToEditor (ConnectionMessageIds.screenCaptureYMsgId, YByteArrayForFrame(1-currentFrameIndex)); + connectToEditor.SendToEditor (ConnectionMessageIds.screenCaptureUVMsgId, UVByteArrayForFrame(1-currentFrameIndex)); +#endif + + } + #endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs.meta new file mode 100644 index 00000000000..b3bfecca2ec --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: cdf0c6a69131b44f5bdb35de994fcea1 +timeCreated: 1499380179 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples.meta new file mode 100644 index 00000000000..71c078f84d1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 1382e2893fa16fa4380d943e80a90e0c +folderAsset: yes +timeCreated: 1496972798 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene.meta new file mode 100644 index 00000000000..fd6d2272fd8 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 4b1e3aaecae474a4faa14e45d2213612 +folderAsset: yes +timeCreated: 1503626045 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity new file mode 100644 index 00000000000..b36ae1287b7 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity @@ -0,0 +1,1036 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 8 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.2, g: 0.2, b: 0.2, a: 0} + m_AmbientEquatorColor: {r: 0.098908, g: 0.100485, b: 0.119403, a: 1} + m_AmbientGroundColor: {r: 0.098908, g: 0.100485, b: 0.119403, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 3 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} +--- !u!157 &4 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_TemporalCoherenceThreshold: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 8 + m_Resolution: 1 + m_BakeResolution: 50 + m_TextureWidth: 1024 + m_TextureHeight: 1024 + m_AO: 1 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 0 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 1 + m_BakeBackend: 0 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 500 + m_PVRBounces: 2 + m_PVRFiltering: 0 + m_PVRFilteringMode: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousColorSigma: 1 + m_PVRFilteringAtrousNormalSigma: 1 + m_PVRFilteringAtrousPositionSigma: 1 + m_LightingDataAsset: {fileID: 0} + m_ShadowMaskMode: 2 +--- !u!196 &5 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.4 + agentHeight: 1.8 + agentSlope: 45 + agentClimb: 0.9 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.13333333 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &7 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 9} + - component: {fileID: 10} + - component: {fileID: 12} + - component: {fileID: 13} + - component: {fileID: 11} + - component: {fileID: 8} + - component: {fileID: 14} + m_Layer: 0 + m_Name: Main Camera + m_TagString: MainCamera + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &8 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b58ecea7a196242dd879c814ac05084c, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ClearMaterial: {fileID: 2100000, guid: f1d9352050a75486f878ab19fa578f16, type: 2} +--- !u!4 &9 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + 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_Children: [] + m_Father: {fileID: 229804521} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!20 &10 +Camera: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 + serializedVersion: 2 + m_ClearFlags: 3 + m_BackGroundColor: {r: 0.19788063, g: 0.2953552, b: 0.44852942, a: 0.019608} + m_NormalizedViewPortRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + near clip plane: 0.1 + far clip plane: 30 + field of view: 60 + orthographic: 0 + orthographic size: 100 + m_Depth: -1 + 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: 1 + m_ForceIntoRT: 0 + m_OcclusionCulling: 1 + m_StereoConvergence: 10 + m_StereoSeparation: 0.022 + m_StereoMirrorMode: 0 +--- !u!81 &11 +AudioListener: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 +--- !u!92 &12 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 +--- !u!124 &13 +Behaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 +--- !u!114 &14 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 7} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ce437cef046e841aabd6070890e79d41, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1 &16 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 20} + - component: {fileID: 29} + - component: {fileID: 17} + m_Layer: 0 + m_Name: Directional light + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &17 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 16} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5587c957048494a2f96db36e0995449e, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &20 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 16} + m_LocalRotation: {x: -0.31668198, y: -0.33227497, z: 0.119525984, w: -0.8803519} + m_LocalPosition: {x: -2.359002, y: 2.21, z: -3.580904} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!108 &29 +Light: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 16} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 1 + m_Color: {r: 1, g: 0.997495, b: 0.955224, a: 1} + m_Intensity: 1 + m_Range: 10 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 0 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 1 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 1 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 +--- !u!1 &229804520 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 229804521} + m_Layer: 0 + m_Name: CameraParent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &229804521 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 229804520} + 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_Children: + - {fileID: 9} + m_Father: {fileID: 0} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &481742511 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 481742512} + - component: {fileID: 481742513} + m_Layer: 0 + m_Name: PointCloudParticleExample + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &481742512 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481742511} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 8 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &481742513 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 481742511} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ec20d460fbb7e4f92b4d84a10da98cd9, type: 3} + m_Name: + m_EditorClassIdentifier: + pointCloudParticlePrefab: {fileID: 198314236125653888, guid: 87db9decf4b3e4cb8bf3eea22ccd37f5, + type: 2} + maxPointsToShow: 10000 + particleSize: 0.01 +--- !u!1 &555720247 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 555720248} + - component: {fileID: 555720249} + m_Layer: 0 + m_Name: AR3DOFCameraManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &555720248 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 555720247} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 9 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &555720249 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 555720247} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0ff614c6973544218b2c1e3036b8de0a, type: 3} + m_Name: + m_EditorClassIdentifier: + m_camera: {fileID: 10} +--- !u!23 &732268494 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 922811256} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 66fbc43c67b564bb4a4c2c2dcd6c1970, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &732268495 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 922811256} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &732268496 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 922811256} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &732268497 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 922811256} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 1} + m_LocalScale: {x: 0.3058, y: 0.3058, z: 0.3058} + m_Children: + - {fileID: 1563586580} + - {fileID: 985089624} + - {fileID: 2134794027} + m_Father: {fileID: 0} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &922811256 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 732268497} + - component: {fileID: 732268496} + - component: {fileID: 732268495} + - component: {fileID: 732268494} + m_Layer: 0 + m_Name: RandomCube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &985089623 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 985089624} + - component: {fileID: 985089627} + - component: {fileID: 985089626} + - component: {fileID: 985089625} + m_Layer: 0 + m_Name: XAxis + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &985089624 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 985089623} + m_LocalRotation: {x: -0.0000037178397, y: 0.0000024586916, z: -0.7071033, w: -0.7071102} + m_LocalPosition: {x: 1, y: 0, z: 0} + m_LocalScale: {x: 0.03270111, y: 1.3080443, z: 0.03270111} + m_Children: [] + m_Father: {fileID: 732268497} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 10.865001, y: 2.6820002, z: 90} +--- !u!23 &985089625 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 985089623} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: aaae8be92ba59487a9946818d7a2017f, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &985089626 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 985089623} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &985089627 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 985089623} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1052679867 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1052679871} + - component: {fileID: 1052679870} + - component: {fileID: 1052679869} + - component: {fileID: 1052679868} + - component: {fileID: 1052679872} + m_Layer: 0 + m_Name: HitCube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &1052679868 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1052679867} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &1052679869 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1052679867} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1052679870 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1052679867} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1052679871 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1052679867} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.5, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1286139108} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1052679872 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1052679867} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6941ec02ead994c9b848d640887441f1, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HitTransform: {fileID: 1286139108} +--- !u!1 &1121666029 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1121666033} + - component: {fileID: 1121666030} + m_Layer: 0 + m_Name: ARCameraManager + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1121666030 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1121666029} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 462d46d2423bb4f738d2497a397b1590, type: 3} + m_Name: + m_EditorClassIdentifier: + m_camera: {fileID: 10} +--- !u!4 &1121666033 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1121666029} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1153389248 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1153389250} + - component: {fileID: 1153389249} + m_Layer: 0 + m_Name: ARKitControl + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1153389249 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1153389248} + m_Enabled: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4977b930c0f8843c8b8a101ba5bf3c8f, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!4 &1153389250 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1153389248} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1286139107 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1286139108} + m_Layer: 0 + m_Name: HitCubeParent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1286139108 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1286139107} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0, z: -2.98} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} + m_Children: + - {fileID: 1052679871} + m_Father: {fileID: 0} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1308259102 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1308259104} + - component: {fileID: 1308259103} + m_Layer: 0 + m_Name: GeneratePlanes + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &1308259103 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1308259102} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31cac8edf84834043ac167deaeba16a9, type: 3} + m_Name: + m_EditorClassIdentifier: + planePrefab: {fileID: 1372998203143648, guid: f879aaf3eeb0c467eb22cbaf08dc97a4, + type: 2} +--- !u!4 &1308259104 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1308259102} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1563586579 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 1563586580} + - component: {fileID: 1563586583} + - component: {fileID: 1563586582} + - component: {fileID: 1563586581} + m_Layer: 0 + m_Name: YAxis + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1563586580 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1563586579} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 1, z: 0} + m_LocalScale: {x: 0.03270111, y: 1.3080444, z: 0.032701116} + m_Children: [] + m_Father: {fileID: 732268497} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &1563586581 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1563586579} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 8fa2e9e7c08844dd4a8d581610839228, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &1563586582 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1563586579} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &1563586583 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 1563586579} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &2101518924 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2101518926} + - component: {fileID: 2101518925} + m_Layer: 0 + m_Name: PointCloudExample + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!114 &2101518925 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2101518924} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c5ab0fdfbf2334e8dbbcdda6ceada7e3, type: 3} + m_Name: + m_EditorClassIdentifier: + numPointsToShow: 400 + PointCloudPrefab: {fileID: 1845574417345784, guid: 02d2a544d8d594d30b790e76398d0873, + type: 2} +--- !u!4 &2101518926 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2101518924} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.16720128, y: 0.18012214, z: 1.1454113} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2134794026 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + serializedVersion: 5 + m_Component: + - component: {fileID: 2134794027} + - component: {fileID: 2134794030} + - component: {fileID: 2134794029} + - component: {fileID: 2134794028} + m_Layer: 0 + m_Name: ZAxis + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2134794027 +Transform: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2134794026} + m_LocalRotation: {x: 0.49999562, y: 0.5000044, z: 0.49999562, w: 0.5000044} + m_LocalPosition: {x: -0.05, y: 0, z: 1} + m_LocalScale: {x: 0.03270111, y: 1.3080443, z: 0.032701112} + m_Children: [] + m_Father: {fileID: 732268497} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 90, z: 89.999} +--- !u!23 &2134794028 +MeshRenderer: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2134794026} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: d55ccb0db00e54a1696c1e96094d706d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + 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 +--- !u!65 &2134794029 +BoxCollider: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2134794026} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!33 &2134794030 +MeshFilter: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_GameObject: {fileID: 2134794026} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity.meta new file mode 100644 index 00000000000..1830f73ede5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Examples/UnityARKitScene/UnityARKitScene.unity.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c159f2591a9b5c843b0a0442451f78f8 diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE new file mode 100644 index 00000000000..2bb00348cfd --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017, Unity Technologies + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE.meta new file mode 100644 index 00000000000..81a18b8d663 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/LICENSE.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: fe0a0308f3fe4cd489c993bcb630d883 +timeCreated: 1525339596 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins.meta new file mode 100644 index 00000000000..1410b7a7b2e --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 262f7d79c21f925499e5c6c205830d49 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS.meta new file mode 100644 index 00000000000..ef519908071 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: bc5ba21789652b04ebad251cdc7bb532 +folderAsset: yes +timeCreated: 1492036260 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit.meta new file mode 100644 index 00000000000..70444fdb8f5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d56f74339c3f0a046ad0d3d34c0db8e8 +folderAsset: yes +timeCreated: 1492103332 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor.meta new file mode 100644 index 00000000000..a2d3bde6d3d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ee685fbd295e8334eb09da5bf8ef261a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs new file mode 100644 index 00000000000..03f796f1781 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs @@ -0,0 +1,47 @@ +using UnityEngine; +using UnityEditor; +using UnityEditor.Callbacks; +using System.IO; + +public class UnityARBuildPostprocessor +{ + // Build postprocessor. Currently only needed on: + // - iOS: no dynamic libraries, so plugin source files have to be copied into Xcode project + [PostProcessBuild] + public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) + { + if (target == BuildTarget.iOS) + OnPostprocessBuildIOS(pathToBuiltProject); + } + + private static void OnPostprocessBuildIOS(string pathToBuiltProject) + { + // We use UnityEditor.iOS.Xcode API which only exists in iOS editor module + #if UNITY_IOS + + string projPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj"; + + UnityEditor.iOS.Xcode.PBXProject proj = new UnityEditor.iOS.Xcode.PBXProject(); + proj.ReadFromString(File.ReadAllText(projPath)); + proj.AddFrameworkToProject(proj.TargetGuidByName("Unity-iPhone"), "ARKit.framework", false); + string target = proj.TargetGuidByName("Unity-iPhone"); + Directory.CreateDirectory(Path.Combine(pathToBuiltProject, "Libraries/Unity")); + + string[] filesToCopy = new string[] + { + + }; + + for(int i = 0 ; i < filesToCopy.Length ; ++i) + { + var srcPath = Path.Combine("../PluginSource/source", filesToCopy[i]); + var dstLocalPath = "Libraries/" + filesToCopy[i]; + var dstPath = Path.Combine(pathToBuiltProject, dstLocalPath); + File.Copy(srcPath, dstPath, true); + proj.AddFileToBuild(target, proj.AddFile(dstLocalPath, dstLocalPath)); + } + + File.WriteAllText(projPath, proj.WriteToString()); + #endif // #if UNITY_IOS + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta new file mode 100644 index 00000000000..be9dfccdfd4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: a56f8b807c15f4cf3a44275a5e5f89f3 +timeCreated: 1492795428 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers.meta new file mode 100644 index 00000000000..adf2e3b0856 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5de484aa70c303247b7066fcc57ecd77 +folderAsset: yes +timeCreated: 1503626042 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs new file mode 100644 index 00000000000..851a4c2c130 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs @@ -0,0 +1,82 @@ + +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.XR.iOS; + +public class AR3DOFCameraManager : MonoBehaviour { + + public Camera m_camera; +#if UNITY_IOS || UNITY_EDITOR + private UnityARSessionNativeInterface m_session; +#endif + private Material savedClearMaterial; + + // Use this for initialization + void Start () + { +#if !UNITY_EDITOR && UNITY_IOS + Application.targetFrameRate = 60; + m_session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); + ARKitSessionConfiguration config = new ARKitSessionConfiguration(); + config.alignment = UnityARAlignment.UnityARAlignmentGravity; + config.getPointCloudData = true; + config.enableLightEstimation = true; + m_session.RunWithConfig(config); + + if (m_camera == null) + { + m_camera = Camera.main; + } +#endif + } + + public void SetCamera(Camera newCamera) + { + if (m_camera != null) + { + UnityARVideo oldARVideo = m_camera.gameObject.GetComponent (); + if (oldARVideo != null) + { + savedClearMaterial = oldARVideo.m_ClearMaterial; + Destroy (oldARVideo); + } + } + SetupNewCamera (newCamera); + } + + private void SetupNewCamera(Camera newCamera) + { + m_camera = newCamera; + + if (m_camera != null) + { + UnityARVideo unityARVideo = m_camera.gameObject.GetComponent (); + if (unityARVideo != null) + { + savedClearMaterial = unityARVideo.m_ClearMaterial; + Destroy (unityARVideo); + } + unityARVideo = m_camera.gameObject.AddComponent (); + unityARVideo.m_ClearMaterial = savedClearMaterial; + } + } + + // Update is called once per frame + +#if !UNITY_EDITOR && UNITY_IOS + void Update () + { + if (m_camera != null) + { + // JUST WORKS! + Matrix4x4 matrix = m_session.GetCameraPose(); + m_camera.transform.localPosition = UnityARMatrixOps.GetPosition(matrix); + m_camera.transform.localRotation = UnityARMatrixOps.GetRotation (matrix); + m_camera.projectionMatrix = m_session.GetCameraProjection (); + } + + } +#endif + +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs.meta new file mode 100644 index 00000000000..83988e9da2a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 0ff614c6973544218b2c1e3036b8de0a +timeCreated: 1494626284 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs new file mode 100644 index 00000000000..643249f2b60 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs @@ -0,0 +1,13 @@ +using System; + +namespace UnityEngine.XR.iOS +{ + public class ARPlaneAnchorGameObject + { + public GameObject gameObject; +#if UNITY_IOS || UNITY_EDITOR + public ARPlaneAnchor planeAnchor; +#endif + } +} + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs.meta new file mode 100644 index 00000000000..42c89ceb2aa --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 6a07258b16ace4bf1a395aa0a80f2135 +timeCreated: 1493059957 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs new file mode 100644 index 00000000000..f69e09242f4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs @@ -0,0 +1,16 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class DontDestroyOnLoad : MonoBehaviour { + + // Use this for initialization + void Start () { + DontDestroyOnLoad (gameObject); + } + + // Update is called once per frame + void Update () { + + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs.meta new file mode 100644 index 00000000000..1dec0de28b4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 562a9fe49bfc2418099790a804f22711 +timeCreated: 1493408595 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs new file mode 100644 index 00000000000..f9363170c3d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs @@ -0,0 +1,64 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.XR.iOS; + +public class PointCloudParticleExample : MonoBehaviour +{ + public ParticleSystem pointCloudParticlePrefab; + public int maxPointsToShow; + public float particleSize = 1.0f; + private Vector3[] m_PointCloudData; + private bool frameUpdated = false; + private ParticleSystem currentPS; + private ParticleSystem.Particle [] particles; + + // Use this for initialization + void Start () + { +#if UNITY_IOS || UNITY_EDITOR + UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; + currentPS = Instantiate (pointCloudParticlePrefab); + frameUpdated = false; +#endif + } + +#if UNITY_IOS || UNITY_EDITOR + public void ARFrameUpdated(UnityARCamera camera) + { + m_PointCloudData = camera.pointCloudData; + frameUpdated = true; + } +#endif + + // Update is called once per frame + void Update () + { +#if UNITY_IOS || UNITY_EDITOR + if (frameUpdated) + { + if (m_PointCloudData != null && m_PointCloudData.Length > 0) + { + int numParticles = Mathf.Min (m_PointCloudData.Length, maxPointsToShow); + ParticleSystem.Particle[] particles = new ParticleSystem.Particle[numParticles]; + int index = 0; + foreach (Vector3 currentPoint in m_PointCloudData) + { + particles [index].position = currentPoint; + particles [index].startColor = new Color (1.0f, 1.0f, 1.0f); + particles [index].startSize = particleSize; + index++; + } + currentPS.SetParticles (particles, numParticles); + } + else + { + ParticleSystem.Particle[] particles = new ParticleSystem.Particle[1]; + particles [0].startSize = 0.0f; + currentPS.SetParticles (particles, 1); + } + frameUpdated = false; + } +#endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs.meta new file mode 100644 index 00000000000..b3713143878 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: ec20d460fbb7e4f92b4d84a10da98cd9 +timeCreated: 1494006942 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs new file mode 100644 index 00000000000..c16056b4541 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs @@ -0,0 +1,37 @@ +using System.Runtime.InteropServices; +using UnityEngine.XR.iOS; + +namespace UnityEngine.XR.iOS +{ + public class UnityARAmbient : MonoBehaviour + { + + private Light l; + +#if UNITY_IOS || UNITY_EDITOR + public void Start() + { + l = GetComponent(); + UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateLightEstimation; + } + void UpdateLightEstimation(UnityARCamera camera) + { + // Convert ARKit intensity to Unity intensity + // ARKit ambient intensity ranges 0-2000 + // Unity ambient intensity ranges 0-8 (for over-bright lights) + float newai = camera.lightEstimation.ambientIntensity; + l.intensity = newai / 1000.0f; + + //Unity Light has functionality to filter the light color to correct temperature + //https://docs.unity3d.com/ScriptReference/Light-colorTemperature.html + l.colorTemperature = camera.lightEstimation.ambientColorTemperature; + } + + void OnDestroy() + { + + UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateLightEstimation; + } +#endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs.meta new file mode 100644 index 00000000000..b04de1cd890 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 5587c957048494a2f96db36e0995449e +timeCreated: 1492805300 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs new file mode 100644 index 00000000000..84260903786 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs @@ -0,0 +1,75 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +namespace UnityEngine.XR.iOS +{ + public class UnityARAnchorManager + { + + + private Dictionary planeAnchorMap; + + + public UnityARAnchorManager () + { +#if UNITY_IOS || UNITY_EDITOR + planeAnchorMap = new Dictionary (); + UnityARSessionNativeInterface.ARAnchorAddedEvent += AddAnchor; + UnityARSessionNativeInterface.ARAnchorUpdatedEvent += UpdateAnchor; + UnityARSessionNativeInterface.ARAnchorRemovedEvent += RemoveAnchor; +#endif + } + +#if UNITY_IOS || UNITY_EDITOR + public void AddAnchor(ARPlaneAnchor arPlaneAnchor) + { + Debug.Log("Add anchor in manager"); + GameObject go = UnityARUtility.CreatePlaneInScene (arPlaneAnchor); + go.AddComponent (); //this is so these GOs persist across scene loads + ARPlaneAnchorGameObject arpag = new ARPlaneAnchorGameObject (); + arpag.planeAnchor = arPlaneAnchor; + arpag.gameObject = go; + planeAnchorMap.Add (arPlaneAnchor.identifier, arpag); + } + + + public void RemoveAnchor(ARPlaneAnchor arPlaneAnchor) + { + Debug.Log("Remove anchor in manager"); + + if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { + ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; + GameObject.Destroy (arpag.gameObject); + planeAnchorMap.Remove (arPlaneAnchor.identifier); + } + } + + public void UpdateAnchor(ARPlaneAnchor arPlaneAnchor) + { + Debug.Log("Update anchor in manager"); + + if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { + ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; + UnityARUtility.UpdatePlaneWithAnchorTransform (arpag.gameObject, arPlaneAnchor); + arpag.planeAnchor = arPlaneAnchor; + planeAnchorMap [arPlaneAnchor.identifier] = arpag; + } + } +#endif + public void Destroy() + { + foreach (ARPlaneAnchorGameObject arpag in GetCurrentPlaneAnchors()) { + GameObject.Destroy (arpag.gameObject); + } + + planeAnchorMap.Clear (); + } + + public List GetCurrentPlaneAnchors() + { + return planeAnchorMap.Values.ToList (); + } + } +} + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs.meta new file mode 100644 index 00000000000..c7b3e1d6461 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 00b197bb73412448e9a5e14be146aaeb +timeCreated: 1492557010 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs new file mode 100644 index 00000000000..5b2ec60aef0 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs @@ -0,0 +1,97 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.XR.iOS; + +public class UnityARCameraManager : MonoBehaviour +{ + public Camera m_camera; +#if UNITY_IOS || UNITY_EDITOR + private UnityARSessionNativeInterface m_session; +#endif + private Material savedClearMaterial; +#if UNITY_IOS || UNITY_EDITOR + [Header("AR Config Options")] + public UnityARAlignment startAlignment = UnityARAlignment.UnityARAlignmentGravity; + public UnityARPlaneDetection planeDetection = UnityARPlaneDetection.Horizontal; +#endif + public bool getPointCloud = true; + public bool enableLightEstimation = true; + + // Use this for initialization + void Start () + { +#if UNITY_IOS || UNITY_EDITOR + m_session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); +#endif + +#if !UNITY_EDITOR && UNITY_IOS + Application.targetFrameRate = 60; + ARKitWorldTrackingSessionConfiguration config = new ARKitWorldTrackingSessionConfiguration(); + config.planeDetection = planeDetection; + config.alignment = startAlignment; + config.getPointCloudData = getPointCloud; + config.enableLightEstimation = enableLightEstimation; + m_session.RunWithConfig(config); + + if (m_camera == null) + { + m_camera = Camera.main; + } +#elif UNITY_EDITOR + //put some defaults so that it doesnt complain + UnityARCamera scamera = new UnityARCamera (); + scamera.worldTransform = new UnityARMatrix4x4 (new Vector4 (1, 0, 0, 0), new Vector4 (0, 1, 0, 0), new Vector4 (0, 0, 1, 0), new Vector4 (0, 0, 0, 1)); + Matrix4x4 projMat = Matrix4x4.Perspective (60.0f, 1.33f, 0.1f, 30.0f); + scamera.projectionMatrix = new UnityARMatrix4x4 (projMat.GetColumn(0),projMat.GetColumn(1),projMat.GetColumn(2),projMat.GetColumn(3)); + + UnityARSessionNativeInterface.SetStaticCamera (scamera); + +#endif + } + + public void SetCamera(Camera newCamera) + { + if (m_camera != null) { + UnityARVideo oldARVideo = m_camera.gameObject.GetComponent (); + if (oldARVideo != null) { + savedClearMaterial = oldARVideo.m_ClearMaterial; + Destroy (oldARVideo); + } + } + SetupNewCamera (newCamera); + } + + private void SetupNewCamera(Camera newCamera) + { + m_camera = newCamera; + + if (m_camera != null) { + UnityARVideo unityARVideo = m_camera.gameObject.GetComponent (); + if (unityARVideo != null) { + savedClearMaterial = unityARVideo.m_ClearMaterial; + Destroy (unityARVideo); + } + unityARVideo = m_camera.gameObject.AddComponent (); + unityARVideo.m_ClearMaterial = savedClearMaterial; + } + } + + // Update is called once per frame + +#if UNITY_IOS || UNITY_EDITOR + void Update () + { + if (m_camera != null) + { + // JUST WORKS! + Matrix4x4 matrix = m_session.GetCameraPose(); + m_camera.transform.localPosition = UnityARMatrixOps.GetPosition(matrix); + m_camera.transform.localRotation = UnityARMatrixOps.GetRotation (matrix); + + m_camera.projectionMatrix = m_session.GetCameraProjection (); + } + } +#endif + +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs.meta new file mode 100644 index 00000000000..d7853f744c6 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 462d46d2423bb4f738d2497a397b1590 +timeCreated: 1493058653 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs new file mode 100644 index 00000000000..3d0f1382ca8 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs @@ -0,0 +1,35 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.XR.iOS; + +[RequireComponent(typeof(Camera))] +public class UnityARCameraNearFar : MonoBehaviour { + + private Camera attachedCamera; + private float currentNearZ; + private float currentFarZ; + +#if UNITY_IOS || UNITY_EDITOR + // Use this for initialization + void Start () + { + attachedCamera = GetComponent (); + UpdateCameraClipPlanes (); + } + + void UpdateCameraClipPlanes() + { + currentNearZ = attachedCamera.nearClipPlane; + currentFarZ = attachedCamera.farClipPlane; + UnityARSessionNativeInterface.GetARSessionNativeInterface ().SetCameraClipPlanes (currentNearZ, currentFarZ); + } + + // Update is called once per frame + void Update () { + if (currentNearZ != attachedCamera.nearClipPlane || currentFarZ != attachedCamera.farClipPlane) { + UpdateCameraClipPlanes (); + } + } +#endif +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs.meta new file mode 100644 index 00000000000..540e664573d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: ce437cef046e841aabd6070890e79d41 +timeCreated: 1496930896 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs new file mode 100644 index 00000000000..35646d71c87 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; + +namespace UnityEngine.XR.iOS +{ + public class UnityARGeneratePlane : MonoBehaviour + { + public GameObject planePrefab; +#if UNITY_IOS || UNITY_EDITOR + private UnityARAnchorManager unityARAnchorManager; + + // Use this for initialization + void Start () { + unityARAnchorManager = new UnityARAnchorManager(); + UnityARUtility.InitializePlanePrefab (planePrefab); + } + + void OnDestroy() + { + unityARAnchorManager.Destroy (); + } + + void OnGUI() + { + List arpags = unityARAnchorManager.GetCurrentPlaneAnchors (); + if (arpags.Count >= 1) { + ARPlaneAnchor ap = arpags [0].planeAnchor; + GUI.Box (new Rect (100, 100, 800, 60), string.Format ("Center: x:{0}, y:{1}, z:{2}", ap.center.x, ap.center.y, ap.center.z)); + GUI.Box(new Rect(100, 200, 800, 60), string.Format ("Extent: x:{0}, y:{1}, z:{2}", ap.extent.x, ap.extent.y, ap.extent.z)); + } + } +#endif + } +} + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs.meta new file mode 100644 index 00000000000..717ee7c2506 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 31cac8edf84834043ac167deaeba16a9 +timeCreated: 1493058396 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs new file mode 100644 index 00000000000..3f261dae756 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs @@ -0,0 +1,72 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace UnityEngine.XR.iOS +{ + public class UnityARKitControl : MonoBehaviour { +#if UNITY_IOS || UNITY_EDITOR + UnityARSessionRunOption [] runOptions = new UnityARSessionRunOption[4]; + UnityARAlignment [] alignmentOptions = new UnityARAlignment[3]; + UnityARPlaneDetection [] planeOptions = new UnityARPlaneDetection[4]; + int currentOptionIndex = 0; + int currentAlignmentIndex = 0; + int currentPlaneIndex = 0; + + // Use this for initialization + void Start () { + runOptions [0] = UnityARSessionRunOption.ARSessionRunOptionRemoveExistingAnchors | UnityARSessionRunOption.ARSessionRunOptionResetTracking; + runOptions [1] = UnityARSessionRunOption.ARSessionRunOptionResetTracking; + runOptions [2] = UnityARSessionRunOption.ARSessionRunOptionRemoveExistingAnchors; + runOptions [3] = 0; + + alignmentOptions [0] = UnityARAlignment.UnityARAlignmentCamera; + alignmentOptions [1] = UnityARAlignment.UnityARAlignmentGravity; + alignmentOptions [2] = UnityARAlignment.UnityARAlignmentGravityAndHeading; + + planeOptions [0] = UnityARPlaneDetection.Horizontal; + planeOptions [1] = UnityARPlaneDetection.None; + + } + + // Update is called once per frame + void Update () { + + } + + void OnGUI() + { + if (GUI.Button (new Rect (100, 100, 200, 50), "Stop")) { + UnityARSessionNativeInterface.GetARSessionNativeInterface ().Pause (); + } + + if (GUI.Button (new Rect (300, 100, 200, 50), "Start")) { + ARKitWorldTrackingSessionConfiguration sessionConfig = new ARKitWorldTrackingSessionConfiguration (alignmentOptions [currentAlignmentIndex], planeOptions[currentPlaneIndex]); + UnityARSessionNativeInterface.GetARSessionNativeInterface ().RunWithConfigAndOptions (sessionConfig, runOptions[currentOptionIndex]); + } + + + if (GUI.Button (new Rect (100, 300, 200, 100), "Start Non-WT Session")) { + ARKitSessionConfiguration sessionConfig = new ARKitSessionConfiguration (alignmentOptions [currentAlignmentIndex], true, true); + UnityARSessionNativeInterface.GetARSessionNativeInterface ().RunWithConfig (sessionConfig); + } + + + string runOptionStr = (currentOptionIndex == 0 ? "Full" : (currentOptionIndex == 1 ? "Tracking" : (currentOptionIndex == 2 ? "Anchors" : "None"))); + if (GUI.Button (new Rect (100, 200, 150, 50), "RunOption:" + runOptionStr)) { + currentOptionIndex = (currentOptionIndex + 1) % 4; + } + + string alignmentOptionStr = (currentAlignmentIndex == 0 ? "Camera" : (currentAlignmentIndex == 1 ? "Gravity" : "GravityAndHeading")); + if (GUI.Button (new Rect (300, 200, 150, 50), "AlignOption:" + alignmentOptionStr)) { + currentAlignmentIndex = (currentAlignmentIndex + 1) % 3; + } + + string planeOptionStr = currentPlaneIndex == 0 ? "Horizontal": "None"; + if (GUI.Button (new Rect (500, 200, 150, 50), "PlaneOption:" + planeOptionStr)) { + currentPlaneIndex = (currentPlaneIndex + 1) % 2; + } + } +#endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs.meta new file mode 100644 index 00000000000..971639e3606 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4977b930c0f8843c8b8a101ba5bf3c8f +timeCreated: 1493240142 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs new file mode 100644 index 00000000000..ddf57318f80 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs @@ -0,0 +1,45 @@ +using System; + +namespace UnityEngine.XR.iOS +{ + public class UnityARMatrixOps + { + + public static Vector3 GetPosition(Matrix4x4 matrix) + { + // Convert from ARKit's right-handed coordinate + // system to Unity's left-handed + Vector3 position = matrix.GetColumn(3); + position.z = -position.z; + + return position; + } + + public static Quaternion GetRotation(Matrix4x4 matrix) + { + // Convert from ARKit's right-handed coordinate + // system to Unity's left-handed + Quaternion rotation = QuaternionFromMatrix(matrix); + rotation.z = -rotation.z; + rotation.w = -rotation.w; + + return rotation; + } + + + static Quaternion QuaternionFromMatrix(Matrix4x4 m) { + // Adapted from: http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm + Quaternion q = new Quaternion(); + q.w = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] + m[1,1] + m[2,2] ) ) / 2; + q.x = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] - m[1,1] - m[2,2] ) ) / 2; + q.y = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] + m[1,1] - m[2,2] ) ) / 2; + q.z = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] - m[1,1] + m[2,2] ) ) / 2; + q.x *= Mathf.Sign( q.x * ( m[2,1] - m[1,2] ) ); + q.y *= Mathf.Sign( q.y * ( m[0,2] - m[2,0] ) ); + q.z *= Mathf.Sign( q.z * ( m[1,0] - m[0,1] ) ); + return q; + } + + } +} + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs.meta new file mode 100644 index 00000000000..47a67102487 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 37808a86538754725a15d36128fd2afc +timeCreated: 1492800582 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs new file mode 100644 index 00000000000..7f21385532a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.XR.iOS; + +namespace UnityEngine.XR.iOS +{ +public class UnityARUserAnchorComponent : MonoBehaviour { + + private string m_AnchorId; + + public string AnchorId { get { return m_AnchorId; } } + +#if UNITY_IOS || UNITY_EDITOR + void Awake() + { + UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent += GameObjectAnchorUpdated; + UnityARSessionNativeInterface.ARUserAnchorRemovedEvent += AnchorRemoved; + this.m_AnchorId = UnityARSessionNativeInterface.GetARSessionNativeInterface ().AddUserAnchorFromGameObject(this.gameObject).identifierStr; + } + + void Start () + { + + } + + public void AnchorRemoved(ARUserAnchor anchor) + { + if (anchor.identifier.Equals(m_AnchorId)) + { + Destroy(this.gameObject); + } + } + + + void OnDestroy() { + UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent -= GameObjectAnchorUpdated; + UnityARSessionNativeInterface.ARUserAnchorRemovedEvent -= AnchorRemoved; + UnityARSessionNativeInterface.GetARSessionNativeInterface ().RemoveUserAnchor(this.m_AnchorId); + } + + private void GameObjectAnchorUpdated(ARUserAnchor anchor) + { + + } +#endif +} +} \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs.meta new file mode 100644 index 00000000000..11cda117315 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4d24244ceb54d42ca92481ba81c45056 +timeCreated: 1499372973 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs new file mode 100644 index 00000000000..e5df755b3f1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs @@ -0,0 +1,57 @@ +using System; +using System.Runtime.InteropServices; + +namespace UnityEngine.XR.iOS +{ + public class UnityARUtility + { + private MeshCollider meshCollider; //declared to avoid code stripping of class + private MeshFilter meshFilter; //declared to avoid code stripping of class + private static GameObject planePrefab = null; + + public static void InitializePlanePrefab(GameObject go) + { + planePrefab = go; + } + +#if UNITY_IOS || UNITY_EDITOR + public static GameObject CreatePlaneInScene(ARPlaneAnchor arPlaneAnchor) + { + GameObject plane; + if (planePrefab != null) { + plane = GameObject.Instantiate(planePrefab); + } else { + plane = new GameObject (); //put in a blank gameObject to get at least a transform to manipulate + } + + plane.name = arPlaneAnchor.identifier; + + return UpdatePlaneWithAnchorTransform(plane, arPlaneAnchor); + + } + + public static GameObject UpdatePlaneWithAnchorTransform(GameObject plane, ARPlaneAnchor arPlaneAnchor) + { + + //do coordinate conversion from ARKit to Unity + plane.transform.position = UnityARMatrixOps.GetPosition (arPlaneAnchor.transform); + plane.transform.rotation = UnityARMatrixOps.GetRotation (arPlaneAnchor.transform); + + MeshFilter mf = plane.GetComponentInChildren (); + + if (mf != null) { + //since our plane mesh is actually 10mx10m in the world, we scale it here by 0.1f + mf.gameObject.transform.localScale = new Vector3(arPlaneAnchor.extent.x * 0.1f ,arPlaneAnchor.extent.y * 0.1f ,arPlaneAnchor.extent.z * 0.1f ); + + //convert our center position to unity coords + mf.gameObject.transform.localPosition = new Vector3(arPlaneAnchor.center.x,arPlaneAnchor.center.y, -arPlaneAnchor.center.z); + } + + return plane; + } + +#endif + + } +} + diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs.meta new file mode 100644 index 00000000000..303892149f9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 9736aad5d8518481ab7e8d1d0b0e6e36 +timeCreated: 1492800582 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs new file mode 100644 index 00000000000..56fd0adcef0 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs @@ -0,0 +1,121 @@ +using System; +using System.Runtime.InteropServices; +using UnityEngine; +using UnityEngine.Rendering; + +namespace UnityEngine.XR.iOS +{ + + public class UnityARVideo : MonoBehaviour + { + public Material m_ClearMaterial; + + private CommandBuffer m_VideoCommandBuffer; + private Texture2D _videoTextureY; + private Texture2D _videoTextureCbCr; + private Matrix4x4 _displayTransform; + + private bool bCommandBufferInitialized; + + public void Start() + { +#if UNITY_IOS || UNITY_EDITOR + UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateFrame; + bCommandBufferInitialized = false; +#endif + } +#if UNITY_IOS || UNITY_EDITOR + void UpdateFrame(UnityARCamera cam) + { + _displayTransform = new Matrix4x4(); + _displayTransform.SetColumn(0, cam.displayTransform.column0); + _displayTransform.SetColumn(1, cam.displayTransform.column1); + _displayTransform.SetColumn(2, cam.displayTransform.column2); + _displayTransform.SetColumn(3, cam.displayTransform.column3); + } + + void InitializeCommandBuffer() + { + m_VideoCommandBuffer = new CommandBuffer(); + m_VideoCommandBuffer.Blit(null, BuiltinRenderTextureType.CurrentActive, m_ClearMaterial); + GetComponent().AddCommandBuffer(CameraEvent.BeforeForwardOpaque, m_VideoCommandBuffer); + bCommandBufferInitialized = true; + + } + + void OnDestroy() + { + GetComponent().RemoveCommandBuffer(CameraEvent.BeforeForwardOpaque, m_VideoCommandBuffer); + UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateFrame; + bCommandBufferInitialized = false; + } +#endif + +#if !UNITY_EDITOR && UNITY_IOS + + public void OnPreRender() + { + ARTextureHandles handles = UnityARSessionNativeInterface.GetARSessionNativeInterface ().GetARVideoTextureHandles(); + if (handles.textureY == System.IntPtr.Zero || handles.textureCbCr == System.IntPtr.Zero) + { + return; + } + + if (!bCommandBufferInitialized) { + InitializeCommandBuffer (); + } + + Resolution currentResolution = Screen.currentResolution; + + // Texture Y + if (_videoTextureY == null) { + _videoTextureY = Texture2D.CreateExternalTexture(currentResolution.width, currentResolution.height, + TextureFormat.R8, false, false, (System.IntPtr)handles.textureY); + _videoTextureY.filterMode = FilterMode.Bilinear; + _videoTextureY.wrapMode = TextureWrapMode.Repeat; + m_ClearMaterial.SetTexture("_textureY", _videoTextureY); + } + + // Texture CbCr + if (_videoTextureCbCr == null) { + _videoTextureCbCr = Texture2D.CreateExternalTexture(currentResolution.width, currentResolution.height, + TextureFormat.RG16, false, false, (System.IntPtr)handles.textureCbCr); + _videoTextureCbCr.filterMode = FilterMode.Bilinear; + _videoTextureCbCr.wrapMode = TextureWrapMode.Repeat; + m_ClearMaterial.SetTexture("_textureCbCr", _videoTextureCbCr); + } + + _videoTextureY.UpdateExternalTexture(handles.textureY); + _videoTextureCbCr.UpdateExternalTexture(handles.textureCbCr); + + m_ClearMaterial.SetMatrix("_DisplayTransform", _displayTransform); + } +#elif UNITY_EDITOR + + public void SetYTexure(Texture2D YTex) + { + _videoTextureY = YTex; + } + + public void SetUVTexure(Texture2D UVTex) + { + _videoTextureCbCr = UVTex; + } + + public void OnPreRender() + { + + if (!bCommandBufferInitialized) + { + InitializeCommandBuffer (); + } + + m_ClearMaterial.SetTexture("_textureY", _videoTextureY); + m_ClearMaterial.SetTexture("_textureCbCr", _videoTextureCbCr); + + m_ClearMaterial.SetMatrix("_DisplayTransform", _displayTransform); + } + +#endif + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs.meta new file mode 100644 index 00000000000..3ba0dff20d9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: b58ecea7a196242dd879c814ac05084c +timeCreated: 1492796577 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs new file mode 100644 index 00000000000..63c28aeeae2 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs @@ -0,0 +1,51 @@ +using System; +using UnityEngine; +using UnityEngine.XR.iOS; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.InteropServices; + +public class UnityPointCloudExample : MonoBehaviour +{ + public uint numPointsToShow = 100; + public GameObject PointCloudPrefab = null; + private List pointCloudObjects; + private Vector3[] m_PointCloudData; + + public void Start() + { +#if UNITY_IOS || UNITY_EDITOR + UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; + if (PointCloudPrefab != null) + { + pointCloudObjects = new List (); + for (int i =0; i < numPointsToShow; i++) + { + pointCloudObjects.Add (Instantiate (PointCloudPrefab)); + } + } +#endif + } + +#if UNITY_IOS || UNITY_EDITOR + public void ARFrameUpdated(UnityARCamera camera) + { + m_PointCloudData = camera.pointCloudData; + } +#endif + + public void Update() + { +#if UNITY_IOS || UNITY_EDITOR + if (PointCloudPrefab != null && m_PointCloudData != null) + { + for (int count = 0; count < Math.Min (m_PointCloudData.Length, numPointsToShow); count++) + { + Vector4 vert = m_PointCloudData [count]; + GameObject point = pointCloudObjects [count]; + point.transform.position = new Vector3(vert.x, vert.y, vert.z); + } + } +#endif + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs.meta new file mode 100644 index 00000000000..93d392b6d2a --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c5ab0fdfbf2334e8dbbcdda6ceada7e3 +timeCreated: 1493835634 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials.meta new file mode 100644 index 00000000000..05e2a7b6349 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b462a40900c98a24b93758a5783c64de +folderAsset: yes +timeCreated: 1492792741 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat new file mode 100644 index 00000000000..964adb8e44f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat @@ -0,0 +1,90 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: YUVMaterial + m_Shader: {fileID: 4800000, guid: ef7b8eec959eb4f1e9fa97bc86273848, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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} + - _textureCbCr: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _textureCrCb: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _textureY: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + 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 + - _isPortrait: 0 + - _texCoordScale: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta new file mode 100644 index 00000000000..42a897bb82b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f1d9352050a75486f878ab19fa578f16 +timeCreated: 1492641356 +licenseType: Store +NativeFormatImporter: + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat new file mode 100644 index 00000000000..b890a268b7b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat @@ -0,0 +1,90 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: YUVMaterialLinear + m_Shader: {fileID: 4800000, guid: 57c2c07a0719d4fafab7a4f8a84d1767, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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} + - _textureCbCr: + m_Texture: {fileID: 0} + m_Scale: {x: 2, y: 2} + m_Offset: {x: -1, y: -1} + - _textureCrCb: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _textureY: + m_Texture: {fileID: 0} + m_Scale: {x: 2, y: 2} + m_Offset: {x: -1, y: -1} + 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 + - _isPortrait: 0 + - _texCoordScale: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat.meta new file mode 100644 index 00000000000..21f9a3ca203 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 2081057c5ab9b4b20a1a1c4efdace299 +timeCreated: 1492641356 +licenseType: Store +NativeFormatImporter: + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface.meta new file mode 100644 index 00000000000..278e37f3cb0 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b6af7d2ca912e8145b25daa69974ee7f +folderAsset: yes +timeCreated: 1492795798 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs new file mode 100644 index 00000000000..41c6046af31 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs @@ -0,0 +1,16 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARAnchor + { + public string identifier; + + /** + The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. + */ + public Matrix4x4 transform; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta new file mode 100644 index 00000000000..60cda6049c1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 79ff8feee38c24e158252a971d93a42a +timeCreated: 1492118050 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs new file mode 100644 index 00000000000..8d9edfc6f82 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs @@ -0,0 +1,52 @@ +#if UNITY_IOS || UNITY_EDITOR +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace UnityEngine.XR.iOS +{ + public struct ARCamera + { + /** + The transformation matrix that defines the camera's rotation and translation in world coordinates. + */ + + public Matrix4x4 worldTransform; + + /** + The camera's orientation defined as Euler angles. + + @dicussion The order of components in this vector matches the axes of rotation: + 1. Pitch (the x component) is the rotation about the node's x-axis (in radians) + 2. Yaw (the y component) is the rotation about the node's y-axis (in radians) + 3. Roll (the z component) is the rotation about the node's z-axis (in radians) + ARKit applies these rotations in the reverse order of the components: + 1. first roll + 2. then yaw + 3. then pitch + */ + + public Vector3 eulerAngles; + + public ARTrackingQuality trackingQuality; + + /** + The camera intrinsics. + @discussion The matrix has the following contents: + fx 0 px + 0 fy py + 0 0 1 + fx and fy are the focal length in pixels. + px and py are the coordinates of the principal point in pixels. + The origin is at the center of the upper-left pixel. + */ + + public Vector3 intrinsics_row1; + public Vector3 intrinsics_row2; + public Vector3 intrinsics_row3; + + public ARSize imageResolution; + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta new file mode 100644 index 00000000000..9e70fe006b3 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: f7914788e42e54a09ac79ed2629dfb48 +timeCreated: 1492103364 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs new file mode 100644 index 00000000000..3c735947da5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs @@ -0,0 +1,22 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public enum ARErrorCode : long + { + /** Unsupported session configuration. */ + ARErrorCodeUnsupportedConfiguration = 100, + + /** A sensor required to run the session is not available. */ + ARErrorCodeSensorUnavailable = 101, + + /** A sensor failed to provide the required input. */ + ARErrorCodeSensorFailed = 102, + + /** World tracking has encountered a fatal error. */ + ARErrorCodeWorldTrackingFailed = 200, + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta new file mode 100644 index 00000000000..bf817c51c7c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 094318df5b9084291abdf9a768914ab7 +timeCreated: 1492118622 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs new file mode 100644 index 00000000000..7a43199bea8 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs @@ -0,0 +1,37 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARFrame + { + /** + A timestamp identifying the frame. + */ + public double timestamp; + + /** + The frame's captured image. + */ + public IntPtr capturedImage; + + /** + The camera used to capture the frame's image. + @discussion The camera provides the device's position and orientation as well as camera parameters. + */ + public ARCamera camera; + + /** + A list of anchors in the scene. + */ + //List anchors; + + /** + A light estimate representing the light in the scene. + @discussion Returns nil if there is no light estimation. + */ + ARLightEstimate lightEstimate; + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta new file mode 100644 index 00000000000..2cae759399d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: b8b915b5e16c84740b940efc7a7e2821 +timeCreated: 1492118050 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs new file mode 100644 index 00000000000..c2df4889194 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs @@ -0,0 +1,41 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARHitTestResult + { + /** + The type of the hit-test result. + */ + public ARHitTestResultType type; + + /** + The distance from the camera to the intersection in meters. + */ + public double distance; + + /** + The transformation matrix that defines the intersection's rotation, translation and scale + relative to the anchor or nearest feature point. + */ + public Matrix4x4 localTransform; + + /** + The transformation matrix that defines the intersection's rotation, translation and scale + relative to the world. + */ + public Matrix4x4 worldTransform; + + /** + The anchor that the hit-test intersected. + */ + public string anchorIdentifier; + + /** + True if the test represents a valid hit test. Data is undefined otherwise. + */ + public bool isValid; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta new file mode 100644 index 00000000000..dd9a59fa422 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 048b3fa7b70bb49689905314375cd7c3 +timeCreated: 1492121726 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs new file mode 100644 index 00000000000..017f91340e1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs @@ -0,0 +1,26 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + [Flags] + public enum ARHitTestResultType : long + { + /** Result type from intersecting the nearest feature point. */ + ARHitTestResultTypeFeaturePoint = (1 << 0), + + /** Result type from detecting and intersecting a new horizontal plane. */ + ARHitTestResultTypeHorizontalPlane = (1 << 1), + + /** Result type from detecting and intersecting a new vertical plane. */ + ARHitTestResultTypeVerticalPlane = (1 << 2), + + /** Result type from intersecting with an existing plane anchor. */ + ARHitTestResultTypeExistingPlane = (1 << 3), + + /** Result type from intersecting with an existing plane anchor, taking into account the plane's extent. */ + ARHitTestResultTypeExistingPlaneUsingExtent = ( 1 << 4) + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta new file mode 100644 index 00000000000..05f4acad1d8 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 1d70fc085339c436b848c46340250a29 +timeCreated: 1492121726 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs new file mode 100644 index 00000000000..4428aff275c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs @@ -0,0 +1,11 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARLightEstimate + { + public double ambientIntensity; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta new file mode 100644 index 00000000000..5241dc09492 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c1f2e6c89195544de943f77cd419d81d +timeCreated: 1492118050 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs new file mode 100644 index 00000000000..8f6aacba9a9 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs @@ -0,0 +1,36 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARPlaneAnchor + { + + public string identifier; + + /** + The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. + */ + public Matrix4x4 transform; + + /** + The alignment of the plane. + */ + + public ARPlaneAnchorAlignment alignment; + + /** + The center of the plane in the anchor’s coordinate space. + */ + + public Vector3 center; + + /** + The extent of the plane in the anchor’s coordinate space. + */ + public Vector3 extent; + + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta new file mode 100644 index 00000000000..3db1218f96f --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 4a7917e69c7bc43ad8879cc6d58266fc +timeCreated: 1492119200 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs new file mode 100644 index 00000000000..008dccba472 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs @@ -0,0 +1,12 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public enum ARPlaneAnchorAlignment : long + { + /** A plane that is horizontal with respect to gravity. */ + ARPlaneAnchorAlignmentHorizontal + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta new file mode 100644 index 00000000000..09203dd4dad --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: f8d5557085c2d4e3e8ac43f5694ea8c8 +timeCreated: 1492119200 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs new file mode 100644 index 00000000000..12394d16c95 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs @@ -0,0 +1,12 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARPoint + { + public double x; + public double y; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta new file mode 100644 index 00000000000..6e8f27d58fc --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 91d28e0ba93314b2298e88a73bf448d3 +timeCreated: 1492119200 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs new file mode 100644 index 00000000000..3fd054cb5a3 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs @@ -0,0 +1,12 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARRect + { + public ARPoint origin; + public ARSize size; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta new file mode 100644 index 00000000000..5072bf459e5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 1b78ac1873b934b6497aa4404b460655 +timeCreated: 1492120116 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm new file mode 100644 index 00000000000..c9898de04f4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm @@ -0,0 +1,921 @@ +#import +#import +#include "stdlib.h" +#include "UnityAppController.h" + + +typedef struct +{ + float x,y,z,w; +} UnityARVector4; + +typedef struct +{ + UnityARVector4 column0; + UnityARVector4 column1; + UnityARVector4 column2; + UnityARVector4 column3; +} UnityARMatrix4x4; + +enum UnityARAlignment +{ + UnityARAlignmentGravity, + UnityARAlignmentGravityAndHeading, + UnityARAlignmentCamera +}; + +enum UnityARPlaneDetection +{ + UnityARPlaneDetectionNone = 0, + UnityARPlaneDetectionHorizontal = (1 << 0), + UnityARPlaneDetectionVertical = (1 << 1) +}; + + +typedef struct +{ + UnityARAlignment alignment; + uint32_t getPointCloudData; + uint32_t enableLightEstimation; + +} ARKitSessionConfiguration; + +typedef struct +{ + UnityARAlignment alignment; + UnityARPlaneDetection planeDetection; + uint32_t getPointCloudData; + uint32_t enableLightEstimation; + +} ARKitWorldTrackingSessionConfiguration; + +enum UnityARSessionRunOptions +{ + UnityARSessionRunOptionResetTracking = (1 << 0), + UnityARSessionRunOptionRemoveExistingAnchors = (1 << 1) + +}; + +typedef struct +{ + void* identifier; + UnityARMatrix4x4 transform; + ARPlaneAnchorAlignment alignment; + UnityARVector4 center; + UnityARVector4 extent; +} UnityARAnchorData; + +typedef struct +{ + void* identifier; + UnityARMatrix4x4 transform; +} UnityARUserAnchorData; + +enum UnityARTrackingState +{ + UnityARTrackingStateNotAvailable, + UnityARTrackingStateLimited, + UnityARTrackingStateNormal, +}; + +enum UnityARTrackingReason +{ + UnityARTrackingStateReasonNone, + UnityARTrackingStateReasonInitializing, + UnityARTrackingStateReasonExcessiveMotion, + UnityARTrackingStateReasonInsufficientFeatures, +}; + +typedef struct +{ + uint32_t yWidth; + uint32_t yHeight; + uint32_t screenOrientation; + float texCoordScale; + void* cvPixelBufferPtr; +}UnityVideoParams; + +typedef struct +{ + float ambientIntensity; + float ambientColorTemperature; +}UnityARLightEstimation; + +typedef struct +{ + UnityARMatrix4x4 worldTransform; + UnityARMatrix4x4 projectionMatrix; + UnityARTrackingState trackingState; + UnityARTrackingReason trackingReason; + UnityVideoParams videoParams; + UnityARLightEstimation lightEstimation; + UnityARMatrix4x4 displayTransform; + uint32_t getPointCloudData; +} UnityARCamera; + +typedef struct +{ + vector_float3* pointCloud; + NSUInteger pointCloudSize; +} UnityARPointCloudData; + +typedef struct +{ + void* pYPixelBytes; + void* pUVPixelBytes; + BOOL bEnable; +}UnityPixelBuffer; + + + +typedef void (*UNITY_AR_FRAME_CALLBACK)(UnityARCamera camera); +typedef void (*UNITY_AR_ANCHOR_CALLBACK)(UnityARAnchorData anchorData); +typedef void (*UNITY_AR_USER_ANCHOR_CALLBACK)(UnityARUserAnchorData anchorData); +typedef void (*UNITY_AR_SESSION_FAILED_CALLBACK)(const void* error); +typedef void (*UNITY_AR_SESSION_VOID_CALLBACK)(void); +typedef void (*UNITY_AR_SESSION_TRACKING_CHANGED)(UnityARCamera camera); + +// These don't all need to be static data, but no other better place for them at the moment. +static id s_CapturedImageTextureY; +static id s_CapturedImageTextureCbCr; +static UnityARMatrix4x4 s_CameraProjectionMatrix; + +static float s_AmbientIntensity; +static int s_TrackingQuality; +static float s_ShaderScale; +static const vector_float3* s_PointCloud; +static NSUInteger s_PointCloudSize; + +static float unityCameraNearZ; +static float unityCameraFarZ; + +static inline ARWorldAlignment GetARWorldAlignmentFromUnityARAlignment(UnityARAlignment& unityAlignment) +{ + switch (unityAlignment) + { + case UnityARAlignmentGravity: + return ARWorldAlignmentGravity; + case UnityARAlignmentGravityAndHeading: + return ARWorldAlignmentGravityAndHeading; + case UnityARAlignmentCamera: + return ARWorldAlignmentCamera; + } +} + +static inline ARPlaneDetection GetARPlaneDetectionFromUnityARPlaneDetection(UnityARPlaneDetection planeDetection) +{ + ARPlaneDetection ret = ARPlaneDetectionNone; + if ((planeDetection & UnityARPlaneDetectionNone) != 0) + ret |= ARPlaneDetectionNone; + if ((planeDetection & UnityARPlaneDetectionHorizontal) != 0) + ret |= ARPlaneDetectionHorizontal; + return ret; +} + +static inline UnityARTrackingState GetUnityARTrackingStateFromARTrackingState(ARTrackingState trackingState) +{ + switch (trackingState) { + case ARTrackingStateNormal: + return UnityARTrackingStateNormal; + case ARTrackingStateLimited: + return UnityARTrackingStateLimited; + case ARTrackingStateNotAvailable: + return UnityARTrackingStateNotAvailable; + default: + [NSException raise:@"UnrecognizedARTrackingState" format:@"Unrecognized ARTrackingState: %ld", (long)trackingState]; + break; + } +} + +static inline UnityARTrackingReason GetUnityARTrackingReasonFromARTrackingReason(ARTrackingStateReason trackingReason) +{ + switch (trackingReason) + { + case ARTrackingStateReasonNone: + return UnityARTrackingStateReasonNone; + case ARTrackingStateReasonInitializing: + return UnityARTrackingStateReasonInitializing; + case ARTrackingStateReasonExcessiveMotion: + return UnityARTrackingStateReasonExcessiveMotion; + case ARTrackingStateReasonInsufficientFeatures: + return UnityARTrackingStateReasonInsufficientFeatures; + default: + [NSException raise:@"UnrecognizedARTrackingStateReason" format:@"Unrecognized ARTrackingStateReason: %ld", (long)trackingReason]; + break; + } +} + +inline ARSessionRunOptions GetARSessionRunOptionsFromUnityARSessionRunOptions(UnityARSessionRunOptions runOptions) +{ + ARSessionRunOptions ret = 0; + if ((runOptions & UnityARSessionRunOptionResetTracking) != 0) + ret |= ARSessionRunOptionResetTracking; + if ((runOptions & UnityARSessionRunOptionRemoveExistingAnchors) != 0) + ret |= ARSessionRunOptionRemoveExistingAnchors; + return ret; +} + +inline void GetARSessionConfigurationFromARKitWorldTrackingSessionConfiguration(ARKitWorldTrackingSessionConfiguration& unityConfig, ARWorldTrackingConfiguration* appleConfig) +{ + appleConfig.planeDetection = GetARPlaneDetectionFromUnityARPlaneDetection(unityConfig.planeDetection); + appleConfig.worldAlignment = GetARWorldAlignmentFromUnityARAlignment(unityConfig.alignment); + appleConfig.lightEstimationEnabled = (BOOL)unityConfig.enableLightEstimation; +} + +inline void GetARSessionConfigurationFromARKitSessionConfiguration(ARKitSessionConfiguration& unityConfig, ARConfiguration* appleConfig) +{ + appleConfig.worldAlignment = GetARWorldAlignmentFromUnityARAlignment(unityConfig.alignment); + appleConfig.lightEstimationEnabled = (BOOL)unityConfig.enableLightEstimation; +} + +inline void ARKitMatrixToUnityARMatrix4x4(const matrix_float4x4& matrixIn, UnityARMatrix4x4* matrixOut) +{ + vector_float4 c0 = matrixIn.columns[0]; + matrixOut->column0.x = c0.x; + matrixOut->column0.y = c0.y; + matrixOut->column0.z = c0.z; + matrixOut->column0.w = c0.w; + + vector_float4 c1 = matrixIn.columns[1]; + matrixOut->column1.x = c1.x; + matrixOut->column1.y = c1.y; + matrixOut->column1.z = c1.z; + matrixOut->column1.w = c1.w; + + vector_float4 c2 = matrixIn.columns[2]; + matrixOut->column2.x = c2.x; + matrixOut->column2.y = c2.y; + matrixOut->column2.z = c2.z; + matrixOut->column2.w = c2.w; + + vector_float4 c3 = matrixIn.columns[3]; + matrixOut->column3.x = c3.x; + matrixOut->column3.y = c3.y; + matrixOut->column3.z = c3.z; + matrixOut->column3.w = c3.w; +} + + +static inline void GetUnityARCameraDataFromCamera(UnityARCamera& unityARCamera, ARCamera* camera, BOOL getPointCloudData) +{ + CGSize nativeSize = GetAppController().rootView.bounds.size; + matrix_float4x4 projectionMatrix = [camera projectionMatrixForOrientation:[[UIApplication sharedApplication] statusBarOrientation] viewportSize:nativeSize zNear:(CGFloat)unityCameraNearZ zFar:(CGFloat)unityCameraFarZ]; + + ARKitMatrixToUnityARMatrix4x4(projectionMatrix, &s_CameraProjectionMatrix); + ARKitMatrixToUnityARMatrix4x4(projectionMatrix, &unityARCamera.projectionMatrix); + + unityARCamera.trackingState = GetUnityARTrackingStateFromARTrackingState(camera.trackingState); + unityARCamera.trackingReason = GetUnityARTrackingReasonFromARTrackingReason(camera.trackingStateReason); + unityARCamera.getPointCloudData = getPointCloudData; +} + +inline void UnityARAnchorDataFromARAnchorPtr(UnityARAnchorData& anchorData, ARPlaneAnchor* nativeAnchor) +{ + anchorData.identifier = (void*)[nativeAnchor.identifier.UUIDString UTF8String]; + ARKitMatrixToUnityARMatrix4x4(nativeAnchor.transform, &anchorData.transform); + anchorData.alignment = nativeAnchor.alignment; + anchorData.center.x = nativeAnchor.center.x; + anchorData.center.y = nativeAnchor.center.y; + anchorData.center.z = nativeAnchor.center.z; + anchorData.extent.x = nativeAnchor.extent.x; + anchorData.extent.y = nativeAnchor.extent.y; + anchorData.extent.z = nativeAnchor.extent.z; +} + +inline void UnityARMatrix4x4FromCGAffineTransform(UnityARMatrix4x4& outMatrix, CGAffineTransform displayTransform, BOOL isLandscape) +{ + if (isLandscape) + { + outMatrix.column0.x = displayTransform.a; + outMatrix.column0.y = displayTransform.c; + outMatrix.column0.z = displayTransform.tx; + outMatrix.column1.x = displayTransform.b; + outMatrix.column1.y = -displayTransform.d; + outMatrix.column1.z = 1.0f - displayTransform.ty; + outMatrix.column2.z = 1.0f; + outMatrix.column3.w = 1.0f; + } + else + { + outMatrix.column0.x = displayTransform.a; + outMatrix.column0.y = -displayTransform.c; + outMatrix.column0.z = -displayTransform.tx; + outMatrix.column1.x = displayTransform.b; + outMatrix.column1.y = displayTransform.d; + outMatrix.column1.z = displayTransform.ty; + outMatrix.column2.z = 1.0f; + outMatrix.column3.w = 1.0f; + } +} + +inline void UnityARUserAnchorDataFromARAnchorPtr(UnityARUserAnchorData& anchorData, ARAnchor* nativeAnchor) +{ + anchorData.identifier = (void*)[nativeAnchor.identifier.UUIDString UTF8String]; + ARKitMatrixToUnityARMatrix4x4(nativeAnchor.transform, &anchorData.transform); +} + + +@protocol UnityARAnchorEventDispatcher +@required + -(void)sendAnchorAddedEvent:(ARAnchor*)anchor; + -(void)sendAnchorRemovedEvent:(ARAnchor*)anchor; + -(void)sendAnchorUpdatedEvent:(ARAnchor*)anchor; +@end + +@interface UnityARAnchorCallbackWrapper : NSObject +{ +@public + UNITY_AR_ANCHOR_CALLBACK _anchorAddedCallback; + UNITY_AR_ANCHOR_CALLBACK _anchorUpdatedCallback; + UNITY_AR_ANCHOR_CALLBACK _anchorRemovedCallback; +} +@end + +@implementation UnityARAnchorCallbackWrapper + + -(void)sendAnchorAddedEvent:(ARAnchor*)anchor + { + UnityARAnchorData data; + UnityARAnchorDataFromARAnchorPtr(data, (ARPlaneAnchor*)anchor); + _anchorAddedCallback(data); + } + + -(void)sendAnchorRemovedEvent:(ARAnchor*)anchor + { + UnityARAnchorData data; + UnityARAnchorDataFromARAnchorPtr(data, (ARPlaneAnchor*)anchor); + _anchorRemovedCallback(data); + } + + -(void)sendAnchorUpdatedEvent:(ARAnchor*)anchor + { + UnityARAnchorData data; + UnityARAnchorDataFromARAnchorPtr(data, (ARPlaneAnchor*)anchor); + _anchorUpdatedCallback(data); + } + +@end + +@interface UnityARUserAnchorCallbackWrapper : NSObject +{ +@public + UNITY_AR_USER_ANCHOR_CALLBACK _anchorAddedCallback; + UNITY_AR_USER_ANCHOR_CALLBACK _anchorUpdatedCallback; + UNITY_AR_USER_ANCHOR_CALLBACK _anchorRemovedCallback; +} +@end + +@implementation UnityARUserAnchorCallbackWrapper + + -(void)sendAnchorAddedEvent:(ARAnchor*)anchor + { + UnityARUserAnchorData data; + UnityARUserAnchorDataFromARAnchorPtr(data, anchor); + _anchorAddedCallback(data); + } + + -(void)sendAnchorRemovedEvent:(ARAnchor*)anchor + { + UnityARUserAnchorData data; + UnityARUserAnchorDataFromARAnchorPtr(data, anchor); + _anchorRemovedCallback(data); + } + + -(void)sendAnchorUpdatedEvent:(ARAnchor*)anchor + { + UnityARUserAnchorData data; + UnityARUserAnchorDataFromARAnchorPtr(data, anchor); + _anchorUpdatedCallback(data); + } + +@end +static UnityPixelBuffer s_UnityPixelBuffers; + +@interface UnityARSession : NSObject +{ +@public + ARSession* _session; + UNITY_AR_FRAME_CALLBACK _frameCallback; + UNITY_AR_SESSION_FAILED_CALLBACK _arSessionFailedCallback; + UNITY_AR_SESSION_VOID_CALLBACK _arSessionInterrupted; + UNITY_AR_SESSION_VOID_CALLBACK _arSessionInterruptionEnded; + UNITY_AR_SESSION_TRACKING_CHANGED _arSessionTrackingChanged; + + NSMutableDictionary* _classToCallbackMap; + + id _device; + CVMetalTextureCacheRef _textureCache; + BOOL _getPointCloudData; +} +@end + +@implementation UnityARSession + +- (id)init +{ + if (self = [super init]) + { + _classToCallbackMap = [[NSMutableDictionary alloc] init]; + } + return self; +} + +- (void)setupMetal +{ + _device = MTLCreateSystemDefaultDevice(); + CVMetalTextureCacheCreate(NULL, NULL, _device, NULL, &_textureCache); +} + +- (void)teardownMetal +{ + if (_textureCache) { + CFRelease(_textureCache); + } +} + +static CGAffineTransform s_CurAffineTransform; + +- (void)session:(ARSession *)session didUpdateFrame:(ARFrame *)frame +{ + s_AmbientIntensity = frame.lightEstimate.ambientIntensity; + s_TrackingQuality = (int)frame.camera.trackingState; + s_PointCloud = frame.rawFeaturePoints.points; + s_PointCloudSize = frame.rawFeaturePoints.count; + + UIInterfaceOrientation orient = [[UIApplication sharedApplication] statusBarOrientation]; + + CGRect nativeBounds = [[UIScreen mainScreen] nativeBounds]; + CGSize nativeSize = GetAppController().rootView.bounds.size; + UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; + s_CurAffineTransform = CGAffineTransformInvert([frame displayTransformForOrientation:orientation viewportSize:nativeSize]); + + UnityARCamera unityARCamera; + + GetUnityARCameraDataFromCamera(unityARCamera, frame.camera, _getPointCloudData); + + + CVPixelBufferRef pixelBuffer = frame.capturedImage; + + size_t imageWidth = CVPixelBufferGetWidth(pixelBuffer); + size_t imageHeight = CVPixelBufferGetHeight(pixelBuffer); + + float imageAspect = (float)imageWidth / (float)imageHeight; + float screenAspect = nativeBounds.size.height / nativeBounds.size.width; + unityARCamera.videoParams.texCoordScale = screenAspect / imageAspect; + s_ShaderScale = screenAspect / imageAspect; + + unityARCamera.lightEstimation.ambientIntensity = frame.lightEstimate.ambientIntensity; + unityARCamera.lightEstimation.ambientColorTemperature = frame.lightEstimate.ambientColorTemperature; + + unityARCamera.videoParams.yWidth = (uint32_t)imageWidth; + unityARCamera.videoParams.yHeight = (uint32_t)imageHeight; + unityARCamera.videoParams.cvPixelBufferPtr = (void *) pixelBuffer; + UnityARMatrix4x4 displayTransform; + memset(&displayTransform, 0, sizeof(UnityARMatrix4x4)); + UnityARMatrix4x4FromCGAffineTransform(displayTransform, s_CurAffineTransform, UIInterfaceOrientationIsLandscape(orientation)); + unityARCamera.displayTransform = displayTransform; + + if (_frameCallback != NULL) + { + + matrix_float4x4 rotatedMatrix = matrix_identity_float4x4; + unityARCamera.videoParams.screenOrientation = 3; + + // rotation matrix + // [ cos -sin] + // [ sin cos] + switch (orient) { + case UIInterfaceOrientationPortrait: + rotatedMatrix.columns[0][0] = 0; + rotatedMatrix.columns[0][1] = 1; + rotatedMatrix.columns[1][0] = -1; + rotatedMatrix.columns[1][1] = 0; + unityARCamera.videoParams.screenOrientation = 1; + break; + case UIInterfaceOrientationLandscapeLeft: + rotatedMatrix.columns[0][0] = -1; + rotatedMatrix.columns[0][1] = 0; + rotatedMatrix.columns[1][0] = 0; + rotatedMatrix.columns[1][1] = -1; + unityARCamera.videoParams.screenOrientation = 4; + break; + case UIInterfaceOrientationPortraitUpsideDown: + rotatedMatrix.columns[0][0] = 0; + rotatedMatrix.columns[0][1] = -1; + rotatedMatrix.columns[1][0] = 1; + rotatedMatrix.columns[1][1] = 0; + unityARCamera.videoParams.screenOrientation = 2; + break; + default: + break; + } + + matrix_float4x4 matrix = matrix_multiply(frame.camera.transform, rotatedMatrix); + + ARKitMatrixToUnityARMatrix4x4(matrix, &unityARCamera.worldTransform); + + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ + _frameCallback(unityARCamera); + }); + } + + + if (CVPixelBufferGetPlaneCount(pixelBuffer) < 2 || CVPixelBufferGetPixelFormatType(pixelBuffer) != kCVPixelFormatType_420YpCbCr8BiPlanarFullRange) { + return; + } + + if (s_UnityPixelBuffers.bEnable) + { + + CVPixelBufferLockBaseAddress(pixelBuffer, kCVPixelBufferLock_ReadOnly); + + if (s_UnityPixelBuffers.pYPixelBytes) + { + unsigned long numBytes = CVPixelBufferGetBytesPerRowOfPlane(pixelBuffer, 0) * CVPixelBufferGetHeightOfPlane(pixelBuffer,0); + void* baseAddress = CVPixelBufferGetBaseAddressOfPlane(pixelBuffer,0); + memcpy(s_UnityPixelBuffers.pYPixelBytes, baseAddress, numBytes); + } + if (s_UnityPixelBuffers.pUVPixelBytes) + { + unsigned long numBytes = CVPixelBufferGetBytesPerRowOfPlane(pixelBuffer, 1) * CVPixelBufferGetHeightOfPlane(pixelBuffer,1); + void* baseAddress = CVPixelBufferGetBaseAddressOfPlane(pixelBuffer,1); + memcpy(s_UnityPixelBuffers.pUVPixelBytes, baseAddress, numBytes); + } + + CVPixelBufferUnlockBaseAddress(pixelBuffer, 0); + } + + id textureY = nil; + id textureCbCr = nil; + + // textureY + { + const size_t width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 0); + const size_t height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 0); + MTLPixelFormat pixelFormat = MTLPixelFormatR8Unorm; + + + CVMetalTextureRef texture = NULL; + CVReturn status = CVMetalTextureCacheCreateTextureFromImage(NULL, _textureCache, pixelBuffer, NULL, pixelFormat, width, height, 0, &texture); + if(status == kCVReturnSuccess) + { + textureY = CVMetalTextureGetTexture(texture); + CFRelease(texture); + } + } + + // textureCbCr + { + const size_t width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 1); + const size_t height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 1); + MTLPixelFormat pixelFormat = MTLPixelFormatRG8Unorm; + + CVMetalTextureRef texture = NULL; + CVReturn status = CVMetalTextureCacheCreateTextureFromImage(NULL, _textureCache, pixelBuffer, NULL, pixelFormat, width, height, 1, &texture); + if(status == kCVReturnSuccess) + { + textureCbCr = CVMetalTextureGetTexture(texture); + CFRelease(texture); + } + } + + if (textureY != nil && textureCbCr != nil) { + dispatch_async(dispatch_get_main_queue(), ^{ + // always assign the textures atomic + s_CapturedImageTextureY = textureY; + s_CapturedImageTextureCbCr = textureCbCr; + }); + } +} + +- (void)session:(ARSession *)session didFailWithError:(NSError *)error +{ + if (_arSessionFailedCallback != NULL) + { + _arSessionFailedCallback(static_cast([[error localizedDescription] UTF8String])); + } +} + +- (void)session:(ARSession *)session didAddAnchors:(NSArray*)anchors +{ + [self sendAnchorAddedEventToUnity:anchors]; +} + +- (void)session:(ARSession *)session didUpdateAnchors:(NSArray*)anchors +{ + [self sendAnchorUpdatedEventToUnity:anchors]; +} + +- (void)session:(ARSession *)session didRemoveAnchors:(NSArray*)anchors +{ + [self sendAnchorRemovedEventToUnity:anchors]; +} + +- (void) sendAnchorAddedEventToUnity:(NSArray*)anchors +{ + for (ARAnchor* anchorPtr in anchors) + { + id dispatcher = [_classToCallbackMap objectForKey:[anchorPtr class]]; + [dispatcher sendAnchorAddedEvent:anchorPtr]; + } +} + +- (void)session:(ARSession *)session cameraDidChangeTrackingState:(ARCamera *)camera +{ + if (_arSessionTrackingChanged != NULL) + { + UnityARCamera unityCamera; + GetUnityARCameraDataFromCamera(unityCamera, camera, _getPointCloudData); + _arSessionTrackingChanged(unityCamera); + } +} + +- (void)sessionWasInterrupted:(ARSession *)session +{ + if (_arSessionInterrupted != NULL) + { + _arSessionInterrupted(); + + } +} + +- (void)sessionInterruptionEnded:(ARSession *)session +{ + if (_arSessionInterruptionEnded != NULL) + { + _arSessionInterruptionEnded(); + } +} + +- (void) sendAnchorRemovedEventToUnity:(NSArray*)anchors +{ + for (ARAnchor* anchorPtr in anchors) + { + id dispatcher = [_classToCallbackMap objectForKey:[anchorPtr class]]; + [dispatcher sendAnchorRemovedEvent:anchorPtr]; + } +} + +- (void) sendAnchorUpdatedEventToUnity:(NSArray*)anchors +{ + for (ARAnchor* anchorPtr in anchors) + { + id dispatcher = [_classToCallbackMap objectForKey:[anchorPtr class]]; + [dispatcher sendAnchorUpdatedEvent:anchorPtr]; + } +} + +@end + +/// Create the native mirror to the C# ARSession object + +extern "C" void* unity_CreateNativeARSession() +{ + UnityARSession *nativeSession = [[UnityARSession alloc] init]; + nativeSession->_session = [ARSession new]; + nativeSession->_session.delegate = nativeSession; + unityCameraNearZ = .01; + unityCameraFarZ = 30; + s_UnityPixelBuffers.bEnable = false; + return (__bridge_retained void*)nativeSession; +} + +extern "C" void session_SetSessionCallbacks(const void* session, UNITY_AR_FRAME_CALLBACK frameCallback, + UNITY_AR_SESSION_FAILED_CALLBACK sessionFailed, + UNITY_AR_SESSION_VOID_CALLBACK sessionInterrupted, + UNITY_AR_SESSION_VOID_CALLBACK sessionInterruptionEnded, + UNITY_AR_SESSION_TRACKING_CHANGED trackingChanged) +{ + UnityARSession* nativeSession = (__bridge UnityARSession*)session; + nativeSession->_frameCallback = frameCallback; + nativeSession->_arSessionFailedCallback = sessionFailed; + nativeSession->_arSessionInterrupted = sessionInterrupted; + nativeSession->_arSessionInterruptionEnded = sessionInterruptionEnded; + nativeSession->_arSessionTrackingChanged = trackingChanged; +} + +extern "C" void session_SetPlaneAnchorCallbacks(const void* session, UNITY_AR_ANCHOR_CALLBACK anchorAddedCallback, + UNITY_AR_ANCHOR_CALLBACK anchorUpdatedCallback, + UNITY_AR_ANCHOR_CALLBACK anchorRemovedCallback) +{ + UnityARSession* nativeSession = (__bridge UnityARSession*)session; + UnityARAnchorCallbackWrapper* anchorCallbacks = [[UnityARAnchorCallbackWrapper alloc] init]; + anchorCallbacks->_anchorAddedCallback = anchorAddedCallback; + anchorCallbacks->_anchorUpdatedCallback = anchorUpdatedCallback; + anchorCallbacks->_anchorRemovedCallback = anchorRemovedCallback; + [nativeSession->_classToCallbackMap setObject:anchorCallbacks forKey:[ARPlaneAnchor class]]; +} + +extern "C" void session_SetUserAnchorCallbacks(const void* session, UNITY_AR_USER_ANCHOR_CALLBACK userAnchorAddedCallback, + UNITY_AR_USER_ANCHOR_CALLBACK userAnchorUpdatedCallback, + UNITY_AR_USER_ANCHOR_CALLBACK userAnchorRemovedCallback) +{ + UnityARSession* nativeSession = (__bridge UnityARSession*)session; + UnityARUserAnchorCallbackWrapper* userAnchorCallbacks = [[UnityARUserAnchorCallbackWrapper alloc] init]; + userAnchorCallbacks->_anchorAddedCallback = userAnchorAddedCallback; + userAnchorCallbacks->_anchorUpdatedCallback = userAnchorUpdatedCallback; + userAnchorCallbacks->_anchorRemovedCallback = userAnchorRemovedCallback; + [nativeSession->_classToCallbackMap setObject:userAnchorCallbacks forKey:[ARAnchor class]]; +} + +extern "C" void StartWorldTrackingSessionWithOptions(void* nativeSession, ARKitWorldTrackingSessionConfiguration unityConfig, UnityARSessionRunOptions runOptions) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + ARWorldTrackingConfiguration* config = [ARWorldTrackingConfiguration new]; + ARSessionRunOptions runOpts = GetARSessionRunOptionsFromUnityARSessionRunOptions(runOptions); + GetARSessionConfigurationFromARKitWorldTrackingSessionConfiguration(unityConfig, config); + session->_getPointCloudData = (BOOL) unityConfig.getPointCloudData; + [session->_session runWithConfiguration:config options:runOpts ]; + [session setupMetal]; +} + + + +extern "C" void StartWorldTrackingSession(void* nativeSession, ARKitWorldTrackingSessionConfiguration unityConfig) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + ARWorldTrackingConfiguration* config = [ARWorldTrackingConfiguration new]; + GetARSessionConfigurationFromARKitWorldTrackingSessionConfiguration(unityConfig, config); + session->_getPointCloudData = (BOOL) unityConfig.getPointCloudData; + [session->_session runWithConfiguration:config]; + [session setupMetal]; +} + +extern "C" void StartSessionWithOptions(void* nativeSession, ARKitSessionConfiguration unityConfig, UnityARSessionRunOptions runOptions) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + ARConfiguration* config = [AROrientationTrackingConfiguration new]; + ARSessionRunOptions runOpts = GetARSessionRunOptionsFromUnityARSessionRunOptions(runOptions); + GetARSessionConfigurationFromARKitSessionConfiguration(unityConfig, config); + session->_getPointCloudData = (BOOL) unityConfig.getPointCloudData; + [session->_session runWithConfiguration:config options:runOpts ]; + [session setupMetal]; +} + + + +extern "C" void StartSession(void* nativeSession, ARKitSessionConfiguration unityConfig) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + ARConfiguration* config = [AROrientationTrackingConfiguration new]; + GetARSessionConfigurationFromARKitSessionConfiguration(unityConfig, config); + session->_getPointCloudData = (BOOL) unityConfig.getPointCloudData; + [session->_session runWithConfiguration:config]; + [session setupMetal]; +} + +extern "C" void PauseSession(void* nativeSession) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + [session->_session pause]; +} + +extern "C" void StopSession(void* nativeSession) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + [session teardownMetal]; +} + +extern "C" UnityARUserAnchorData SessionAddUserAnchor(void* nativeSession, UnityARUserAnchorData anchorData) +{ + // create a native ARAnchor and add it to the session + // then return the data back to the user that they will + // need in case they want to remove it + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + ARAnchor *newAnchor = [[ARAnchor alloc] initWithTransform:matrix_identity_float4x4]; + + [session->_session addAnchor:newAnchor]; + UnityARUserAnchorData returnAnchorData; + UnityARUserAnchorDataFromARAnchorPtr(returnAnchorData, newAnchor); + return returnAnchorData; +} + +extern "C" void SessionRemoveUserAnchor(void* nativeSession, const char * anchorIdentifier) +{ + // go through anchors and find the right one + // then remove it from the session + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + for (ARAnchor* a in session->_session.currentFrame.anchors) + { + if ([[a.identifier UUIDString] isEqualToString:[NSString stringWithUTF8String:anchorIdentifier]]) + { + [session->_session removeAnchor:a]; + return; + } + } +} + +extern "C" void SetCameraNearFar (float nearZ, float farZ) +{ + unityCameraNearZ = nearZ; + unityCameraFarZ = farZ; +} + +extern "C" void CapturePixelData (uint32_t enable, void* pYPixelBytes, void *pUVPixelBytes) +{ + s_UnityPixelBuffers.bEnable = (BOOL) enable; + if (s_UnityPixelBuffers.bEnable) + { + s_UnityPixelBuffers.pYPixelBytes = pYPixelBytes; + s_UnityPixelBuffers.pUVPixelBytes = pUVPixelBytes; + } else { + s_UnityPixelBuffers.pYPixelBytes = NULL; + s_UnityPixelBuffers.pUVPixelBytes = NULL; + } +} + +extern "C" struct HitTestResult +{ + void* ptr; + int count; +}; + +// Must match ARHitTestResult in ARHitTestResult.cs +extern "C" struct UnityARHitTestResult +{ + ARHitTestResultType type; + double distance; + UnityARMatrix4x4 localTransform; + UnityARMatrix4x4 worldTransform; + void* anchorPtr; + bool isValid; +}; + +// Must match ARTextureHandles in UnityARSession.cs +extern "C" struct UnityARTextureHandles +{ + void* textureY; + void* textureCbCr; +}; + +// Cache results locally +static NSArray* s_LastHitTestResults; + +// Returns the number of hits and caches the results internally +extern "C" int HitTest(void* nativeSession, CGPoint point, ARHitTestResultType types) +{ + UnityARSession* session = (__bridge UnityARSession*)nativeSession; + point = CGPointApplyAffineTransform(CGPointMake(point.x, 1.0f - point.y), CGAffineTransformInvert(CGAffineTransformInvert(s_CurAffineTransform))); + s_LastHitTestResults = [session->_session.currentFrame hitTest:point types:types]; + + return (int)[s_LastHitTestResults count]; +} +extern "C" UnityARHitTestResult GetLastHitTestResult(int index) +{ + UnityARHitTestResult unityResult; + memset(&unityResult, 0, sizeof(UnityARHitTestResult)); + + if (s_LastHitTestResults != nil && index >= 0 && index < [s_LastHitTestResults count]) + { + ARHitTestResult* hitResult = s_LastHitTestResults[index]; + unityResult.type = hitResult.type; + unityResult.distance = hitResult.distance; + ARKitMatrixToUnityARMatrix4x4(hitResult.localTransform, &unityResult.localTransform); + ARKitMatrixToUnityARMatrix4x4(hitResult.worldTransform, &unityResult.worldTransform); + unityResult.anchorPtr = (void*)[hitResult.anchor.identifier.UUIDString UTF8String]; + unityResult.isValid = true; + } + + return unityResult; +} + +extern "C" UnityARTextureHandles GetVideoTextureHandles() +{ + UnityARTextureHandles handles; + handles.textureY = (__bridge_retained void*)s_CapturedImageTextureY; + handles.textureCbCr = (__bridge_retained void*)s_CapturedImageTextureCbCr; + + return handles; +} + +extern "C" bool GetARPointCloud(float** verts, unsigned int* vertLength) +{ + *verts = (float*)s_PointCloud; + *vertLength = (unsigned int)s_PointCloudSize * 4; + return YES; +} + +extern "C" UnityARMatrix4x4 GetCameraProjectionMatrix() +{ + return s_CameraProjectionMatrix; +} + +extern "C" float GetAmbientIntensity() +{ + return s_AmbientIntensity; +} + +extern "C" int GetTrackingQuality() +{ + return s_TrackingQuality; +} + +extern "C" bool IsARKitWorldTrackingSessionConfigurationSupported() +{ + return ARWorldTrackingConfiguration.isSupported; +} + +extern "C" bool IsARKitSessionConfigurationSupported() +{ + return AROrientationTrackingConfiguration.isSupported; +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta new file mode 100644 index 00000000000..904de48093d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta @@ -0,0 +1,33 @@ +fileFormatVersion: 2 +guid: 9ecd21425b31a46ef9abc90a0516e9a1 +timeCreated: 1492108287 +licenseType: Store +PluginImporter: + serializedVersion: 2 + iconMap: {} + executionOrder: {} + isPreloaded: 0 + isOverridable: 0 + platformData: + data: + first: + Any: + second: + enabled: 0 + settings: {} + data: + first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + data: + first: + iPhone: iOS + second: + enabled: 1 + settings: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs new file mode 100644 index 00000000000..e94885b9fa5 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs @@ -0,0 +1,12 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARSize + { + public double width; + public double height; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta new file mode 100644 index 00000000000..5c784fcf648 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: c72e6d3d39c0b495ba3d40c3cbd3a8ca +timeCreated: 1492114222 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs new file mode 100644 index 00000000000..5cdabdc9642 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs @@ -0,0 +1,13 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARTextureHandles + { + // Native (Metal) texture handles for the device camera buffer + public IntPtr textureY; + public IntPtr textureCbCr; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta new file mode 100644 index 00000000000..2bf46673819 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 223ca11cf486046fe9c3740ee69b7a27 +timeCreated: 1493064086 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs new file mode 100644 index 00000000000..ca64eaaedf4 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs @@ -0,0 +1,22 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public enum ARTrackingQuality : long + { + /** The tracking quality is not available. */ + ARTrackingQualityNotAvailable, + + /** The tracking quality is limited, relying only on the device's motion. */ + ARTrackingQualityLimited, + + /** The tracking quality is poor. */ + ARTrackingQualityPoor, + + /** The tracking quality is good. */ + ARTrackingQualityGood + + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta new file mode 100644 index 00000000000..38e456901ca --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 70419166c9be04782bc37a66aa7ead0a +timeCreated: 1492114222 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs new file mode 100644 index 00000000000..29beca99649 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs @@ -0,0 +1,18 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public enum ARTrackingState + { + /** Tracking is not available. */ + ARTrackingStateNotAvailable, + + /** Tracking is limited. See tracking reason for details. */ + ARTrackingStateLimited, + + /** Tracking is Normal. */ + ARTrackingStateNormal, + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta new file mode 100644 index 00000000000..552ab195239 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 3c8e21e94c4944a7eb5202db41d4bce0 +timeCreated: 1493767524 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs new file mode 100644 index 00000000000..1a9a683be6c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs @@ -0,0 +1,21 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public enum ARTrackingStateReason + { + /** Tracking is not limited. */ + ARTrackingStateReasonNone, + + /** Tracking is limited due to initialization in progress. */ + ARTrackingStateReasonInitializing, + + /** Tracking is limited due to a excessive motion of the camera. */ + ARTrackingStateReasonExcessiveMotion, + + /** Tracking is limited due to a lack of features visible to the camera. */ + ARTrackingStateReasonInsufficientFeatures, + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta new file mode 100644 index 00000000000..f2766e408ec --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: b76c532f89f25411ca5c1d82cd7a5367 +timeCreated: 1493767524 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs new file mode 100644 index 00000000000..16ced849761 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs @@ -0,0 +1,17 @@ +#if UNITY_IOS || UNITY_EDITOR +using System; + +namespace UnityEngine.XR.iOS +{ + public struct ARUserAnchor + { + + public string identifier; + + /** + The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. + */ + public Matrix4x4 transform; + } +} +#endif diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs.meta new file mode 100644 index 00000000000..bce9ac15052 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: e8271a80f6d6245a4bf920bbe514bbc0 +timeCreated: 1500325731 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs new file mode 100644 index 00000000000..ebc71f728a1 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs @@ -0,0 +1,799 @@ +#if UNITY_IOS || UNITY_EDITOR +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using System; +using System.Runtime.InteropServices; +using AOT; + +namespace UnityEngine.XR.iOS { + + /// + /// A struct that allows us go from native Matrix4x4 to managed + /// + public struct UnityARMatrix4x4 + { + public Vector4 column0; + public Vector4 column1; + public Vector4 column2; + public Vector4 column3; + + public UnityARMatrix4x4(Vector4 c0, Vector4 c1, Vector4 c2, Vector4 c3) + { + column0 = c0; column1 = c1; column2 = c2; column3 = c3; + } + }; + + [Serializable] + public struct UnityVideoParams + { + public int yWidth; + public int yHeight; + public int screenOrientation; + public float texCoordScale; + public IntPtr cvPixelBufferPtr; + }; + + [Serializable] + public struct UnityARLightEstimate + { + public float ambientIntensity; + public float ambientColorTemperature; + }; + + struct internal_UnityARCamera + { + public UnityARMatrix4x4 worldTransform; + public UnityARMatrix4x4 projectionMatrix; + public ARTrackingState trackingState; + public ARTrackingStateReason trackingReason; + public UnityVideoParams videoParams; + public UnityARLightEstimate lightEstimation; + public UnityARMatrix4x4 displayTransform; + public uint getPointCloudData; + }; + + public struct UnityARCamera + { + public UnityARMatrix4x4 worldTransform; + public UnityARMatrix4x4 projectionMatrix; + public ARTrackingState trackingState; + public ARTrackingStateReason trackingReason; + public UnityVideoParams videoParams; + public UnityARLightEstimate lightEstimation; + public UnityARMatrix4x4 displayTransform; + public Vector3[] pointCloudData; + + public UnityARCamera(UnityARMatrix4x4 wt, UnityARMatrix4x4 pm, ARTrackingState ats, ARTrackingStateReason atsr, UnityVideoParams uvp, UnityARLightEstimate lightEst, UnityARMatrix4x4 dt, Vector3[] pointCloud) + { + worldTransform = wt; + projectionMatrix = pm; + trackingState = ats; + trackingReason = atsr; + videoParams = uvp; + lightEstimation = lightEst; + displayTransform = dt; + pointCloudData = pointCloud; + } + }; + + + public struct UnityARAnchorData + { + public IntPtr ptrIdentifier; + + /** + The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. + */ + public UnityARMatrix4x4 transform; + + /** + The alignment of the plane. + */ + + public ARPlaneAnchorAlignment alignment; + + /** + The center of the plane in the anchor’s coordinate space. + */ + + public Vector4 center; + + /** + The extent of the plane in the anchor’s coordinate space. + */ + public Vector4 extent; + + public string identifierStr + { + get + { + #if PLATFORM_IOS + return Marshal.PtrToStringAuto(this.ptrIdentifier); + #else + return null; + #endif + } + } + + public static UnityARAnchorData UnityARAnchorDataFromGameObject(GameObject go) { + // create an anchor data struct from a game object transform + Matrix4x4 matrix = Matrix4x4.TRS(go.transform.position, go.transform.rotation, go.transform.localScale); + UnityARAnchorData ad = new UnityARAnchorData(); + ad.transform.column0 = matrix.GetColumn(0); + ad.transform.column1 = matrix.GetColumn(1); + ad.transform.column2 = matrix.GetColumn(2); + ad.transform.column3 = matrix.GetColumn(3); + return ad; + } + }; + + public struct UnityARUserAnchorData + { + + public IntPtr ptrIdentifier; + + /** + The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. + */ + public UnityARMatrix4x4 transform; + + public string identifierStr + { + get + { + #if PLATOFORM_IOS + return Marshal.PtrToStringAuto(this.ptrIdentifier); + #else + return null; + #endif + } + } + + public static UnityARUserAnchorData UnityARUserAnchorDataFromGameObject(GameObject go) { + // create an anchor data struct from a game object transform + Matrix4x4 matrix = Matrix4x4.TRS(go.transform.position, go.transform.rotation, go.transform.localScale); + UnityARUserAnchorData ad = new UnityARUserAnchorData(); + ad.transform.column0 = matrix.GetColumn(0); + ad.transform.column1 = matrix.GetColumn(1); + ad.transform.column2 = matrix.GetColumn(2); + ad.transform.column3 = matrix.GetColumn(3); + return ad; + } + }; + + public struct UnityARHitTestResult + { + /** + The type of the hit-test result. + */ + public ARHitTestResultType type; + + /** + The distance from the camera to the intersection in meters. + */ + public double distance; + + /** + The transformation matrix that defines the intersection's rotation, translation and scale + relative to the anchor or nearest feature point. + */ + public Matrix4x4 localTransform; + + /** + The transformation matrix that defines the intersection's rotation, translation and scale + relative to the world. + */ + public Matrix4x4 worldTransform; + + /** + The anchor that the hit-test intersected. + */ + public IntPtr anchor; + + /** + True if the test represents a valid hit test. Data is undefined otherwise. + */ + public bool isValid; + + }; + + public enum UnityARAlignment + { + UnityARAlignmentGravity, + UnityARAlignmentGravityAndHeading, + UnityARAlignmentCamera + } + + public enum UnityARPlaneDetection + { + None = 0, + Horizontal = (1 << 0) + } + + public struct ARKitSessionConfiguration + { + public UnityARAlignment alignment; + public bool getPointCloudData; + public bool enableLightEstimation; + public bool IsSupported { get { return IsARKitSessionConfigurationSupported(); } private set {} } + + public ARKitSessionConfiguration(UnityARAlignment alignment = UnityARAlignment.UnityARAlignmentGravity, + bool getPointCloudData = false, + bool enableLightEstimation = false) + { + this.getPointCloudData = getPointCloudData; + this.alignment = alignment; + this.enableLightEstimation = enableLightEstimation; + } + + [DllImport("__Internal")] + private static extern bool IsARKitSessionConfigurationSupported(); + } + + + + public struct ARKitWorldTrackingSessionConfiguration + { + public UnityARAlignment alignment; + public UnityARPlaneDetection planeDetection; + public bool getPointCloudData; + public bool enableLightEstimation; + public bool IsSupported { get { return IsARKitWorldTrackingSessionConfigurationSupported(); } private set {} } + + public ARKitWorldTrackingSessionConfiguration(UnityARAlignment alignment = UnityARAlignment.UnityARAlignmentGravity, + UnityARPlaneDetection planeDetection = UnityARPlaneDetection.Horizontal, + bool getPointCloudData = false, + bool enableLightEstimation = false) + { + this.getPointCloudData = getPointCloudData; + this.alignment = alignment; + this.planeDetection = planeDetection; + this.enableLightEstimation = enableLightEstimation; + + } + [DllImport("__Internal")] + private static extern bool IsARKitWorldTrackingSessionConfigurationSupported(); + } + + public enum UnityARSessionRunOption { + /** The session will reset tracking. */ + ARSessionRunOptionResetTracking = (1 << 0), + + /** The session will remove existing anchors. */ + ARSessionRunOptionRemoveExistingAnchors = (1 << 1) + } + + public class UnityARSessionNativeInterface { + +// public delegate void ARFrameUpdate(UnityARMatrix4x4 cameraPos, UnityARMatrix4x4 projection); +// public static event ARFrameUpdate ARFrameUpdatedEvent; + + // Plane Anchors + public delegate void ARFrameUpdate(UnityARCamera camera); + public static event ARFrameUpdate ARFrameUpdatedEvent; + + public delegate void ARAnchorAdded(ARPlaneAnchor anchorData); + public static event ARAnchorAdded ARAnchorAddedEvent; + + public delegate void ARAnchorUpdated(ARPlaneAnchor anchorData); + public static event ARAnchorUpdated ARAnchorUpdatedEvent; + + public delegate void ARAnchorRemoved(ARPlaneAnchor anchorData); + public static event ARAnchorRemoved ARAnchorRemovedEvent; + + // User Anchors + public delegate void ARUserAnchorAdded(ARUserAnchor anchorData); + public static event ARUserAnchorAdded ARUserAnchorAddedEvent; + + public delegate void ARUserAnchorUpdated(ARUserAnchor anchorData); + public static event ARUserAnchorUpdated ARUserAnchorUpdatedEvent; + + public delegate void ARUserAnchorRemoved(ARUserAnchor anchorData); + public static event ARUserAnchorRemoved ARUserAnchorRemovedEvent; + + public delegate void ARSessionFailed(string error); + public static event ARSessionFailed ARSessionFailedEvent; + + public delegate void ARSessionCallback(); + public static event ARSessionCallback ARSessionInterruptedEvent; + public static event ARSessionCallback ARSessioninterruptionEndedEvent; + public delegate void ARSessionTrackingChanged(UnityARCamera camera); + public static event ARSessionTrackingChanged ARSessionTrackingChangedEvent; + + delegate void internal_ARFrameUpdate(internal_UnityARCamera camera); + public delegate void internal_ARAnchorAdded(UnityARAnchorData anchorData); + public delegate void internal_ARAnchorUpdated(UnityARAnchorData anchorData); + public delegate void internal_ARAnchorRemoved(UnityARAnchorData anchorData); + public delegate void internal_ARUserAnchorAdded(UnityARUserAnchorData anchorData); + public delegate void internal_ARUserAnchorUpdated(UnityARUserAnchorData anchorData); + public delegate void internal_ARUserAnchorRemoved(UnityARUserAnchorData anchorData); + delegate void internal_ARSessionTrackingChanged(internal_UnityARCamera camera); + +#if !UNITY_EDITOR + private IntPtr m_NativeARSession; +#endif + + private static UnityARCamera s_Camera; + + [DllImport("__Internal")] + private static extern IntPtr unity_CreateNativeARSession(); + + [DllImport("__Internal")] + private static extern void session_SetSessionCallbacks(IntPtr nativeSession, internal_ARFrameUpdate frameCallback, + ARSessionFailed sessionFailed, + ARSessionCallback sessionInterrupted, + ARSessionCallback sessionInterruptionEnded, + internal_ARSessionTrackingChanged trackingChanged); + + [DllImport("__Internal")] + private static extern void session_SetPlaneAnchorCallbacks(IntPtr nativeSession, internal_ARAnchorAdded anchorAddedCallback, + internal_ARAnchorUpdated anchorUpdatedCallback, + internal_ARAnchorRemoved anchorRemovedCallback); + + [DllImport("__Internal")] + private static extern void session_SetUserAnchorCallbacks(IntPtr nativeSession, internal_ARUserAnchorAdded userAnchorAddedCallback, + internal_ARUserAnchorUpdated userAnchorUpdatedCallback, + internal_ARUserAnchorRemoved userAnchorRemovedCallback); + [DllImport("__Internal")] + private static extern void StartWorldTrackingSession(IntPtr nativeSession, ARKitWorldTrackingSessionConfiguration configuration); + + [DllImport("__Internal")] + private static extern void StartWorldTrackingSessionWithOptions(IntPtr nativeSession, ARKitWorldTrackingSessionConfiguration configuration, UnityARSessionRunOption runOptions); + + [DllImport("__Internal")] + private static extern void StartSession(IntPtr nativeSession, ARKitSessionConfiguration configuration); + + [DllImport("__Internal")] + private static extern void StartSessionWithOptions(IntPtr nativeSession, ARKitSessionConfiguration configuration, UnityARSessionRunOption runOptions); + + [DllImport("__Internal")] + private static extern void PauseSession(IntPtr nativeSession); + + [DllImport("__Internal")] + private static extern int HitTest(IntPtr nativeSession, ARPoint point, ARHitTestResultType types); + + [DllImport("__Internal")] + private static extern UnityARHitTestResult GetLastHitTestResult(int index); + + [DllImport("__Internal")] + private static extern ARTextureHandles GetVideoTextureHandles(); + + [DllImport("__Internal")] + private static extern float GetAmbientIntensity(); + + [DllImport("__Internal")] + private static extern int GetTrackingQuality(); + + [DllImport("__Internal")] + private static extern bool GetARPointCloud (ref IntPtr verts, ref uint vertLength); + + [DllImport("__Internal")] + private static extern void SetCameraNearFar (float nearZ, float farZ); + + [DllImport("__Internal")] + private static extern void CapturePixelData (int enable, IntPtr pYPixelBytes, IntPtr pUVPixelBytes); + + [DllImport("__Internal")] + private static extern UnityARUserAnchorData SessionAddUserAnchor (IntPtr nativeSession, UnityARUserAnchorData anchorData); + + [DllImport("__Internal")] + private static extern void SessionRemoveUserAnchor (IntPtr nativeSession, [MarshalAs(UnmanagedType.LPStr)] string anchorIdentifier); + + public UnityARSessionNativeInterface() + { +#if !UNITY_EDITOR + m_NativeARSession = unity_CreateNativeARSession(); + session_SetSessionCallbacks(m_NativeARSession, _frame_update, _ar_session_failed, _ar_session_interrupted, _ar_session_interruption_ended, _ar_tracking_changed); + session_SetPlaneAnchorCallbacks(m_NativeARSession, _anchor_added, _anchor_updated, _anchor_removed); + session_SetUserAnchorCallbacks(m_NativeARSession, _user_anchor_added, _user_anchor_updated, _user_anchor_removed); +#endif + } + + static UnityARSessionNativeInterface s_UnityARSessionNativeInterface = null; + + public static UnityARSessionNativeInterface GetARSessionNativeInterface() + { + if (s_UnityARSessionNativeInterface == null) { + s_UnityARSessionNativeInterface = new UnityARSessionNativeInterface (); + } + return s_UnityARSessionNativeInterface; + } + +#if UNITY_EDITOR + public static void SetStaticCamera(UnityARCamera scamera) + { + s_Camera = scamera; + } + + public static void RunFrameUpdateCallbacks() + { + if (ARFrameUpdatedEvent != null) + { + ARFrameUpdatedEvent(s_Camera); + } + } + + public static void RunAddAnchorCallbacks(ARPlaneAnchor arPlaneAnchor) + { + if (ARAnchorAddedEvent != null) + { + ARAnchorAddedEvent(arPlaneAnchor); + } + } + + public static void RunUpdateAnchorCallbacks(ARPlaneAnchor arPlaneAnchor) + { + if (ARAnchorUpdatedEvent != null) + { + ARAnchorUpdatedEvent(arPlaneAnchor); + } + } + + public static void RunRemoveAnchorCallbacks(ARPlaneAnchor arPlaneAnchor) + { + if (ARAnchorRemovedEvent != null) + { + ARAnchorRemovedEvent(arPlaneAnchor); + } + } + + +#endif + + public Matrix4x4 GetCameraPose() + { + Matrix4x4 matrix = new Matrix4x4(); + matrix.SetColumn(0, s_Camera.worldTransform.column0); + matrix.SetColumn(1, s_Camera.worldTransform.column1); + matrix.SetColumn(2, s_Camera.worldTransform.column2); + matrix.SetColumn(3, s_Camera.worldTransform.column3); + return matrix; + } + + public Matrix4x4 GetCameraProjection() + { + Matrix4x4 matrix = new Matrix4x4(); + matrix.SetColumn(0, s_Camera.projectionMatrix.column0); + matrix.SetColumn(1, s_Camera.projectionMatrix.column1); + matrix.SetColumn(2, s_Camera.projectionMatrix.column2); + matrix.SetColumn(3, s_Camera.projectionMatrix.column3); + return matrix; + } + + public void SetCameraClipPlanes(float nearZ, float farZ) + { +#if !UNITY_EDITOR + SetCameraNearFar (nearZ, farZ); +#endif + } + + public void SetCapturePixelData(bool enable, IntPtr pYByteArray, IntPtr pUVByteArray) + { +#if !UNITY_EDITOR + int iEnable = enable ? 1 : 0; + CapturePixelData (iEnable,pYByteArray, pUVByteArray); +#endif + } + + [MonoPInvokeCallback(typeof(internal_ARFrameUpdate))] + static void _frame_update(internal_UnityARCamera camera) + { + UnityARCamera pubCamera = new UnityARCamera(); + pubCamera.projectionMatrix = camera.projectionMatrix; + pubCamera.worldTransform = camera.worldTransform; + pubCamera.trackingState = camera.trackingState; + pubCamera.trackingReason = camera.trackingReason; + pubCamera.videoParams = camera.videoParams; + pubCamera.lightEstimation = camera.lightEstimation; + pubCamera.displayTransform = camera.displayTransform; + s_Camera = pubCamera; + + if (camera.getPointCloudData == 1) + { + UpdatePointCloudData (ref s_Camera); + } + + if (ARFrameUpdatedEvent != null) + { + ARFrameUpdatedEvent(s_Camera); + } + } + + [MonoPInvokeCallback(typeof(internal_ARSessionTrackingChanged))] + static void _ar_tracking_changed(internal_UnityARCamera camera) + { + // we only update the current camera's tracking state since that's all + // this cllback is for + s_Camera.trackingReason = camera.trackingReason; + if (ARSessionTrackingChangedEvent != null) + { + ARSessionTrackingChangedEvent(s_Camera); + } + } + + static void UpdatePointCloudData(ref UnityARCamera camera) + { + #if PLATFORM_IOS + IntPtr ptrResultVerts = IntPtr.Zero; + uint resultVertLength = 0; + bool success = GetARPointCloud (ref ptrResultVerts, ref resultVertLength); + float[] resultVertices = null; + if (success) { + // Load the results into a managed array. + resultVertices = new float[resultVertLength]; + Marshal.Copy (ptrResultVerts, resultVertices, 0, (int)resultVertLength); + + Vector3[] verts = new Vector3[(resultVertLength / 4)]; + + for (int count = 0; count < resultVertLength; count++) + { + verts [count / 4].x = resultVertices[count++]; + verts [count / 4].y = resultVertices[count++]; + verts [count / 4].z = -resultVertices[count++]; + } + camera.pointCloudData = verts; + } + #endif + + } + + static ARPlaneAnchor GetPlaneAnchorFromAnchorData(UnityARAnchorData anchor) + { + #if PLATFORM_IOS + //get the identifier for this anchor from the pointer + ARPlaneAnchor arPlaneAnchor = new ARPlaneAnchor (); + arPlaneAnchor.identifier = Marshal.PtrToStringAuto(anchor.ptrIdentifier); + + Matrix4x4 matrix = new Matrix4x4 (); + matrix.SetColumn(0, anchor.transform.column0); + matrix.SetColumn(1, anchor.transform.column1); + matrix.SetColumn(2, anchor.transform.column2); + matrix.SetColumn(3, anchor.transform.column3); + + arPlaneAnchor.transform = matrix; + arPlaneAnchor.alignment = anchor.alignment; + arPlaneAnchor.center = new Vector3(anchor.center.x, anchor.center.y, anchor.center.z); + arPlaneAnchor.extent = new Vector3(anchor.extent.x, anchor.extent.y, anchor.extent.z); + return arPlaneAnchor; + #else + Debug.Log("Not available on non iOS platforms"); + return new ARPlaneAnchor(); + #endif + } + + static ARUserAnchor GetUserAnchorFromAnchorData(UnityARUserAnchorData anchor) + { + #if PLATOFORM_IOS + //get the identifier for this anchor from the pointer + ARUserAnchor arUserAnchor = new ARUserAnchor (); + arUserAnchor.identifier = Marshal.PtrToStringAuto(anchor.ptrIdentifier); + + Matrix4x4 matrix = new Matrix4x4 (); + matrix.SetColumn(0, anchor.transform.column0); + matrix.SetColumn(1, anchor.transform.column1); + matrix.SetColumn(2, anchor.transform.column2); + matrix.SetColumn(3, anchor.transform.column3); + + arUserAnchor.transform = matrix; + return arUserAnchor; + #else + Debug.LogError("Not available on non iOS platform"); + return new ARUserAnchor(); + #endif + } + + static ARHitTestResult GetHitTestResultFromResultData(UnityARHitTestResult resultData) + { + #if PLATOFORM_IOS + ARHitTestResult arHitTestResult = new ARHitTestResult (); + arHitTestResult.type = resultData.type; + arHitTestResult.distance = resultData.distance; + arHitTestResult.localTransform = resultData.localTransform; + arHitTestResult.worldTransform = resultData.worldTransform; + arHitTestResult.isValid = resultData.isValid; + if (resultData.anchor != IntPtr.Zero) { + arHitTestResult.anchorIdentifier = Marshal.PtrToStringAuto (resultData.anchor); + } + return arHitTestResult; + #else + Debug.LogError("Not available on non iOS platform"); + return new ARHitTestResult(); + #endif + } + +#region Plane Anchors + [MonoPInvokeCallback(typeof(internal_ARAnchorAdded))] + static void _anchor_added(UnityARAnchorData anchor) + { + if (ARAnchorAddedEvent != null) + { + ARPlaneAnchor arPlaneAnchor = GetPlaneAnchorFromAnchorData(anchor); + ARAnchorAddedEvent(arPlaneAnchor); + } + } + + [MonoPInvokeCallback(typeof(internal_ARAnchorUpdated))] + static void _anchor_updated(UnityARAnchorData anchor) + { + if (ARAnchorUpdatedEvent != null) + { + ARPlaneAnchor arPlaneAnchor = GetPlaneAnchorFromAnchorData(anchor); + ARAnchorUpdatedEvent(arPlaneAnchor); } + } + + [MonoPInvokeCallback(typeof(internal_ARAnchorRemoved))] + static void _anchor_removed(UnityARAnchorData anchor) + { + if (ARAnchorRemovedEvent != null) + { + ARPlaneAnchor arPlaneAnchor = GetPlaneAnchorFromAnchorData(anchor); + ARAnchorRemovedEvent(arPlaneAnchor); + } + } +#endregion + +#region User Anchors + [MonoPInvokeCallback(typeof(internal_ARUserAnchorAdded))] + static void _user_anchor_added(UnityARUserAnchorData anchor) + { + if (ARUserAnchorAddedEvent != null) + { + ARUserAnchor arUserAnchor = GetUserAnchorFromAnchorData(anchor); + ARUserAnchorAddedEvent(arUserAnchor); + } + } + + [MonoPInvokeCallback(typeof(internal_ARUserAnchorUpdated))] + static void _user_anchor_updated(UnityARUserAnchorData anchor) + { + if (ARUserAnchorUpdatedEvent != null) + { + ARUserAnchor arUserAnchor = GetUserAnchorFromAnchorData(anchor); + ARUserAnchorUpdatedEvent(arUserAnchor); } + } + + [MonoPInvokeCallback(typeof(internal_ARUserAnchorRemoved))] + static void _user_anchor_removed(UnityARUserAnchorData anchor) + { + if (ARUserAnchorRemovedEvent != null) + { + ARUserAnchor arUserAnchor = GetUserAnchorFromAnchorData(anchor); + ARUserAnchorRemovedEvent(arUserAnchor); + } + } +#endregion + + [MonoPInvokeCallback(typeof(ARSessionFailed))] + static void _ar_session_failed(string error) + { + if (ARSessionFailedEvent != null) + { + ARSessionFailedEvent(error); + } + } + + [MonoPInvokeCallback(typeof(ARSessionCallback))] + static void _ar_session_interrupted() + { + Debug.Log("ar_session_interrupted"); + if (ARSessionInterruptedEvent != null) + { + ARSessionInterruptedEvent(); + } + + } + + [MonoPInvokeCallback(typeof(ARSessionCallback))] + static void _ar_session_interruption_ended() + { + Debug.Log("ar_session_interruption_ended"); + if (ARSessioninterruptionEndedEvent != null) + { + ARSessioninterruptionEndedEvent(); + } + } + + public void RunWithConfigAndOptions(ARKitWorldTrackingSessionConfiguration config, UnityARSessionRunOption runOptions) + { +#if !UNITY_EDITOR + StartWorldTrackingSessionWithOptions (m_NativeARSession, config, runOptions); +#endif + } + + public void RunWithConfig(ARKitWorldTrackingSessionConfiguration config) + { +#if !UNITY_EDITOR + StartWorldTrackingSession(m_NativeARSession, config); +#endif + } + + public void Run() + { + RunWithConfig(new ARKitWorldTrackingSessionConfiguration(UnityARAlignment.UnityARAlignmentGravity, UnityARPlaneDetection.Horizontal)); + } + + public void RunWithConfigAndOptions(ARKitSessionConfiguration config, UnityARSessionRunOption runOptions) + { + #if !UNITY_EDITOR + StartSessionWithOptions (m_NativeARSession, config, runOptions); + #endif + } + + public void RunWithConfig(ARKitSessionConfiguration config) + { + #if !UNITY_EDITOR + StartSession(m_NativeARSession, config); + #endif + } + + public void Pause() + { +#if !UNITY_EDITOR + PauseSession(m_NativeARSession); +#endif + } + + public List HitTest(ARPoint point, ARHitTestResultType types) + { +#if !UNITY_EDITOR + int numResults = HitTest(m_NativeARSession, point, types); + List results = new List(); + + for (int i = 0; i < numResults; ++i) + { + var result = GetLastHitTestResult(i); + results.Add(GetHitTestResultFromResultData(result)); + } + + return results; +#else + return new List(); +#endif + } + + public ARTextureHandles GetARVideoTextureHandles() + { + return GetVideoTextureHandles (); + } + + [Obsolete("Hook ARFrameUpdatedEvent instead and get UnityARCamera.ambientIntensity")] + public float GetARAmbientIntensity() + { + return GetAmbientIntensity (); + } + + [Obsolete("Hook ARFrameUpdatedEvent instead and get UnityARCamera.trackingState")] + public int GetARTrackingQuality() + { + return GetTrackingQuality(); + } + + public UnityARUserAnchorData AddUserAnchor(UnityARUserAnchorData anchorData) + { +#if !UNITY_EDITOR + return SessionAddUserAnchor(m_NativeARSession, anchorData); +#else + return new UnityARUserAnchorData(); +#endif + } + + public UnityARUserAnchorData AddUserAnchorFromGameObject(GameObject go) { +#if !UNITY_EDITOR + UnityARUserAnchorData data = AddUserAnchor(UnityARUserAnchorData.UnityARUserAnchorDataFromGameObject(go)); + return data; +#else + return new UnityARUserAnchorData(); +#endif + } + + public void RemoveUserAnchor(string anchorIdentifier) + { +#if !UNITY_EDITOR + + SessionRemoveUserAnchor(m_NativeARSession, anchorIdentifier); +#endif + } + } +} +#endif \ No newline at end of file diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta new file mode 100644 index 00000000000..5f3674b2768 --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 43900ad1460304627a359bed956a451d +timeCreated: 1492795428 +licenseType: Store +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders.meta new file mode 100644 index 00000000000..745bea5d28d --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 335db61ca0304a445b8fe00224cab94b +folderAsset: yes +timeCreated: 1492634328 +licenseType: Store +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader new file mode 100644 index 00000000000..dafa0d626fb --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader @@ -0,0 +1,74 @@ +Shader "Unlit/ARCameraShader" +{ + Properties + { + _textureY ("TextureY", 2D) = "white" {} + _textureCbCr ("TextureCbCr", 2D) = "black" {} + } + SubShader + { + Cull Off + Tags { "RenderType"="Opaque" } + LOD 100 + + Pass + { + ZWrite Off + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + + #include "UnityCG.cginc" + + float4x4 _DisplayTransform; + + struct Vertex + { + float4 position : POSITION; + float2 texcoord : TEXCOORD0; + }; + + struct TexCoordInOut + { + float4 position : SV_POSITION; + float2 texcoord : TEXCOORD0; + }; + + TexCoordInOut vert (Vertex vertex) + { + TexCoordInOut o; + o.position = UnityObjectToClipPos(vertex.position); + + float texX = vertex.texcoord.x; + float texY = vertex.texcoord.y; + + o.texcoord.x = (_DisplayTransform[0].x * texX + _DisplayTransform[1].x * (texY) + _DisplayTransform[2].x); + o.texcoord.y = (_DisplayTransform[0].y * texX + _DisplayTransform[1].y * (texY) + (_DisplayTransform[2].y)); + + return o; + } + + // samplers + sampler2D _textureY; + sampler2D _textureCbCr; + + fixed4 frag (TexCoordInOut i) : SV_Target + { + // sample the texture + float2 texcoord = i.texcoord; + float y = tex2D(_textureY, texcoord).r; + float4 ycbcr = float4(y, tex2D(_textureCbCr, texcoord).rg, 1.0); + + const float4x4 ycbcrToRGBTransform = float4x4( + float4(1.0, +0.0000, +1.4020, -0.7010), + float4(1.0, -0.3441, -0.7141, +0.5291), + float4(1.0, +1.7720, +0.0000, -0.8860), + float4(0.0, +0.0000, +0.0000, +1.0000) + ); + + return mul(ycbcrToRGBTransform, ycbcr); + } + ENDCG + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta new file mode 100644 index 00000000000..2a9dbfe549b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ef7b8eec959eb4f1e9fa97bc86273848 +timeCreated: 1492634375 +licenseType: Store +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader new file mode 100644 index 00000000000..c5a91f2da1c --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader @@ -0,0 +1,75 @@ +Shader "Unlit/ARCameraShader(Linear)" +{ + Properties + { + _textureY ("TextureY", 2D) = "white" {} + _textureCbCr ("TextureCbCr", 2D) = "black" {} + } + SubShader + { + Cull Off + Tags { "RenderType"="Opaque" } + LOD 100 + + Pass + { + ZWrite Off + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + + #include "UnityCG.cginc" + + float4x4 _DisplayTransform; + + struct Vertex + { + float4 position : POSITION; + float2 texcoord : TEXCOORD0; + }; + + struct TexCoordInOut + { + float4 position : SV_POSITION; + float2 texcoord : TEXCOORD0; + }; + + TexCoordInOut vert (Vertex vertex) + { + TexCoordInOut o; + o.position = UnityObjectToClipPos(vertex.position); + + float texX = vertex.texcoord.x; + float texY = vertex.texcoord.y; + + o.texcoord.x = (_DisplayTransform[0].x * texX + _DisplayTransform[1].x * (texY) + _DisplayTransform[2].x); + o.texcoord.y = (_DisplayTransform[0].y * texX + _DisplayTransform[1].y * (texY) + (_DisplayTransform[2].y)); + + return o; + } + + // samplers + sampler2D _textureY; + sampler2D _textureCbCr; + + fixed4 frag (TexCoordInOut i) : SV_Target + { + // sample the texture + float2 texcoord = i.texcoord; + float y = tex2D(_textureY, texcoord).r; + float4 ycbcr = float4(y, tex2D(_textureCbCr, texcoord).rg, 1.0); + + const float4x4 ycbcrToRGBTransform = float4x4( + float4(1.0, +0.0000, +1.4020, -0.7010), + float4(1.0, -0.3441, -0.7141, +0.5291), + float4(1.0, +1.7720, +0.0000, -0.8860), + float4(0.0, +0.0000, +0.0000, +1.0000) + ); + + //gamma->linear conversion + return pow(mul(ycbcrToRGBTransform, ycbcr), 2.2); + } + ENDCG + } + } +} diff --git a/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader.meta b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader.meta new file mode 100644 index 00000000000..55655200c4b --- /dev/null +++ b/Assets/HoloToolkit-Preview/SpectatorView/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 57c2c07a0719d4fafab7a4f8a84d1767 +timeCreated: 1492634375 +licenseType: Store +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Boundary/Materials/FloorMaterial.mat b/Assets/HoloToolkit/Boundary/Materials/FloorMaterial.mat index 51806ec0e9d..c5a3c2cf1ea 100644 --- a/Assets/HoloToolkit/Boundary/Materials/FloorMaterial.mat +++ b/Assets/HoloToolkit/Boundary/Materials/FloorMaterial.mat @@ -8,10 +8,11 @@ Material: m_PrefabInternal: {fileID: 0} m_Name: FloorMaterial m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: ETC1_EXTERNAL_ALPHA _BORDER_LIGHT_USES_HOVER_COLOR _DISABLE_ALBEDO_MAP - _SPECULAR_HIGHLIGHTS _USEAMBIENT_ON _USEDIFFUSE_ON _USEMAINCOLOR_ON + m_ShaderKeywords: ETC1_EXTERNAL_ALPHA _BORDER_LIGHT _BORDER_LIGHT_USES_HOVER_COLOR + _DISABLE_ALBEDO_MAP _INNER_GLOW _SPECULAR_HIGHLIGHTS _USEAMBIENT_ON _USEDIFFUSE_ON + _USEMAINCOLOR_ON m_LightmapFlags: 1 - m_EnableInstancingVariants: 0 + m_EnableInstancingVariants: 1 m_DoubleSidedGI: 0 m_CustomRenderQueue: 2000 stringTagMap: @@ -80,11 +81,11 @@ Material: - _AlbedoAlphaMode: 0 - _AlphaTest: 0 - _BlendOp: 0 - - _BorderLight: 0 + - _BorderLight: 1 - _BorderLightOpaque: 0 - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 + - _BorderMinValue: 0.132 + - _BorderWidth: 0.028 - _BumpScale: 1 - _CalibrationSpaceReflections: 0 - _ClippingPlane: 0 @@ -98,7 +99,7 @@ Material: - _DetailNormalMapScale: 1 - _DirectionalLight: 0 - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 + - _EdgeSmoothingValue: 0.0001 - _EnableEmission: 0 - _EnableHoverColorOpaqueOverride: 0 - _EnableHoverColorOverride: 0 @@ -115,7 +116,7 @@ Material: - _GlossyReflections: 1 - _HoverLight: 0 - _HoverLightOpaque: 0 - - _InnerGlow: 0 + - _InnerGlow: 1 - _LineScale: 0.015 - _LinesPerMeter: 3 - _MainTex_OFFSET: 0 @@ -163,7 +164,7 @@ Material: m_Colors: - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 0.4776116, g: 0.5930785, b: 0.6691177, a: 1} + - _Color: {r: 0.60294116, g: 0.60294116, b: 0.60294116, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} @@ -171,7 +172,7 @@ Material: - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _InnerGlowColor: {r: 0, g: 0.5448277, b: 1, a: 1} - _RimColor: {r: 1, g: 1, b: 1, a: 1} - _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - _SpecularColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs index a0725fdb033..c249ebaa94f 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs +++ b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployPortal.cs @@ -96,11 +96,11 @@ private static string WebRequestGet(string query, string auth, bool showProgress } if ( -#if UNITY_2017_2_OR_NEWER +#if UNITY_2017_1_OR_NEWER webRequest.isNetworkError || webRequest.isHttpError && #else webRequest.isError && -#endif +#endif // UNITY_2017_1_OR_NEWER webRequest.responseCode != 401) { string response = string.Empty; @@ -186,11 +186,11 @@ private static string WebRequestPost(string query, WWWForm postData, string auth EditorUtility.ClearProgressBar(); if ( -#if UNITY_2017_2_OR_NEWER - webRequest.isNetworkError || webRequest.isHttpError && +#if UNITY_2017_1_OR_NEWER + webRequest.isNetworkError || webRequest.isHttpError && #else webRequest.isError && -#endif +#endif // UNITY_2017_1_OR_NEWER webRequest.responseCode != 401) { string response = string.Empty; @@ -262,11 +262,11 @@ private static bool WebRequestDelete(string query, string auth, bool showDialog EditorUtility.ClearProgressBar(); if ( -#if UNITY_2017_2_OR_NEWER - webRequest.isNetworkError || webRequest.isHttpError && +#if UNITY_2017_1_OR_NEWER + webRequest.isNetworkError || webRequest.isHttpError && #else webRequest.isError && -#endif +#endif // UNITY_2017_1_OR_NEWER webRequest.responseCode != 401) { string response = string.Empty; diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs index 7d0e1e737f0..6daf50c9704 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs +++ b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs @@ -85,12 +85,21 @@ public static bool BuildSLN(string buildDirectory, bool showDialog = true) WSAUwpSdk = EditorUserBuildSettings.wsaUWPSDK, // Configure a post build action that will compile the generated solution +#if UNITY_2018_1_OR_NEWER + PostBuildAction = (innerBuildInfo, buildReport) => + { + if (buildReport.summary.result != UnityEditor.Build.Reporting.BuildResult.Succeeded) + { + EditorUtility.DisplayDialog(string.Format("{0} WindowsStoreApp Build {1}!", PlayerSettings.productName, buildReport.summary.result), "See console for details", "OK"); + } +#else PostBuildAction = (innerBuildInfo, buildError) => { if (!string.IsNullOrEmpty(buildError)) { - EditorUtility.DisplayDialog(PlayerSettings.productName + " WindowsStoreApp Build Failed!", buildError, "OK"); + EditorUtility.DisplayDialog(string.Format("{0} WindowsStoreApp Build Failed!", PlayerSettings.productName), buildError, "OK"); } +#endif else { if (showDialog) @@ -223,7 +232,7 @@ public static bool BuildAppxFromSLN(string productName, string msBuildVersion, b if (!File.Exists(msBuildPath)) { - Debug.LogErrorFormat("MSBuild.exe is missing or invalid (path={0}).", msBuildPath); + Debug.LogErrorFormat("MSBuild.exe is missing or invalid:\n{0}.", msBuildPath); EditorUtility.ClearProgressBar(); return false; } @@ -240,13 +249,12 @@ public static bool BuildAppxFromSLN(string productName, string msBuildVersion, b File.Copy(unity + @"\Data\PlaybackEngines\MetroSupport\Tools\project.json", storePath + "\\project.json"); } - string nugetPath = Path.Combine(unity, @"Data\PlaybackEngines\MetroSupport\Tools\NuGet.exe"); - string assemblyCSharp = storePath + "/GeneratedProjects/UWP/Assembly-CSharp"; - string assemblyCSharpFirstPass = storePath + "/GeneratedProjects/UWP/Assembly-CSharp-firstpass"; + string assemblyCSharp = string.Format("{0}/GeneratedProjects/UWP/Assembly-CSharp", storePath); + string assemblyCSharpFirstPass = string.Format("{0}/GeneratedProjects/UWP/Assembly-CSharp-firstpass", storePath); bool restoreFirstPass = Directory.Exists(assemblyCSharpFirstPass); + string nugetPath = Path.Combine(unity, @"Data\PlaybackEngines\MetroSupport\Tools\NuGet.exe"); - // Before building, need to run a nuget restore to generate a json.lock file. Failing to do - // this breaks the build in VS RTM + // Before building, need to run a nuget restore to generate a json.lock file. Failing to do this breaks the build in VS RTM if (PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA) == ScriptingImplementation.WinRTDotNET && (!RestoreNugetPackages(nugetPath, storePath) || !RestoreNugetPackages(nugetPath, storePath + "\\" + productName) || @@ -260,18 +268,22 @@ public static bool BuildAppxFromSLN(string productName, string msBuildVersion, b EditorUtility.DisplayProgressBar("Build AppX", "Building AppX Package...", 25); - // Ensure that the generated .appx version increments by modifying - // Package.appxmanifest - if (incrementVersion) + // Ensure that the generated .appx version increments by modifying Package.appxmanifest + if (!SetPackageVersion(incrementVersion)) { - IncrementPackageVersion(); + Debug.LogError("Failed to increment package version!"); + EditorUtility.ClearProgressBar(); + return false; } // Now do the actual build var pInfo = new ProcessStartInfo { FileName = msBuildPath, - CreateNoWindow = false, + CreateNoWindow = true, + UseShellExecute = false, + RedirectStandardOutput = true, + RedirectStandardError = true, Arguments = string.Format("\"{0}\" /t:{1} /p:Configuration={2} /p:Platform={3} /verbosity:m", solutionProjectPath, forceRebuildAppx ? "Rebuild" : "Build", @@ -279,44 +291,69 @@ public static bool BuildAppxFromSLN(string productName, string msBuildVersion, b buildPlatform) }; - // Uncomment out to debug by copying into command window - //Debug.Log("\"" + vs + "\"" + " " + pInfo.Arguments); - - var process = new Process { StartInfo = pInfo }; + var process = new Process + { + StartInfo = pInfo, + EnableRaisingEvents = true + }; try { + process.ErrorDataReceived += (sender, args) => + { + if (!string.IsNullOrEmpty(args.Data)) + { + Debug.LogError(args.Data); + } + }; + + process.OutputDataReceived += (sender, args) => + { + if (!string.IsNullOrEmpty(args.Data)) + { + Debug.Log(args.Data); + } + }; + if (!process.Start()) { - Debug.LogError("Failed to start Cmd process!"); + Debug.LogError("Failed to start process!"); EditorUtility.ClearProgressBar(); + process.Close(); + process.Dispose(); return false; } + process.BeginOutputReadLine(); + process.BeginErrorReadLine(); process.WaitForExit(); EditorUtility.ClearProgressBar(); - if (process.ExitCode == 0 && - showDialog && + if (process.ExitCode == 0 && showDialog && !EditorUtility.DisplayDialog("Build AppX", "AppX Build Successful!", "OK", "Open AppX Folder")) { - Process.Start("explorer.exe", "/f /open," + Path.GetFullPath(BuildDeployPrefs.BuildDirectory + "/" + PlayerSettings.productName + "/AppPackages")); + Process.Start("explorer.exe", string.Format("/f /open,{0}/{1}/AppPackages", Path.GetFullPath(BuildDeployPrefs.BuildDirectory), PlayerSettings.productName)); } if (process.ExitCode != 0) { - Debug.LogError("MSBuild error (code = " + process.ExitCode + ")"); + Debug.LogError(string.Format("MSBuild error (code = {0})", process.ExitCode)); + EditorUtility.ClearProgressBar(); EditorUtility.DisplayDialog(PlayerSettings.productName + " build Failed!", "Failed to build appx from solution. Error code: " + process.ExitCode, "OK"); + + process.Close(); + process.Dispose(); return false; } process.Close(); process.Dispose(); - } catch (Exception e) { + process.Close(); + process.Dispose(); Debug.LogError("Cmd Process EXCEPTION: " + e); EditorUtility.ClearProgressBar(); return false; @@ -325,15 +362,15 @@ public static bool BuildAppxFromSLN(string productName, string msBuildVersion, b return true; } - private static void IncrementPackageVersion() + private static bool SetPackageVersion(bool increment) { // Find the manifest, assume the one we want is the first one string[] manifests = Directory.GetFiles(BuildDeployPrefs.AbsoluteBuildDirectory, "Package.appxmanifest", SearchOption.AllDirectories); if (manifests.Length == 0) { - Debug.LogError("Unable to find Package.appxmanifest file for build (in path - " + BuildDeployPrefs.AbsoluteBuildDirectory + ")"); - return; + Debug.LogError(string.Format("Unable to find Package.appxmanifest file for build (in path - {0})", BuildDeployPrefs.AbsoluteBuildDirectory)); + return false; } string manifest = manifests[0]; @@ -342,8 +379,8 @@ private static void IncrementPackageVersion() if (identityNode == null) { - Debug.LogError("Package.appxmanifest for build (in path - " + BuildDeployPrefs.AbsoluteBuildDirectory + ") is missing an node"); - return; + Debug.LogError(string.Format("Package.appxmanifest for build (in path - {0}) is missing an node", BuildDeployPrefs.AbsoluteBuildDirectory)); + return false; } // We use XName.Get instead of string -> XName implicit conversion because @@ -353,8 +390,8 @@ private static void IncrementPackageVersion() if (versionAttr == null) { - Debug.LogError("Package.appxmanifest for build (in path - " + BuildDeployPrefs.AbsoluteBuildDirectory + ") is missing a version attribute in the node."); - return; + Debug.LogError(string.Format("Package.appxmanifest for build (in path - {0}) is missing a version attribute in the node.", BuildDeployPrefs.AbsoluteBuildDirectory)); + return false; } // Assume package version always has a '.' between each number. @@ -362,11 +399,12 @@ private static void IncrementPackageVersion() // Package versions are always of the form Major.Minor.Build.Revision. // Note: Revision number reserved for Windows Store, and a value other than 0 will fail WACK. var version = PlayerSettings.WSA.packageVersion; - var newVersion = new Version(version.Major, version.Minor, version.Build + 1, version.Revision); + var newVersion = new Version(version.Major, version.Minor, increment ? version.Build + 1 : version.Build, version.Revision); PlayerSettings.WSA.packageVersion = newVersion; versionAttr.Value = newVersion.ToString(); rootNode.Save(manifest); + return true; } } } diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs index e76ae8d9a98..b76e67dc23b 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs +++ b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs @@ -1,5 +1,4 @@ // Copyright (c) Microsoft Corporation. -// Copyright (c) Rafael Rivera. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; @@ -24,7 +23,7 @@ public class BuildDeployWindow : EditorWindow private const string SdkVersion = #if UNITY_2017_2_OR_NEWER - "10.0.16299.0"; + "10.0.17134.0"; #else "10.0.15063.0"; #endif @@ -123,7 +122,13 @@ private static bool CanInstall { get { - return Directory.Exists(BuildDeployPrefs.AbsoluteBuildDirectory) && !string.IsNullOrEmpty(familyPackageName); + bool canInstall = true; + if (EditorUserBuildSettings.wsaSubtarget == WSASubtarget.HoloLens) + { + canInstall = DevicePortalConnectionEnabled; + } + + return canInstall && Directory.Exists(BuildDeployPrefs.AbsoluteBuildDirectory); } } @@ -226,9 +231,7 @@ private void OnGUI() // Build directory (and save setting, if it's changed) string curBuildDirectory = BuildDeployPrefs.BuildDirectory; EditorGUILayout.LabelField(buildDirectoryLabel, GUILayout.Width(96)); - string newBuildDirectory = EditorGUILayout.TextField( - curBuildDirectory, - GUILayout.Width(64), GUILayout.ExpandWidth(true)); + string newBuildDirectory = EditorGUILayout.TextField(curBuildDirectory, GUILayout.Width(64), GUILayout.ExpandWidth(true)); if (newBuildDirectory != curBuildDirectory) { @@ -261,45 +264,33 @@ private void OnGUI() EditorUserBuildSettings.wsaSubtarget = (WSASubtarget)EditorGUILayout.Popup((int)EditorUserBuildSettings.wsaSubtarget, deviceNames); - GUI.enabled = ShouldBuildSLNBeEnabled; bool canInstall = CanInstall; - // Build & Run button... - if (GUILayout.Button(CanInstall - ? buildAllThenInstallLabel - : buildAllLabel, - GUILayout.Width(halfWidth - 20))) + if (EditorUserBuildSettings.wsaSubtarget == WSASubtarget.HoloLens && !IsHoloLensConnectedUsb) { - EditorApplication.delayCall += () => { BuildAll(canInstall); }; + canInstall = IsHoloLensConnectedUsb; } - GUI.enabled = true; + GUI.enabled = ShouldBuildSLNBeEnabled; - if (GUILayout.Button("Open Player Settings", GUILayout.Width(quarterWidth))) + // Build & Run button... + if (GUILayout.Button(CanInstall ? buildAllThenInstallLabel : buildAllLabel, GUILayout.Width(halfWidth - 20))) { - EditorApplication.ExecuteMenuItem("Edit/Project Settings/Player"); + EditorApplication.delayCall += () => BuildAll(canInstall); } - // If Xbox Controller support is enabled and we're targeting the HoloLens device, - // Enable the HID capability. - if (EditorUserBuildSettings.wsaSubtarget == WSASubtarget.HoloLens) - { - PlayerSettings.WSA.SetCapability( - PlayerSettings.WSACapability.HumanInterfaceDevice, - EditorPrefsUtility.GetEditorPref("Enable Xbox Controller Support", false)); + GUI.enabled = true; - BuildDeployPrefs.BuildPlatform = BuildPlatformEnum.x86.ToString(); - } - else + if (GUILayout.Button("Open Player Settings", GUILayout.Width(quarterWidth))) { - PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.HumanInterfaceDevice, false); + EditorApplication.ExecuteMenuItem("Edit/Project Settings/Player"); } EditorGUILayout.EndHorizontal(); GUILayout.EndVertical(); GUILayout.Space(10); - #endregion + #endregion Quick Options currentTab = (BuildDeployTab)GUILayout.Toolbar(SessionState.GetInt("_MRTK_BuildWindow_Tab", (int)currentTab), tabNames); SessionState.SetInt("_MRTK_BuildWindow_Tab", (int)currentTab); @@ -453,6 +444,19 @@ private void AppxBuildGUI() } var curScriptingBackend = PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA); + + if (curScriptingBackend == ScriptingImplementation.WinRTDotNET) + { +#if UNITY_2018_2_OR_NEWER + EditorGUILayout.HelpBox(".NET Scripting backend is deprecated, please use IL2CPP.", MessageType.Warning); +#else + EditorGUILayout.HelpBox(".NET Scripting backend will be deprecated in 2018.2, please consider using IL2CPP.", MessageType.Info); +#endif + GUILayout.EndHorizontal(); + GUILayout.BeginHorizontal(); + GUILayout.FlexibleSpace(); + } + var newScriptingBackend = (ScriptingImplementation)EditorGUILayout.IntPopup( "Scripting Backend", (int)curScriptingBackend, @@ -473,6 +477,7 @@ private void AppxBuildGUI() "Okay", "Cancel")) { Directory.Delete(BuildDeployPrefs.AbsoluteBuildDirectory, true); + canUpdate = true; } if (canUpdate) @@ -646,7 +651,8 @@ private void AppxBuildGUI() GUILayout.FlexibleSpace(); // Open AppX packages location - string appxBuildPath = Path.GetFullPath(BuildDeployPrefs.BuildDirectory + "/" + PlayerSettings.productName + "/AppPackages"); + string appxDirectory = curScriptingBackend == ScriptingImplementation.IL2CPP ? "/AppPackages/" + PlayerSettings.productName : "/" + PlayerSettings.productName + "/AppPackages"; + string appxBuildPath = Path.GetFullPath(BuildDeployPrefs.BuildDirectory + appxDirectory); GUI.enabled = builds.Count > 0 && !string.IsNullOrEmpty(appxBuildPath); if (GUILayout.Button("Open APPX Packages Location", GUILayout.Width(halfWidth))) @@ -1066,13 +1072,16 @@ private void UpdateBuilds() { builds.Clear(); + var curScriptingBackend = PlayerSettings.GetScriptingBackend(BuildTargetGroup.WSA); + string appxDirectory = curScriptingBackend == ScriptingImplementation.IL2CPP ? "AppPackages\\" + PlayerSettings.productName : PlayerSettings.productName + "\\AppPackages"; + try { appPackageDirectories.Clear(); string[] buildList = Directory.GetDirectories(BuildDeployPrefs.AbsoluteBuildDirectory, "*", SearchOption.AllDirectories); foreach (string appBuild in buildList) { - if (appBuild.Contains("AppPackages") && !appBuild.Contains("AppPackages\\")) + if (appBuild.Contains(appxDirectory) && !appBuild.Contains(appxDirectory + "\\")) { appPackageDirectories.AddRange(Directory.GetDirectories(appBuild)); } diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildInfo.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildInfo.cs index e3660c90930..68203d11e16 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildInfo.cs +++ b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildInfo.cs @@ -19,7 +19,11 @@ public class BuildInfo public Action PreBuildAction { get; set; } +#if UNITY_2018_1_OR_NEWER + public Action PostBuildAction { get; set; } +#else public Action PostBuildAction { get; set; } +#endif public BuildOptions BuildOptions { get; set; } diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs index d163b71976f..e562edb9ac6 100644 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs +++ b/Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs @@ -6,11 +6,14 @@ using System.Globalization; using System.IO; using System.Linq; -using System.Reflection; using System.Xml; using UnityEditor; using UnityEngine; +#if UNITY_2018_1_OR_NEWER +using UnityEditor.Build.Reporting; +#endif + namespace HoloToolkit.Unity { /// @@ -53,10 +56,17 @@ public static void RaiseOverrideBuildDefaults(ref BuildInfo toConfigure) /// public static event Action BuildStarted; +#if UNITY_2018_1_OR_NEWER + /// + /// Event triggered when a build completes. + /// + public static event Action BuildCompleted; +#else /// /// Event triggered when a build completes. /// public static event Action BuildCompleted; +#endif public static void PerformBuild(BuildInfo buildInfo) { @@ -126,32 +136,46 @@ public static void PerformBuild(BuildInfo buildInfo) PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTargetGroup, buildInfo.BuildSymbols); } - string buildError = "Error"; - try + // For the WSA player, Unity builds into a target directory. + // For other players, the OutputPath parameter indicates the + // path to the target executable to build. + if (buildInfo.BuildTarget == BuildTarget.WSAPlayer) { - // For the WSA player, Unity builds into a target directory. - // For other players, the OutputPath parameter indicates the - // path to the target executable to build. - if (buildInfo.BuildTarget == BuildTarget.WSAPlayer) - { - Directory.CreateDirectory(buildInfo.OutputDirectory); - } + Directory.CreateDirectory(buildInfo.OutputDirectory); + } + + OnPreProcessBuild(buildInfo); - OnPreProcessBuild(buildInfo); - buildError = BuildPipeline.BuildPlayer( + EditorUtility.DisplayProgressBar("Build Pipeline", "Gathering Build data...", 0.25f); + +#if UNITY_2018_1_OR_NEWER + BuildReport buildReport = default(BuildReport); +#else + string buildReport = "ERROR"; +#endif + try + { + buildReport = BuildPipeline.BuildPlayer( buildInfo.Scenes.ToArray(), buildInfo.OutputDirectory, buildInfo.BuildTarget, - buildInfo.BuildOptions).ToString(); + buildInfo.BuildOptions); - if (buildError.StartsWith("Error")) +#if UNITY_2018_1_OR_NEWER + if (buildReport.summary.result != BuildResult.Succeeded) + { + throw new Exception(string.Format("Build Result: {0}", buildReport.summary.result.ToString())); + } +#else + if (buildReport.StartsWith("Error")) { - throw new Exception(buildError); + throw new Exception(buildReport); } +#endif } finally { - OnPostProcessBuild(buildInfo, buildError); + OnPostProcessBuild(buildInfo, buildReport); if (buildInfo.BuildTarget == BuildTarget.WSAPlayer && EditorUserBuildSettings.wsaGenerateReferenceProjects) { @@ -161,13 +185,9 @@ public static void PerformBuild(BuildInfo buildInfo) PlayerSettings.colorSpace = oldColorSpace; PlayerSettings.SetScriptingDefineSymbolsForGroup(buildTargetGroup, oldBuildSymbols); - if (oldWSAUWPBuildType.HasValue) - { - EditorUserBuildSettings.wsaUWPBuildType = oldWSAUWPBuildType.Value; - } + EditorUserBuildSettings.wsaUWPBuildType = oldWSAUWPBuildType.Value; EditorUserBuildSettings.wsaGenerateReferenceProjects = oldWSAGenerateReferenceProjects; - EditorUserBuildSettings.SwitchActiveBuildTarget(oldBuildTargetGroup, oldBuildTarget); } } @@ -227,9 +247,13 @@ public static void PerformBuild_CommandLine() Scenes = EditorBuildSettings.scenes.Where(scene => scene.enabled).Select(scene => scene.path), // Configure a post build action to throw appropriate error code. - PostBuildAction = (innerBuildInfo, buildError) => + PostBuildAction = (innerBuildInfo, buildReport) => { - if (!string.IsNullOrEmpty(buildError)) +#if UNITY_2018_1_OR_NEWER + if (buildReport.summary.result != BuildResult.Succeeded) +#else + if (!string.IsNullOrEmpty(buildReport)) +#endif { EditorApplication.Exit(1); } @@ -237,9 +261,7 @@ public static void PerformBuild_CommandLine() }; RaiseOverrideBuildDefaults(ref buildInfo); - ParseBuildCommandLine(ref buildInfo); - PerformBuild(buildInfo); } @@ -425,14 +447,21 @@ private static void OnPreProcessBuild(BuildInfo buildInfo) } } - private static void OnPostProcessBuild(BuildInfo buildInfo, string buildError) + +#if UNITY_2018_1_OR_NEWER + private static void OnPostProcessBuild(BuildInfo buildInfo, BuildReport buildReport) + { + if (buildReport.summary.result == BuildResult.Succeeded) +#else + private static void OnPostProcessBuild(BuildInfo buildInfo, string buildReport) { - if (string.IsNullOrEmpty(buildError)) + if (string.IsNullOrEmpty(buildReport)) +#endif { + string outputProjectDirectoryPath = Path.Combine(GetProjectPath(), buildInfo.OutputDirectory); if (buildInfo.CopyDirectories != null) { string inputProjectDirectoryPath = GetProjectPath(); - string outputProjectDirectoryPath = Path.Combine(GetProjectPath(), buildInfo.OutputDirectory); foreach (var directory in buildInfo.CopyDirectories) { CopyDirectory(inputProjectDirectoryPath, outputProjectDirectoryPath, directory); @@ -441,12 +470,12 @@ private static void OnPostProcessBuild(BuildInfo buildInfo, string buildError) } // Raise the global event for listeners - BuildCompleted.RaiseEvent(buildInfo, buildError); + BuildCompleted.RaiseEvent(buildInfo, buildReport); // Call the post-build action, if any if (buildInfo.PostBuildAction != null) { - buildInfo.PostBuildAction(buildInfo, buildError); + buildInfo.PostBuildAction(buildInfo, buildReport); } } diff --git a/Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs b/Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs deleted file mode 100644 index 713e1bc526c..00000000000 --- a/Assets/HoloToolkit/BuildAndDeploy/Editor/XdeGuestLocator.cs +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Copyright (c) Rafael Rivera. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using System.Linq; -using System.Net; -using System.Net.NetworkInformation; -using System.Net.Sockets; -using System.Runtime.InteropServices; -using System.Threading; - -namespace HoloToolkit.Unity -{ - /// - /// Emulator Utility Class - /// - public static class XdeGuestLocator - { - [StructLayout(LayoutKind.Sequential, Pack = 4)] - struct XdePeerHostIdentifier - { - public Guid GuestDiscoveryGUID; - [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)] - public byte[] GuestMACAddress; - public int PeerDiscoveryPort; - } - - [StructLayout(LayoutKind.Sequential, Pack = 4)] - struct XdePeerGuestIdentifier - { - public Guid GuestDiscoveryGUID; - public int GuestTcpPort; - public int GuestSvcVersion; - } - - public static bool IsSearching { get; private set; } - public static bool HasData { get; private set; } - public static IPAddress GuestIpAddress { get; private set; } - - static XdeGuestLocator() - { - HasData = false; - IsSearching = false; - } - - public static void FindGuestAddressAsync() - { - if (IsSearching) - { - return; - } - - ThreadPool.QueueUserWorkItem(FindGuestAddress); - } - - private static void FindGuestAddress(object state) - { - IsSearching = true; - HasData = false; - GuestIpAddress = IPAddress.None; - - UnicastIPAddressInformation internalSwitchAddressInfo = null; - try - { - internalSwitchAddressInfo = GetInternalSwitchAddressInfo(); - } - catch (Exception) - { - UnityEngine.Debug.LogError("Failed to locate internal switch adapter"); - } - - if (internalSwitchAddressInfo != null) - { - using (var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)) - { - try - { - // Bind to next available UDP port for a listen operation - socket.Blocking = true; - socket.ReceiveTimeout = (int)TimeSpan.FromSeconds(5).TotalMilliseconds; - - socket.Bind(new IPEndPoint(internalSwitchAddressInfo.Address, 0)); - var localPort = (socket.LocalEndPoint as IPEndPoint).Port; - - // Send out a probe to 'devices' connected to the internal switch - // listening on port 3553 (Microsoft Device Emulator specific) - var broadcastAddress = GetBroadcastAddressForAddress(internalSwitchAddressInfo.Address, internalSwitchAddressInfo.IPv4Mask); - var broadcastTarget = new IPEndPoint(broadcastAddress, 3553); - - // - // WORKAROUND: We don't have easy access to WMI to go querying - // for virtual machine information so we just cover finding - // the first 255 potential candidates xx 00 - xx FF. - // - // It sounds like a lot but we're talking super tiny - // payloads on an internal interface. It's very fast. - // - for (int i = 0; i <= 0xFF; i++) - { - var probe = GenerateProbe(localPort, i); - socket.SendTo(probe, broadcastTarget); - } - - // Return the endpoint information for the first 'device' that replies - // (we don't necessarily care about the returned identifier info) - var responseBytes = new byte[Marshal.SizeOf(typeof(XdePeerGuestIdentifier))]; - - EndPoint guestEndpoint = new IPEndPoint(broadcastAddress, 0); - - socket.ReceiveFrom(responseBytes, ref guestEndpoint); - GuestIpAddress = (guestEndpoint as IPEndPoint).Address; - HasData = true; - } - catch (SocketException) - { - // Do nothing, our probe went unanswered or failed - } - } - } - - IsSearching = false; - } - - private static UnicastIPAddressInformation GetInternalSwitchAddressInfo() - { - var internalSwitch = GetInternalNetworkSwitchInterface(); - return internalSwitch.GetIPProperties().UnicastAddresses.Where(a => a.Address.AddressFamily == AddressFamily.InterNetwork).FirstOrDefault(); - } - - private static NetworkInterface GetInternalNetworkSwitchInterface() - { - return NetworkInterface.GetAllNetworkInterfaces().Where(i => i.Name.Contains("Windows Phone Emulator")).FirstOrDefault(); - } - - private static IPAddress GetBroadcastAddressForAddress(IPAddress address, IPAddress mask) - { - var addressInt = BitConverter.ToInt32(address.GetAddressBytes(), 0); - var maskInt = BitConverter.ToInt32(mask.GetAddressBytes(), 0); - return new IPAddress(BitConverter.GetBytes((addressInt | ~maskInt))); - } - - private static byte[] GenerateProbe(int port, int machineIndex) - { - var identifier = new XdePeerHostIdentifier(); - identifier.PeerDiscoveryPort = port; - identifier.GuestDiscoveryGUID = new Guid("{963ef858-2efe-4eb4-8d2d-fed5408e6441}"); - identifier.GuestMACAddress = new byte[] { 0x02, 0xDE, 0xDE, 0xDE, 0xDE, (byte)machineIndex }; - - return GetStructureBytes(identifier); - } - - private static byte[] GetStructureBytes(object obj) - { - var bytes = new byte[Marshal.SizeOf(obj)]; - - var handle = GCHandle.Alloc(bytes, GCHandleType.Pinned); - Marshal.StructureToPtr(obj, handle.AddrOfPinnedObject(), false); - handle.Free(); - - return bytes; - } - } -} diff --git a/Assets/HoloToolkit/Common/Scripts/CrossPlatform/MetroHandleRef.cs b/Assets/HoloToolkit/Common/Scripts/CrossPlatform/MetroHandleRef.cs index 4276553f1ef..9674ecae276 100644 --- a/Assets/HoloToolkit/Common/Scripts/CrossPlatform/MetroHandleRef.cs +++ b/Assets/HoloToolkit/Common/Scripts/CrossPlatform/MetroHandleRef.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#if UNITY_WSA && !UNITY_EDITOR +#if UNITY_WSA && !UNITY_EDITOR && !ENABLE_IL2CPP using System; diff --git a/Assets/HoloToolkit/Common/Scripts/CrossPlatform/SystemException.cs b/Assets/HoloToolkit/Common/Scripts/CrossPlatform/SystemException.cs index 3755e98cfe2..3d1d07ba86a 100644 --- a/Assets/HoloToolkit/Common/Scripts/CrossPlatform/SystemException.cs +++ b/Assets/HoloToolkit/Common/Scripts/CrossPlatform/SystemException.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -#if UNITY_WSA && !UNITY_EDITOR +#if UNITY_WSA && !UNITY_EDITOR && !ENABLE_IL2CPP namespace System { public class SystemException : Exception diff --git a/Assets/HoloToolkit/Common/Scripts/Enums.meta b/Assets/HoloToolkit/Common/Scripts/Enums.meta new file mode 100644 index 00000000000..ce847cf091f --- /dev/null +++ b/Assets/HoloToolkit/Common/Scripts/Enums.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d5c1479ce975e4041b97c2311373b648 +folderAsset: yes +timeCreated: 1525974744 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs b/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs new file mode 100644 index 00000000000..86e3e62778c --- /dev/null +++ b/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs @@ -0,0 +1,15 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using System; + +namespace HoloToolkit.Unity +{ + [Flags] + public enum Handedness + { + Unknown, + Left, + Right + } +} diff --git a/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs.meta b/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs.meta new file mode 100644 index 00000000000..18474b88861 --- /dev/null +++ b/Assets/HoloToolkit/Common/Scripts/Enums/Handedness.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 09a918e45dbacfb43abb0b812a5e524d +timeCreated: 1525974761 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Common/Scripts/Singleton.cs b/Assets/HoloToolkit/Common/Scripts/Singleton.cs index 31a8880068f..f568e296525 100644 --- a/Assets/HoloToolkit/Common/Scripts/Singleton.cs +++ b/Assets/HoloToolkit/Common/Scripts/Singleton.cs @@ -62,6 +62,16 @@ public static bool IsInitialized } } + /// + /// Awake and OnEnable safe way to check if a Singleton is initialized. + /// + /// The value of the Singleton's IsInitialized property + public static bool ConfirmInitialized() + { + T access = Instance; + return IsInitialized; + } + /// /// Base Awake method that sets the Singleton's unique instance. /// Called by Unity when initializing a MonoBehaviour. diff --git a/Assets/HoloToolkit/Input/Materials/LineMaterial.mat b/Assets/HoloToolkit/Input/Materials/LineMaterial.mat new file mode 100644 index 00000000000..06092716ac6 --- /dev/null +++ b/Assets/HoloToolkit/Input/Materials/LineMaterial.mat @@ -0,0 +1,78 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: LineMaterial + m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _InvFade: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _TintColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/Assets/HoloToolkit/Input/Materials/LineMaterial.mat.meta b/Assets/HoloToolkit/Input/Materials/LineMaterial.mat.meta new file mode 100644 index 00000000000..a48577ab93e --- /dev/null +++ b/Assets/HoloToolkit/Input/Materials/LineMaterial.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d9f5efc2f1dfc6846a9ebeac2f029eff +timeCreated: 1526058862 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Prefabs/Cursor/Cursor.prefab b/Assets/HoloToolkit/Input/Prefabs/Cursor/Cursor.prefab index 68b0a3f10a5..4f80783b60a 100644 --- a/Assets/HoloToolkit/Input/Prefabs/Cursor/Cursor.prefab +++ b/Assets/HoloToolkit/Input/Prefabs/Cursor/Cursor.prefab @@ -21,6 +21,7 @@ GameObject: - component: {fileID: 4000011283192616} - component: {fileID: 33000011299448354} - component: {fileID: 23000013452343876} + - component: {fileID: 114056822817505688} m_Layer: 2 m_Name: CursorOnHolograms m_TagString: Untagged @@ -52,6 +53,7 @@ GameObject: serializedVersion: 5 m_Component: - component: {fileID: 4000013144497514} + - component: {fileID: 108047025051955252} m_Layer: 2 m_Name: CursorOffHolograms m_TagString: Untagged @@ -59,35 +61,6 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000013763932778 -GameObject: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 5 - m_Component: - - component: {fileID: 4000010267160112} - - component: {fileID: 114264772726875220} - m_Layer: 2 - m_Name: Hover Light - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &4000010267160112 -Transform: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000013763932778} - 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_Children: [] - m_Father: {fileID: 4000013144497514} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &4000011283192616 Transform: m_ObjectHideFlags: 1 @@ -110,8 +83,7 @@ Transform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} - m_Children: - - {fileID: 4000010267160112} + m_Children: [] m_Father: {fileID: 4000013535415816} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -171,6 +143,42 @@ MeshFilter: m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000012100030190} m_Mesh: {fileID: 4300000, guid: c1000081192be7347a0ad0c380ed6171, type: 3} +--- !u!108 &108047025051955252 +Light: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013615056792} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 2 + m_Color: {r: 0.8039216, g: 0.6431373, b: 0.9529412, a: 1} + m_Intensity: 1 + m_Range: 0.05 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 1 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 --- !u!114 &114000013851064060 MonoBehaviour: m_ObjectHideFlags: 1 @@ -206,12 +214,12 @@ MonoBehaviour: CursorState: 2 CursorObject: {fileID: 1000013615056792} ParentTransform: {fileID: 0} ---- !u!114 &114264772726875220 +--- !u!114 &114056822817505688 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000013763932778} + m_GameObject: {fileID: 1000012100030190} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: bfa899d3f9dc64e41871228531b59783, type: 3} diff --git a/Assets/HoloToolkit/Input/Prefabs/Cursor/CursorWithFeedback.prefab b/Assets/HoloToolkit/Input/Prefabs/Cursor/CursorWithFeedback.prefab index 3aa7da63124..b672bdf5a4d 100644 --- a/Assets/HoloToolkit/Input/Prefabs/Cursor/CursorWithFeedback.prefab +++ b/Assets/HoloToolkit/Input/Prefabs/Cursor/CursorWithFeedback.prefab @@ -44,36 +44,6 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000010322050210 -GameObject: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 5 - m_Component: - - component: {fileID: 4000011066195266} - m_Layer: 2 - m_Name: cursor_sizeNorthSouth_ring - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!1 &1000010715023990 -GameObject: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 5 - m_Component: - - component: {fileID: 4000011695305602} - m_Layer: 2 - m_Name: cursor_cross_root - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 --- !u!1 &1000011258900396 GameObject: m_ObjectHideFlags: 1 @@ -83,7 +53,7 @@ GameObject: m_Component: - component: {fileID: 4000013324006586} m_Layer: 2 - m_Name: HandDetectedFeedback + m_Name: HandPressedFeedback m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -99,278 +69,259 @@ GameObject: - component: {fileID: 4000011699401982} - component: {fileID: 114000010331726594} m_Layer: 2 - m_Name: FeedbackParent + m_Name: PressedFeedbackParent m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000012125673284 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 5 - m_Component: - - component: {fileID: 4000012320641616} - - component: {fileID: 33000014094570260} - - component: {fileID: 23000010103078400} - - component: {fileID: 114744643079280608} - m_Layer: 2 - m_Name: CursorVisual - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!1 &1000012742806780 +--- !u!1 &1188644988713234 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 5 m_Component: - - component: {fileID: 4000010087820484} + - component: {fileID: 4135496477122634} + - component: {fileID: 33212422615190240} + - component: {fileID: 23787470340576556} m_Layer: 2 - m_Name: cursor_sizeNorthSouth_ring_press_scale + m_Name: cursor_sizeNorthSouth_ring_interaction m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000012762340454 +--- !u!1 &1365520034809534 GameObject: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 5 m_Component: - - component: {fileID: 4000010452078394} + - component: {fileID: 4655523389939946} m_Layer: 2 - m_Name: Cursor_Ring + m_Name: HandDetectedFeedback m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000013020990872 +--- !u!1 &1692019640059370 GameObject: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 5 m_Component: - - component: {fileID: 4000013622417028} + - component: {fileID: 4175304816852270} + - component: {fileID: 33593290910560480} + - component: {fileID: 23766520316925226} + - component: {fileID: 114076802276583352} m_Layer: 2 - m_Name: cursor_sizeNorthSouth_ring_interaction_root + m_Name: CursorOnHolograms m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000013805455168 +--- !u!1 &1744576705019378 GameObject: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 5 m_Component: - - component: {fileID: 4000013060984414} + - component: {fileID: 4675138956891490} + - component: {fileID: 108642872807273942} m_Layer: 2 - m_Name: ring_observation_scale + m_Name: CursorOffHolograms m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1000014030841020 +--- !u!1 &1879782099030682 GameObject: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} serializedVersion: 5 m_Component: - - component: {fileID: 4000010841534134} + - component: {fileID: 4014551101990556} + - component: {fileID: 114290255652871954} m_Layer: 2 - m_Name: Cursor_SizeNorthSouth + m_Name: DetectedFeedbackParent m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &4000010087820484 -Transform: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012742806780} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0, y: 0, z: 0.004} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 4000011066195266} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000010452078394 +--- !u!4 &4000011699401982 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012762340454} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 1000011704672682} + 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_Children: - - {fileID: 4000013060984414} - m_Father: {fileID: 4000013324006586} - m_RootOrder: 0 + - {fileID: 4000013324006586} + m_Father: {fileID: 4000013243965410} + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000010841534134 +--- !u!4 &4000012440933642 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000014030841020} - 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_Children: - - {fileID: 4000011695305602} - - {fileID: 4000011066195266} + m_GameObject: {fileID: 1000010093781024} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0017081683, y: 0.001378314, z: 0.0027336478} + m_LocalScale: {x: 0.028533882, y: 0.025535915, z: 0.03006477} + m_Children: [] m_Father: {fileID: 4000013324006586} - m_RootOrder: 1 + m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000011066195266 +--- !u!4 &4000013243965410 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010322050210} + m_GameObject: {fileID: 1000010024638574} 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_Children: - - {fileID: 4000013622417028} - - {fileID: 4000010087820484} - m_Father: {fileID: 4000010841534134} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000011695305602 -Transform: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010715023990} - 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_Children: [] - m_Father: {fileID: 4000010841534134} + - {fileID: 4175304816852270} + - {fileID: 4675138956891490} + - {fileID: 4014551101990556} + - {fileID: 4000011699401982} + m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000011699401982 +--- !u!4 &4000013324006586 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000011704672682} + m_GameObject: {fileID: 1000011258900396} 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_LocalPosition: {x: 0, y: 0, z: -0.01} + m_LocalScale: {x: 1.5, y: 1.5, z: 1} m_Children: - - {fileID: 4000013324006586} - m_Father: {fileID: 4000013243965410} + - {fileID: 4000012440933642} + m_Father: {fileID: 4000011699401982} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000012320641616 +--- !u!4 &4014551101990556 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012125673284} + m_GameObject: {fileID: 1879782099030682} 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_Children: [] + m_Children: + - {fileID: 4655523389939946} m_Father: {fileID: 4000013243965410} - m_RootOrder: 1 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000012440933642 +--- !u!4 &4135496477122634 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010093781024} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0.0017081683, y: 0.0013783139, z: -0.0012663525} - m_LocalScale: {x: 0.02853388, y: 0.025535913, z: 0.03006477} + m_GameObject: {fileID: 1188644988713234} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0017081683, y: 0.001378314, z: 0.0027336478} + m_LocalScale: {x: 0.028533882, y: 0.025535915, z: 0.03006477} m_Children: [] - m_Father: {fileID: 4000013622417028} + m_Father: {fileID: 4655523389939946} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000013060984414 +--- !u!4 &4175304816852270 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000013805455168} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0, y: 0, z: 0.002} - m_LocalScale: {x: 1, y: 1, z: 1} + m_GameObject: {fileID: 1692019640059370} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.15, y: 1.15, z: 2.5} m_Children: [] - m_Father: {fileID: 4000010452078394} + m_Father: {fileID: 4000013243965410} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000013243965410 +--- !u!4 &4655523389939946 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010024638574} + m_GameObject: {fileID: 1365520034809534} 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_LocalPosition: {x: 0, y: 0, z: -0.01} + m_LocalScale: {x: 1.5, y: 1.5, z: 1} m_Children: - - {fileID: 4000011699401982} - - {fileID: 4000012320641616} - m_Father: {fileID: 0} + - {fileID: 4135496477122634} + m_Father: {fileID: 4014551101990556} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000013324006586 +--- !u!4 &4675138956891490 Transform: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000011258900396} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -0.01} - m_LocalScale: {x: 1.5, y: 1.5, z: 1} - m_Children: - - {fileID: 4000010452078394} - - {fileID: 4000010841534134} - m_Father: {fileID: 4000011699401982} - m_RootOrder: 0 + m_GameObject: {fileID: 1744576705019378} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 4000013243965410} + m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4000013622417028 -Transform: +--- !u!23 &23000011644528258 +MeshRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000013020990872} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0, y: 0, z: 0.004} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 4000012440933642} - m_Father: {fileID: 4000011066195266} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &23000010103078400 + m_GameObject: {fileID: 1000010093781024} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: a4af844808c503d4dbe22d7d215745b1, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23766520316925226 MeshRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012125673284} + m_GameObject: {fileID: 1692019640059370} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -399,12 +350,12 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!23 &23000011644528258 +--- !u!23 &23787470340576556 MeshRenderer: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000010093781024} + m_GameObject: {fileID: 1188644988713234} m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 @@ -440,13 +391,56 @@ MeshFilter: m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1000010093781024} m_Mesh: {fileID: 4300000, guid: 20553dcf305b52a4e84f5e4f56e5afdc, type: 3} ---- !u!33 &33000014094570260 +--- !u!33 &33212422615190240 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1188644988713234} + m_Mesh: {fileID: 4300000, guid: 20553dcf305b52a4e84f5e4f56e5afdc, type: 3} +--- !u!33 &33593290910560480 MeshFilter: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012125673284} + m_GameObject: {fileID: 1692019640059370} m_Mesh: {fileID: 4300000, guid: c1000081192be7347a0ad0c380ed6171, type: 3} +--- !u!108 &108642872807273942 +Light: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1744576705019378} + m_Enabled: 1 + serializedVersion: 8 + m_Type: 2 + m_Color: {r: 0.8039216, g: 0.6431373, b: 0.9529412, a: 1} + m_Intensity: 1 + m_Range: 0.05 + m_SpotAngle: 30 + m_CookieSize: 10 + m_Shadows: + m_Type: 0 + m_Resolution: -1 + m_CustomResolution: -1 + m_Strength: 1 + m_Bias: 0.05 + m_NormalBias: 0.4 + m_NearPlane: 0.2 + m_Cookie: {fileID: 0} + m_DrawHalo: 1 + m_Flare: {fileID: 0} + m_RenderMode: 0 + m_CullingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_Lightmapping: 4 + m_AreaSize: {x: 1, y: 1} + m_BounceIntensity: 0 + m_ColorTemperature: 6570 + m_UseColorTemperature: 0 + m_ShadowRadius: 0 + m_ShadowAngle: 0 --- !u!114 &114000010331726594 MonoBehaviour: m_ObjectHideFlags: 1 @@ -458,8 +452,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} m_Name: m_EditorClassIdentifier: - PivotAxis: 0 - TargetTransform: {fileID: 0} + pivotAxis: 0 --- !u!114 &114000011803902180 MonoBehaviour: m_ObjectHideFlags: 1 @@ -482,26 +475,44 @@ MonoBehaviour: LookRotationBlend: 0.5 PrimaryCursorVisual: {fileID: 0} CursorStateData: - - Name: Over Object No Hands + - Name: On Hologram No Hands CursorState: 1 - CursorObject: {fileID: 1000012125673284} - - Name: Hands Visible - CursorState: 2 - CursorObject: {fileID: 1000011704672682} - - Name: Over Object With Hands + CursorObject: {fileID: 1692019640059370} + - Name: On Hologram With Hands CursorState: 3 + CursorObject: {fileID: 1879782099030682} + - Name: Off Hologram No Hands + CursorState: 0 + CursorObject: {fileID: 1744576705019378} + - Name: Off Hologram With Hands + CursorState: 2 + CursorObject: {fileID: 1879782099030682} + - Name: Select Pressed + CursorState: 4 CursorObject: {fileID: 1000011704672682} ParentTransform: {fileID: 0} ---- !u!114 &114744643079280608 +--- !u!114 &114076802276583352 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1000012125673284} + m_GameObject: {fileID: 1692019640059370} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: bfa899d3f9dc64e41871228531b59783, type: 3} m_Name: m_EditorClassIdentifier: - radius: 0.15 + radius: 0.05 color: {r: 0.3, g: 0.3, b: 0.3, a: 1} +--- !u!114 &114290255652871954 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1879782099030682} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} + m_Name: + m_EditorClassIdentifier: + pivotAxis: 0 diff --git a/Assets/HoloToolkit/Input/Prefabs/InputManager.prefab b/Assets/HoloToolkit/Input/Prefabs/InputManager.prefab index 4ce3d574537..48463b88f40 100644 --- a/Assets/HoloToolkit/Input/Prefabs/InputManager.prefab +++ b/Assets/HoloToolkit/Input/Prefabs/InputManager.prefab @@ -288,6 +288,7 @@ Camera: m_TargetEye: 3 m_HDR: 0 m_AllowMSAA: 0 + m_AllowDynamicResolution: 0 m_ForceIntoRT: 0 m_OcclusionCulling: 0 m_StereoConvergence: 10 @@ -514,7 +515,10 @@ MonoBehaviour: m_EditorClassIdentifier: ControllerPointerStabilizer: {fileID: 114345042324023316} Cursor: {fileID: 0} - SearchForCursorIfUnset: 1 + searchForCursorIfUnset: 1 + autoselectBestAvailable: 0 + linePointerPrefab: {fileID: 1071219928950220, guid: 7dd8661d4bacf2546a0237daef280291, + type: 2} --- !u!114 &114749671304188880 MonoBehaviour: m_ObjectHideFlags: 1 diff --git a/Assets/HoloToolkit/Input/Prefabs/LeftHandInputControl.prefab b/Assets/HoloToolkit/Input/Prefabs/LeftHandInputControl.prefab index 6362f30bc99..a5faa190eda 100644 --- a/Assets/HoloToolkit/Input/Prefabs/LeftHandInputControl.prefab +++ b/Assets/HoloToolkit/Input/Prefabs/LeftHandInputControl.prefab @@ -201,6 +201,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -216,6 +217,7 @@ MeshRenderer: m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 m_SelectedEditorRenderState: 3 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -326,6 +328,8 @@ MonoBehaviour: m_EditorClassIdentifier: SupportsPosition: 1 SupportsRotation: 0 + SupportsGripPosition: 1 + SupportsGripRotation: 0 SupportsRay: 0 SupportsMenuButton: 0 SupportsGrasp: 0 @@ -333,6 +337,8 @@ MonoBehaviour: SourceKind: 1 ControllerPosition: {x: 0, y: 0, z: 0} ControllerRotation: {x: 0, y: 0, z: 0, w: 0} + ControllerGripPosition: {x: 0, y: 0, z: 0} + ControllerGripRotation: {x: 0, y: 0, z: 0, w: 0} currentButtonStates: IsSelectButtonDown: 0 SelectButtonStateChanged: 0 @@ -344,6 +350,7 @@ MonoBehaviour: ManipulationInProgress: 0 HoldInProgress: 0 CumulativeDelta: {x: 0, y: 0, z: 0} + CumulativeGripDelta: {x: 0, y: 0, z: 0} manipulationStartMovementThreshold: 0.03 --- !u!114 &114832010102587794 MonoBehaviour: diff --git a/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab b/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab new file mode 100644 index 00000000000..08e019fa063 --- /dev/null +++ b/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab @@ -0,0 +1,326 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1071219928950220} + m_IsPrefabParent: 1 +--- !u!1 &1071219928950220 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4249092239764520} + - component: {fileID: 114864358960263782} + - component: {fileID: 114072886165955432} + - component: {fileID: 114599709742384530} + - component: {fileID: 114508479835528396} + m_Layer: 0 + m_Name: LinearControllerPointer + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4249092239764520 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1071219928950220} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &114072886165955432 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1071219928950220} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: df317dc594e50444da58008aa4ee1475, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 6 + handedness: 0 + SetChildrenInactiveWhenDetached: 1 + PositionOffset: {x: 0, y: 0, z: 0} + RotationOffset: {x: 0, y: 0, z: 0} + ScaleOffset: {x: 1, y: 1, z: 1} + SetScaleOnAttach: 0 + CurrentPointerOrientation: 0 + RaycastOrigin: {fileID: 0} + LineColorSelected: + serializedVersion: 2 + key0: {r: 0.52156866, g: 0.52156866, b: 0.52156866, a: 0} + key1: {r: 0.32156864, g: 0.32156864, b: 0.32156864, a: 1} + key2: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineColorValid: + serializedVersion: 2 + key0: {r: 0.52156866, g: 0.52156866, b: 0.52156866, a: 0} + key1: {r: 0.32156864, g: 0.32156864, b: 0.32156864, a: 1} + key2: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineColorNoTarget: + serializedVersion: 2 + key0: {r: 0.52156866, g: 0.52156866, b: 0.52156866, a: 0} + key1: {r: 0.32156864, g: 0.32156864, b: 0.32156864, a: 1} + key2: {r: 0.15294118, g: 0.15294118, b: 0.15294118, a: 1} + 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: 33751 + ctime2: 65535 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 4981 + atime2: 60554 + atime3: 65535 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 3 + m_NumAlphaKeys: 4 + LineCastResolution: 25 + LineBase: {fileID: 0} + LineRenderers: [] +--- !u!114 &114508479835528396 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1071219928950220} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9a4d6e2d0d55194788e9a2df9c0261f, type: 3} + m_Name: + m_EditorClassIdentifier: + source: {fileID: 114599709742384530} + LineColor: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, 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_NumColorKeys: 2 + m_NumAlphaKeys: 2 + LineWidth: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + WidthMultiplier: 0.1 + ColorOffset: 0 + WidthOffset: 0 + RotationOffset: 0 + StepMode: 0 + NumLineSteps: 10 + InterpolationMode: 1 + StepLength: 0.05 + MaxLineSteps: 2048 + StepLengthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: -0.5 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.5 + inSlope: -0.5 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + LineMaterial: {fileID: 2100000, guid: d9f5efc2f1dfc6846a9ebeac2f029eff, type: 2} + RoundedEdges: 1 + RoundedCaps: 1 + lineRenderer: {fileID: 0} +--- !u!114 &114599709742384530 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1071219928950220} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bec4b46028f8fb94c9b03b88fca37bd6, type: 3} + m_Name: + m_EditorClassIdentifier: + LineStartClamp: 0 + LineEndClamp: 1 + RotationType: 1 + FlipUpVector: 0 + OriginOffset: {x: 0, y: 0, z: 0} + ManualUpVectorBlend: 0 + ManualUpVectors: + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + VelocitySearchRange: 0.02 + VelocityBlend: 0.5 + DistortionType: 0 + DistortionStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + UniformDistortionStrength: 1 + distorters: [] + loops: 0 + Start: {x: 0, y: 0, z: 0} + End: {x: 1, y: 1, z: 1} +--- !u!114 &114864358960263782 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1071219928950220} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3be3fb966fbcc0f44add9a39d15cd3d0, type: 3} + m_Name: + m_EditorClassIdentifier: + distortOrder: 0 + distortStrength: 1 + LocalCenterOfGravity: {x: 0, y: 0, z: 0} + AxisStrength: {x: 1, y: 1, z: 1} + Radius: 0.5 + GravityStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 diff --git a/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab.meta b/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab.meta new file mode 100644 index 00000000000..210b4da0245 --- /dev/null +++ b/Assets/HoloToolkit/Input/Prefabs/LinearControllerPointer.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7dd8661d4bacf2546a0237daef280291 +timeCreated: 1525392173 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Prefabs/RightHandInputControl.prefab b/Assets/HoloToolkit/Input/Prefabs/RightHandInputControl.prefab index 7ce16a5fc87..dc90b4b7e63 100644 --- a/Assets/HoloToolkit/Input/Prefabs/RightHandInputControl.prefab +++ b/Assets/HoloToolkit/Input/Prefabs/RightHandInputControl.prefab @@ -201,6 +201,7 @@ MeshRenderer: m_Enabled: 1 m_CastShadows: 1 m_ReceiveShadows: 1 + m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 @@ -216,6 +217,7 @@ MeshRenderer: m_PreserveUVs: 1 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 + m_StitchLightmapSeams: 0 m_SelectedEditorRenderState: 3 m_MinimumChartSize: 4 m_AutoUVMaxDistance: 0.5 @@ -318,6 +320,8 @@ MonoBehaviour: m_EditorClassIdentifier: SupportsPosition: 1 SupportsRotation: 0 + SupportsGripPosition: 1 + SupportsGripRotation: 0 SupportsRay: 0 SupportsMenuButton: 0 SupportsGrasp: 0 @@ -325,6 +329,8 @@ MonoBehaviour: SourceKind: 1 ControllerPosition: {x: 0, y: 0, z: 0} ControllerRotation: {x: 0, y: 0, z: 0, w: 0} + ControllerGripPosition: {x: 0, y: 0, z: 0} + ControllerGripRotation: {x: 0, y: 0, z: 0, w: 0} currentButtonStates: IsSelectButtonDown: 0 SelectButtonStateChanged: 0 @@ -336,6 +342,7 @@ MonoBehaviour: ManipulationInProgress: 0 HoldInProgress: 0 CumulativeDelta: {x: 0, y: 0, z: 0} + CumulativeGripDelta: {x: 0, y: 0, z: 0} manipulationStartMovementThreshold: 0.03 --- !u!114 &114983783085117614 MonoBehaviour: diff --git a/Assets/HoloToolkit/Input/README.md b/Assets/HoloToolkit/Input/README.md index 4202c9b7bbd..ce6efc8d465 100644 --- a/Assets/HoloToolkit/Input/README.md +++ b/Assets/HoloToolkit/Input/README.md @@ -37,6 +37,7 @@ Game objects that want to consume input events can implement one or many **input - **IDictationHandler** for speech to text dictation. - **IGamePadHandler** for generic gamepad events. - **IXboxControllerHandler** for Xbox One Controller events. +- **IBoundingBoxStateHandler** for Bounding Box Rig events. The **input manager** listens to the various events coming from the input sources, and also takes into account the gaze. Currently, that gaze is always coming from the GazeManager class, but this could be extended to support multiple gaze sources if the need arises. @@ -265,6 +266,9 @@ Event data for an event that represents the amount of depression of a trigger. ##### XboxControllerEventData.cs Event data for an event coming from an Xbox controller source. +##### BoundingBoxEventData.cs +Event data for an event coming from a bounding box rig in the scene. + #### InputHandlers ##### IControllerInputHandler.cs @@ -317,6 +321,9 @@ Interface that a game object can implement to react to a keyword being recognize ##### IXboxControllerHandler.cs Interface that a game object can implement to react to Xbox Controller events. +##### IBoundingBoxStateHandler.cs +Interface that a game object behavior can implement to react to bounding box rig events. + #### InputSources ##### BaseInputSource.cs diff --git a/Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs b/Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs index 9408b908de4..70aa332f4b6 100644 --- a/Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs +++ b/Assets/HoloToolkit/Input/Scripts/Cursor/Cursor.cs @@ -20,7 +20,24 @@ public abstract class Cursor : MonoBehaviour, ICursor /// /// The pointer that this cursor should follow and process input from. /// - public IPointingSource Pointer { get; set; } + public IPointingSource Pointer + { + get { return pointer; } + set + { + // This value is used to determine the cursor's default distance. + // It is cached here to prevent repeated casting in the update loop. + pointerIsInputSourcePointer = value is InputSourcePointer; + pointer = value; + } + } + private IPointingSource pointer; + + /// + /// Cached value if the pointer is of type InputSourcePointer, + /// to prevent repeated casting in the update loop. + /// + private bool pointerIsInputSourcePointer = false; /// /// Minimum distance for cursor if nothing is hit @@ -110,6 +127,12 @@ public Vector3 LocalScale private Vector3 targetScale; private Quaternion targetRotation; + /// + /// Keeps track of the starting setting for DefaultCursorDistance, + /// to revert after a pointer overrides the value. + /// + private float originalDefaultCursorDistance; + /// /// Indicates if the cursor should be visible /// @@ -126,6 +149,8 @@ public bool IsVisible private void Awake() { + originalDefaultCursorDistance = DefaultCursorDistance; + // Use the setter to update visibility of the cursor at startup based on user preferences IsVisible = isVisible; SetVisibility(isVisible); @@ -179,6 +204,10 @@ private void OnDestroy() /// protected virtual void RegisterManagers() { + // This accounts for any input sources that were detected before we register as a global listener below. + visibleHandsCount = (uint)InputManager.Instance.DetectedInputSources.Count; + IsHandVisible = visibleHandsCount > 0; + // Register the cursor as a global listener, so that it can always get input events it cares about InputManager.Instance.AddGlobalListener(gameObject); @@ -298,6 +327,21 @@ protected virtual void UpdateCursorTransform() TargetedObject = null; TargetedCursorModifier = null; + if (pointerIsInputSourcePointer) + { + // This value get re-queried every update, in case the app has + // changed the pointing extent of the pointer for the current scenario. + float distance = FocusManager.Instance.GetPointingExtent(Pointer); + if (DefaultCursorDistance != distance) + { + DefaultCursorDistance = distance; + } + } + else if (DefaultCursorDistance != originalDefaultCursorDistance) + { + DefaultCursorDistance = originalDefaultCursorDistance; + } + targetPosition = RayStep.GetPointByDistance(Pointer.Rays, DefaultCursorDistance); lookForward = -RayStep.GetDirectionByDistance(Pointer.Rays, DefaultCursorDistance); targetRotation = lookForward.magnitude > 0 ? Quaternion.LookRotation(lookForward, Vector3.up) : transform.rotation; diff --git a/Assets/HoloToolkit/Input/Scripts/Focus/FocusManager.cs b/Assets/HoloToolkit/Input/Scripts/Focus/FocusManager.cs index da97e6fd77b..4ffdfeb96aa 100644 --- a/Assets/HoloToolkit/Input/Scripts/Focus/FocusManager.cs +++ b/Assets/HoloToolkit/Input/Scripts/Focus/FocusManager.cs @@ -73,6 +73,8 @@ private void Update() [SerializeField] private float pointingExtent = 10f; + public float GlobalPointingExtent { get { return pointingExtent; } } + /// /// The LayerMasks, in prioritized order, that are used to determine the HitObject when raycasting. /// diff --git a/Assets/HoloToolkit/Input/Scripts/Focus/InputSourcePointer.cs b/Assets/HoloToolkit/Input/Scripts/Focus/InputSourcePointer.cs index 84840c430b6..0019b1e9abb 100644 --- a/Assets/HoloToolkit/Input/Scripts/Focus/InputSourcePointer.cs +++ b/Assets/HoloToolkit/Input/Scripts/Focus/InputSourcePointer.cs @@ -5,6 +5,10 @@ using UnityEngine; using UnityEngine.EventSystems; +#if UNITY_WSA && UNITY_2017_2_OR_NEWER +using UnityEngine.XR.WSA.Input; +#endif + namespace HoloToolkit.Unity.InputModule { /// @@ -48,8 +52,12 @@ public bool InteractionEnabled public bool FocusLocked { get; set; } + public PointerLine PointerRay { get; set; } + private RayStep[] rays = new RayStep[1] { new RayStep(Vector3.zero, Vector3.forward) }; + private bool selectPressed = false; + [Obsolete("Will be removed in a later version. Use OnPreRaycast / OnPostRaycast instead.")] public void UpdatePointer() { @@ -65,11 +73,49 @@ public virtual void OnPreRaycast() { Debug.Assert(InputSource.SupportsInputInfo(InputSourceId, SupportedInputInfo.Pointing), string.Format("{0} with id {1} does not support pointing!", InputSource, InputSourceId)); +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + // For visualization with controllers, we don't want to use the event-based data the InputManager has. + // Instead, we query the source states manually here. + InteractionSourceState[] currentReading = InteractionManager.GetCurrentReading(); + for (int i = 0; i < currentReading.Length; i++) + { + InteractionSourceState sourceState = currentReading[i]; + + if (sourceState.source.id != InputSourceId) + { + continue; + } + + selectPressed = sourceState.selectPressed; + + Vector3 position; + Vector3 forward; + + if (!sourceState.sourcePose.TryGetPosition(out position)) + { + return; + } + + if (!sourceState.sourcePose.TryGetForward(out forward, InteractionSourceNode.Pointer)) + { + return; + } + + if (CameraCache.Main.transform.parent != null) + { + position = CameraCache.Main.transform.parent.TransformPoint(position); + forward = CameraCache.Main.transform.parent.TransformDirection(forward); + } + + rays[0].CopyRay(new Ray(position, forward), FocusManager.Instance.GetPointingExtent(this)); + } +#else Ray pointingRay; if (InputSource.TryGetPointingRay(InputSourceId, out pointingRay)) { rays[0].CopyRay(pointingRay, FocusManager.Instance.GetPointingExtent(this)); } +#endif } if (RayStabilizer != null) @@ -81,7 +127,10 @@ public virtual void OnPreRaycast() public virtual void OnPostRaycast() { - // Nothing needed + if (PointerRay != null) + { + PointerRay.UpdateRenderedLine(rays, Result, selectPressed, FocusManager.Instance.GetPointingExtent(this)); + } } public bool OwnsInput(BaseEventData eventData) diff --git a/Assets/HoloToolkit/Input/Scripts/Focus/SimpleSinglePointerSelector.cs b/Assets/HoloToolkit/Input/Scripts/Focus/SimpleSinglePointerSelector.cs index 604a7c5375a..9e9fecb54aa 100644 --- a/Assets/HoloToolkit/Input/Scripts/Focus/SimpleSinglePointerSelector.cs +++ b/Assets/HoloToolkit/Input/Scripts/Focus/SimpleSinglePointerSelector.cs @@ -3,6 +3,10 @@ using UnityEngine; +#if UNITY_WSA && UNITY_2017_2_OR_NEWER +using UnityEngine.XR.WSA.Input; +#endif + namespace HoloToolkit.Unity.InputModule { /// @@ -21,8 +25,21 @@ public class SimpleSinglePointerSelector : MonoBehaviour, ISourceStateHandler, I [Tooltip("The cursor, if any, which should follow the selected pointer.")] public Cursor Cursor; - [Tooltip("True to search for a cursor if one isn't explicitly set.")] - public bool SearchForCursorIfUnset = true; + [Tooltip("If true, search for a cursor if one isn't explicitly set.")] + [SerializeField] + private bool searchForCursorIfUnset = true; + public bool SearchForCursorIfUnset { get { return searchForCursorIfUnset; } set { searchForCursorIfUnset = value; } } + + [Tooltip("If true, always select the best pointer available (OS behavior does not auto-select).")] + [SerializeField] + private bool autoselectBestAvailable = false; + public bool AutoselectBestAvailable { get { return autoselectBestAvailable; } set { autoselectBestAvailable = value; } } + + [Tooltip("The line pointer prefab to use, if any.")] + [SerializeField] + private GameObject linePointerPrefab = null; + + private PointerLine instantiatedPointerLine; #endregion @@ -72,7 +89,11 @@ private void OnDisable() void ISourceStateHandler.OnSourceDetected(SourceStateEventData eventData) { - // Nothing to do on source detected. + // If a pointing controller just became available, set it as primary. + if (autoselectBestAvailable && SupportsPointingRay(eventData)) + { + ConnectBestAvailablePointer(); + } } void ISourceStateHandler.OnSourceLost(SourceStateEventData eventData) @@ -117,7 +138,7 @@ private void RemoveInputManagerListenerIfNeeded() private void FindCursorIfNeeded() { - if ((Cursor == null) && SearchForCursorIfUnset) + if ((Cursor == null) && searchForCursorIfUnset) { Debug.LogWarningFormat( this, @@ -173,6 +194,11 @@ private void SetPointer(IPointingSource newPointer) } Debug.Assert(currentPointer != null, "No Pointer Set!"); + + if (IsGazePointerActive) + { + DetachInputSourcePointer(); + } } private void ConnectBestAvailablePointer() @@ -276,6 +302,45 @@ private void AttachInputSourcePointer(IInputSource inputSource, uint sourceId) inputSourcePointer.OwnAllInput = false; inputSourcePointer.ExtentOverride = null; inputSourcePointer.PrioritizedLayerMasksOverride = null; + + InteractionInputSource interactionInputSource = inputSource as InteractionInputSource; + + // If the InputSource is not an InteractionInputSource, we don't display any ray visualizations. + if (interactionInputSource == null) + { + return; + } + + // If no pointing ray prefab has been provided, we return early as there's nothing to display. + if (linePointerPrefab == null) + { + return; + } + + // If the pointer line hasn't already been instantiated, create it and store it here. + if (instantiatedPointerLine == null) + { + instantiatedPointerLine = Instantiate(linePointerPrefab).GetComponent(); + } + + inputSourcePointer.PointerRay = instantiatedPointerLine; + + Handedness handedness; + if (interactionInputSource.TryGetHandedness(sourceId, out handedness)) + { +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + // This updates the handedness of the pointer line, allowing for re-use if it was already in the scene. + instantiatedPointerLine.ChangeHandedness((InteractionSourceHandedness)handedness); +#endif + } + } + + private void DetachInputSourcePointer() + { + if (instantiatedPointerLine != null) + { + Destroy(instantiatedPointerLine.gameObject); + } } private bool IsInputSourcePointerActive diff --git a/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs b/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs new file mode 100644 index 00000000000..1d2be3e9aa8 --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using UnityEngine.EventSystems; +using UnityEngine; + +namespace HoloToolkit.Unity.InputModule +{ + /// + /// Describes activity of a bounding box rig events. + /// + public class BoundingBoxEventData : BaseEventData + { + /// + /// The bounding box rigged object. + /// + public GameObject BoundingBoxRiggedObject { get; private set; } + + public BoundingBoxEventData(EventSystem eventSystem) : base(eventSystem) { } + + public void Initialize(GameObject boundingBoxRiggedObject) + { + Reset(); + + BoundingBoxRiggedObject = boundingBoxRiggedObject; + } + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs.meta b/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs.meta new file mode 100644 index 00000000000..73bc6f24491 --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/InputEventData/BoundingBoxEventData.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0aa7b43294004a14f95930abe9a3570c +timeCreated: 1524670280 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs b/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs new file mode 100644 index 00000000000..f1eab58020e --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using UnityEngine.EventSystems; + +namespace HoloToolkit.Unity.InputModule +{ + /// + /// Interface to implement reacting to bounding box rig's activation or deactivation. + /// + public interface IBoundingBoxStateHandler : IEventSystemHandler + { + void OnBoundingBoxRigActivated(BoundingBoxEventData eventData); + + void OnBoundingBoxRigDeactivated(BoundingBoxEventData eventData); + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs.meta b/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs.meta new file mode 100644 index 00000000000..1be1569b7de --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/InputHandlers/IBoundingBoxStateHandler.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 62f77c7b643eb7a41ab08e4982d33c1f +timeCreated: 1524670985 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Scripts/InputSources/CustomInputSource.cs b/Assets/HoloToolkit/Input/Scripts/InputSources/CustomInputSource.cs index 1e0d2d468db..ef21092f82a 100644 --- a/Assets/HoloToolkit/Input/Scripts/InputSources/CustomInputSource.cs +++ b/Assets/HoloToolkit/Input/Scripts/InputSources/CustomInputSource.cs @@ -46,23 +46,33 @@ public ButtonStates() public bool ManipulationInProgress; public bool HoldInProgress; public Vector3 CumulativeDelta; + public Vector3 CumulativeGripDelta; } + [Tooltip("This property now represents Pointer position (contrast with Grip position)")] public bool SupportsPosition; + [Tooltip("This property now represents Pointer rotation (contrast with Grip rotation)")] public bool SupportsRotation; + public bool SupportsGripPosition; + public bool SupportsGripRotation; public bool SupportsRay; public bool SupportsMenuButton; public bool SupportsGrasp; public bool RaiseEventsBasedOnVisibility; public InteractionSourceInfo SourceKind; + [Tooltip("This property now represents controller's Pointer position (contrast with controller Grip position)")] + public Vector3 ControllerPosition; + [Tooltip("This property now represents controller's Pointer rotation (contrast with controller Grip rotation)")] + public Quaternion ControllerRotation; + //Navigation Gesture Emulation vars Vector3 NavigatorValues = Vector3.zero; //holds the navigation gesture values [-1,1] Vector2 railUsedCurrently = Vector2.one; bool isNavigatorUsingRails = false; - public Vector3 ControllerPosition; - public Quaternion ControllerRotation; + public Vector3 ControllerGripPosition; + public Quaternion ControllerGripRotation; public Ray? PointingRay; @@ -93,12 +103,12 @@ public override SupportedInputInfo GetSupportedInputInfo(uint sourceId) if (SupportsPosition) { - supportedInputInfo |= SupportedInputInfo.Position; + supportedInputInfo |= SupportedInputInfo.PointerPosition; } if (SupportsRotation) { - supportedInputInfo |= SupportedInputInfo.Rotation; + supportedInputInfo |= SupportedInputInfo.PointerRotation; } if (SupportsRay) @@ -106,6 +116,16 @@ public override SupportedInputInfo GetSupportedInputInfo(uint sourceId) supportedInputInfo |= SupportedInputInfo.Pointing; } + if (SupportsGripPosition) + { + supportedInputInfo |= SupportedInputInfo.GripPosition; + } + + if (SupportsGripRotation) + { + supportedInputInfo |= SupportedInputInfo.GripRotation; + } + if (SupportsMenuButton) { supportedInputInfo |= SupportedInputInfo.Menu; @@ -173,9 +193,9 @@ public override bool TryGetGripPosition(uint sourceId, out Vector3 position) { Debug.Assert(sourceId == controllerId, "Controller data requested for a mismatched source ID."); - if (SupportsPosition) + if (SupportsGripPosition) { - position = ControllerPosition; + position = ControllerGripPosition; return true; } @@ -187,9 +207,9 @@ public override bool TryGetGripRotation(uint sourceId, out Quaternion rotation) { Debug.Assert(sourceId == controllerId, "Controller data requested for a mismatched source ID."); - if (SupportsRotation) + if (SupportsGripRotation) { - rotation = ControllerRotation; + rotation = ControllerGripRotation; return true; } @@ -387,6 +407,25 @@ private void UpdateControllerState(DebugInteractionSourceState source) PointingRay = source.SourcePose.PointerRay; } + if (SupportsGripPosition) + { + Vector3 controllerGripPosition; + if (source.SourcePose.TryGetGripPosition(out controllerGripPosition)) + { + currentButtonStates.CumulativeGripDelta += controllerGripPosition - ControllerGripPosition; + ControllerGripPosition = controllerGripPosition; + } + } + + if (SupportsGripRotation) + { + Quaternion controllerGripRotation; + if (source.SourcePose.TryGetGripRotation(out controllerGripRotation)) + { + ControllerGripRotation = controllerGripRotation; + } + } + if (SupportsMenuButton) { currentButtonStates.MenuButtonStateChanged = (currentButtonStates.IsMenuButtonDown != source.MenuPressed); diff --git a/Assets/HoloToolkit/Input/Scripts/InputSources/DictationInputManager.cs b/Assets/HoloToolkit/Input/Scripts/InputSources/DictationInputManager.cs index d8a2f98b33d..8fe97e3efb5 100644 --- a/Assets/HoloToolkit/Input/Scripts/InputSources/DictationInputManager.cs +++ b/Assets/HoloToolkit/Input/Scripts/InputSources/DictationInputManager.cs @@ -101,6 +101,7 @@ protected override void OnDestroy() #endregion // Unity Methods + /// /// Turns on the dictation recognizer and begins recording audio from the default microphone. /// @@ -167,6 +168,14 @@ public static IEnumerator StartRecording(GameObject listener = null, float initi /// public static IEnumerator StopRecording() { + yield return Instance.StopRecordingInternal(); + } + + /// + /// Ends the recording session. + /// + private IEnumerator StopRecordingInternal() + { #if UNITY_WSA || UNITY_STANDALONE_WIN if (!IsListening || isTransitioning) { @@ -190,6 +199,14 @@ public static IEnumerator StopRecording() dictationRecognizer.Stop(); } + StartCoroutine(FinishStopRecording()); +#else + return null; +#endif + } + + private IEnumerator FinishStopRecording() + { while (dictationRecognizer.Status == SpeechSystemStatus.Running) { yield return null; @@ -197,9 +214,6 @@ public static IEnumerator StopRecording() PhraseRecognitionSystem.Restart(); isTransitioning = false; -#else - return null; -#endif } #region Dictation Recognizer Callbacks diff --git a/Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs b/Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs index 1a9d2a8d400..b93dc8ff0b1 100644 --- a/Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs +++ b/Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs @@ -4,12 +4,12 @@ using UnityEngine; #if UNITY_WSA +using System.Collections.Generic; #if UNITY_2017_2_OR_NEWER using UnityEngine.XR.WSA.Input; #else using UnityEngine.VR.WSA.Input; #endif -using System.Collections.Generic; #endif namespace HoloToolkit.Unity.InputModule @@ -451,6 +451,21 @@ public void StopHaptics(uint sourceId) #endif } + public bool TryGetHandedness(uint sourceId, out Handedness handedness) + { +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + SourceData sourceData; + if (sourceIdToData.TryGetValue(sourceId, out sourceData)) + { + handedness = (Handedness)sourceData.Handedness; + return true; + } +#endif + + handedness = default(Handedness); + return false; + } + #region BaseInputSource implementations public override SupportedInputInfo GetSupportedInputInfo(uint sourceId) @@ -460,8 +475,10 @@ public override SupportedInputInfo GetSupportedInputInfo(uint sourceId) SourceData sourceData; if (sourceIdToData.TryGetValue(sourceId, out sourceData)) { - retVal |= GetSupportFlag(sourceData.PointerPosition, SupportedInputInfo.Position); - retVal |= GetSupportFlag(sourceData.PointerRotation, SupportedInputInfo.Rotation); + retVal |= GetSupportFlag(sourceData.PointerPosition, SupportedInputInfo.PointerPosition); + retVal |= GetSupportFlag(sourceData.PointerRotation, SupportedInputInfo.PointerRotation); + retVal |= GetSupportFlag(sourceData.GripPosition, SupportedInputInfo.GripPosition); + retVal |= GetSupportFlag(sourceData.GripRotation, SupportedInputInfo.GripRotation); retVal |= GetSupportFlag(sourceData.PointingRay, SupportedInputInfo.Pointing); retVal |= GetSupportFlag(sourceData.Thumbstick, SupportedInputInfo.Thumbstick); retVal |= GetSupportFlag(sourceData.Touchpad, SupportedInputInfo.Touchpad); @@ -665,7 +682,6 @@ private SupportedInputInfo GetSupportFlag(SourceCapability c #endregion #if UNITY_WSA - /// /// Gets the source data for the specified interaction source if it already exists, otherwise creates it. /// diff --git a/Assets/HoloToolkit/Input/Scripts/InputSources/SupportedInputInfo.cs b/Assets/HoloToolkit/Input/Scripts/InputSources/SupportedInputInfo.cs index 33c795fdd04..e58fa9142bf 100644 --- a/Assets/HoloToolkit/Input/Scripts/InputSources/SupportedInputInfo.cs +++ b/Assets/HoloToolkit/Input/Scripts/InputSources/SupportedInputInfo.cs @@ -12,13 +12,19 @@ namespace HoloToolkit.Unity.InputModule public enum SupportedInputInfo { None = 0, + [Obsolete("use PointerPosition")] Position = (1 << 0), + PointerPosition = (1 << 0), + [Obsolete("use PointerRotation")] Rotation = (1 << 1), + PointerRotation = (1 << 1), Pointing = (1 << 2), Thumbstick = (1 << 3), Touchpad = (1 << 4), Select = (1 << 5), Menu = (1 << 6), Grasp = (1 << 7), + GripPosition = (1 << 8), + GripRotation = (1 << 9) } } \ No newline at end of file diff --git a/Assets/HoloToolkit/Input/Scripts/InputSources/TouchscreenInputSource.cs b/Assets/HoloToolkit/Input/Scripts/InputSources/TouchscreenInputSource.cs index 6c91bf7fd5e..695d31f654d 100644 --- a/Assets/HoloToolkit/Input/Scripts/InputSources/TouchscreenInputSource.cs +++ b/Assets/HoloToolkit/Input/Scripts/InputSources/TouchscreenInputSource.cs @@ -215,7 +215,7 @@ public override bool TryGetGripRotation(uint sourceId, out Quaternion rotation) public override SupportedInputInfo GetSupportedInputInfo(uint sourceId) { - return SupportedInputInfo.Position | SupportedInputInfo.Pointing; + return SupportedInputInfo.PointerPosition | SupportedInputInfo.Pointing; } public override bool TryGetThumbstick(uint sourceId, out bool isPressed, out Vector2 position) diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/AttachToController.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/AttachToController.cs index 29b1b28343d..91c8592ede5 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/AttachToController.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/AttachToController.cs @@ -33,15 +33,7 @@ protected override void OnEnable() { SetChildrenActive(false); -#if UNITY_WSA && UNITY_2017_2_OR_NEWER - // Look if the controller has loaded. - if (MotionControllerVisualizer.Instance.TryGetControllerModel(Handedness, out ControllerInfo)) - { - AddControllerTransform(ControllerInfo); - } - MotionControllerVisualizer.Instance.OnControllerModelLoaded += AddControllerTransform; - MotionControllerVisualizer.Instance.OnControllerModelUnloaded += RemoveControllerTransform; -#endif + base.OnEnable(); } protected override void AddControllerTransform(MotionControllerInfo newController) @@ -51,8 +43,6 @@ protected override void AddControllerTransform(MotionControllerInfo newControlle { base.AddControllerTransform(newController); - SetChildrenActive(true); - // Parent ourselves under the element and set our offsets transform.parent = ElementTransform; transform.localPosition = PositionOffset; @@ -63,6 +53,8 @@ protected override void AddControllerTransform(MotionControllerInfo newControlle transform.localScale = ScaleOffset; } + SetChildrenActive(true); + // Announce that we're attached OnAttachToController(); @@ -80,10 +72,10 @@ protected override void RemoveControllerTransform(MotionControllerInfo oldContro OnDetachFromController(); - transform.parent = null; - SetChildrenActive(false); + transform.parent = null; + IsAttached = false; } #endif diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs new file mode 100644 index 00000000000..60be824e69d --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.InputModule; +using UnityEngine; + +public abstract class BaseControllerPointer : AttachToController +{ + [SerializeField] + [Range(0f, 360f)] + protected float CurrentPointerOrientation; + + [SerializeField] + [Tooltip("Source transform for raycast origin - leave null to use default transform")] + protected Transform RaycastOrigin; + + /// + /// The Y orientation of the pointer target - used for touchpad rotation and navigation + /// + public virtual float PointerOrientation + { + get + { + return CurrentPointerOrientation + (RaycastOrigin != null ? RaycastOrigin.eulerAngles.y : transform.eulerAngles.y); + } + set + { + CurrentPointerOrientation = value; + } + } + + /// + /// The forward direction of the targeting ray + /// + public virtual Vector3 PointerDirection + { + get { return RaycastOrigin != null ? RaycastOrigin.forward : transform.forward; } + } +} diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs.meta b/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs.meta new file mode 100644 index 00000000000..5b84cd0c3bc --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/BaseControllerPointer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8014ae724f8552b4b91da7104fc1769f +timeCreated: 1525892837 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/ControllerFinder.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/ControllerFinder.cs index ccee379bd7b..2e98566fc6f 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/ControllerFinder.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/ControllerFinder.cs @@ -37,21 +37,37 @@ public InteractionSourceHandedness Handedness private Transform elementTransform; protected MotionControllerInfo ControllerInfo; + + private bool started = false; #endif protected virtual void OnEnable() { #if UNITY_WSA && UNITY_2017_2_OR_NEWER - // Look if the controller has loaded. - if (MotionControllerVisualizer.Instance.TryGetControllerModel(handedness, out ControllerInfo)) + if (!MotionControllerVisualizer.ConfirmInitialized()) + { + // The motion controller visualizer singleton could not be found. + return; + } + + if (started) { - AddControllerTransform(ControllerInfo); + CheckModelAlreadyLoaded(); } + MotionControllerVisualizer.Instance.OnControllerModelLoaded += AddControllerTransform; MotionControllerVisualizer.Instance.OnControllerModelUnloaded += RemoveControllerTransform; #endif } + protected virtual void Start() + { +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + CheckModelAlreadyLoaded(); + started = true; +#endif + } + protected virtual void OnDisable() { #if UNITY_WSA && UNITY_2017_2_OR_NEWER @@ -74,10 +90,26 @@ protected virtual void OnDestroy() #endif } + /// + /// Allows the object to change which controller it tracks, based on handedness. + /// + /// The new handedness to track. Does nothing if the handedness doesn't change. +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + public void ChangeHandedness(InteractionSourceHandedness newHandedness) + { + if (newHandedness != handedness) + { + RemoveControllerTransform(ControllerInfo); + handedness = newHandedness; + CheckModelAlreadyLoaded(); + } + } +#endif + protected virtual void AddControllerTransform(MotionControllerInfo newController) { #if UNITY_WSA && UNITY_2017_2_OR_NEWER - if (newController.Handedness == handedness) + if (newController.Handedness == handedness && !newController.Equals(ControllerInfo)) { if (!newController.TryGetElement(element, out elementTransform)) { @@ -100,6 +132,27 @@ protected virtual void RemoveControllerTransform(MotionControllerInfo oldControl ControllerInfo = null; ElementTransform = null; } +#endif + } + + /// + /// Look if the controller was already loaded. This could happen if the + /// GameObject was instantiated at runtime and the model loaded event has already fired. + /// + private void CheckModelAlreadyLoaded() + { + if (!MotionControllerVisualizer.ConfirmInitialized()) + { + // The motion controller visualizer singleton could not be found. + return; + } + +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + MotionControllerInfo newController; + if (MotionControllerVisualizer.Instance.TryGetControllerModel(handedness, out newController)) + { + AddControllerTransform(newController); + } #endif } } diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/CustomInputControl.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/CustomInputControl.cs index fc97edecd9a..0bec1e7a23f 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/CustomInputControl.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/CustomInputControl.cs @@ -78,6 +78,10 @@ private void Awake() InitialPosition = localPosition; ControllerSourceState.SourcePose.Position = localPosition; ControllerSourceState.SourcePose.Rotation = ControllerVisualizer.transform.rotation; + // we reuse localPosition here as we have no real way to source a grip position + // in the Editor, other than an arbitrary offset + ControllerSourceState.SourcePose.GripPosition = localPosition; + ControllerSourceState.SourcePose.GripRotation = ControllerVisualizer.transform.rotation; visualRenderer = ControllerVisualizer.GetComponent(); visualPropertyBlock = new MaterialPropertyBlock(); @@ -170,6 +174,7 @@ private void Update() localPosition += translate; ControllerSourceState.SourcePose.Position = CameraCache.Main.transform.position + CameraCache.Main.transform.TransformVector(localPosition); + ControllerSourceState.SourcePose.GripPosition = CameraCache.Main.transform.position + CameraCache.Main.transform.TransformVector(localPosition); ControllerVisualizer.transform.position = ControllerSourceState.SourcePose.Position; ControllerVisualizer.transform.forward = CameraCache.Main.transform.forward; diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/DebugInteractionSourcePose.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/DebugInteractionSourcePose.cs index e370c788fab..8f1086061db 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/DebugInteractionSourcePose.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/DebugInteractionSourcePose.cs @@ -19,17 +19,23 @@ public class DebugInteractionSourcePose public bool TryGetFunctionsReturnTrue; public bool IsPositionAvailable; public bool IsRotationAvailable; + public bool IsGripPositionAvailable; + public bool IsGripRotationAvailable; public Vector3 Position; public Vector3 Velocity; public Quaternion Rotation; public Ray? PointerRay; + public Vector3 GripPosition; + public Quaternion GripRotation; public DebugInteractionSourcePose() { TryGetFunctionsReturnTrue = false; IsPositionAvailable = false; IsRotationAvailable = false; + IsGripPositionAvailable = false; + IsGripRotationAvailable = false; Position = new Vector3(0, 0, 0); Velocity = new Vector3(0, 0, 0); Rotation = Quaternion.identity; @@ -38,7 +44,7 @@ public DebugInteractionSourcePose() public bool TryGetPosition(out Vector3 position) { position = Position; - if (!TryGetFunctionsReturnTrue) + if (!TryGetFunctionsReturnTrue) // TODO: bug? does not test IsPositionAvailable (see TryGetRotation) { return false; } @@ -74,5 +80,25 @@ public bool TryGetPointerRay(out Ray pointerRay) } return true; } + + public bool TryGetGripPosition(out Vector3 position) + { + position = GripPosition; + if (!TryGetFunctionsReturnTrue) // TODO: should test IsGripPositionAvailable? (see TryGetPosition) + { + return false; + } + return true; + } + + public bool TryGetGripRotation(out Quaternion rotation) + { + rotation = GripRotation; + if (!TryGetFunctionsReturnTrue || !IsGripRotationAvailable) + { + return false; + } + return true; + } } } \ No newline at end of file diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/HandDraggable.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/HandDraggable.cs index 1a6bfb3a064..7d4d27dc598 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/HandDraggable.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/HandDraggable.cs @@ -360,19 +360,19 @@ public void OnInputDown(InputEventData eventData) eventData.InputSource.TryGetSourceKind(eventData.SourceId, out sourceKind); if (sourceKind != InteractionSourceInfo.Hand) { - if (!eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.Position)) + if (!eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.GripPosition)) { - // The input source must provide positional data for this script to be usable + // The input source must provide grip positional data for this script to be usable return; } } #else - if (!eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.Position)) + if (!eventData.InputSource.SupportsInputInfo(eventData.SourceId, SupportedInputInfo.PointerPosition)) { // The input source must provide positional data for this script to be usable return; } -#endif +#endif // UNITY_2017_2_OR_NEWER eventData.Use(); // Mark the event as used, so it doesn't fall through to other handlers. diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs new file mode 100644 index 00000000000..00bd7ef2a1c --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. +using System; + +namespace HoloToolkit.Unity.InputModule.Utilities.Interactions +{ + /// + /// Sorting type for collections + /// + [Flags] + public enum ManipulationMode + { + None = 0, + Move = 1 << 0, + Scale = 1 << 1, + Rotate = 1 << 2, + MoveAndScale = Move | Scale, + MoveAndRotate = Move | Rotate, + RotateAndScale = Rotate | Scale, + MoveScaleAndRotate = Move | Scale | Rotate, + } +} diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs.meta b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs.meta new file mode 100644 index 00000000000..0a75eca3447 --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/ManipulationMode.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8bc58ef7ce3e73242b5b7000c7dff94b +timeCreated: 1525128518 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/SpeechInputHandler.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/SpeechInputHandler.cs index 43ab1efe5a3..5ed4d65eb6a 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/SpeechInputHandler.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/SpeechInputHandler.cs @@ -62,7 +62,7 @@ protected virtual void Start() for (int index = 0; index < keywordCount; index++) { KeywordAndResponse keywordAndResponse = Keywords[index]; - string keyword = keywordAndResponse.Keyword.ToLower(); + string keyword = keywordAndResponse.Keyword.ToLower().TrimEnd(); if (responses.ContainsKey(keyword)) { diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/TwoHandManipulatable.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/TwoHandManipulatable.cs index 172fee00161..cc4639829db 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/TwoHandManipulatable.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Interactions/TwoHandManipulatable.cs @@ -1,9 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using HoloToolkit.Unity.InputModule; using HoloToolkit.Unity.UX; -using System; using System.Collections.Generic; using System.Linq; using UnityEngine; @@ -23,24 +21,18 @@ public class TwoHandManipulatable : MonoBehaviour, IInputHandler, ISourceStateHa { [SerializeField] [Tooltip("Transform that will be dragged. Defaults to the object of the component.")] - private Transform HostTransform = null; + private Transform hostTransform = null; + + public Transform HostTransform + { + get { return hostTransform; } + set { hostTransform = value; } + } [SerializeField] [Tooltip("To visualize the object bounding box, drop the HoloToolKit/UX/Prefabs/BoundingBoxes/BoundingBoxBasic.prefab here. This is optional.")] private BoundingBox boundingBoxPrefab = null; - /// - /// enum describing range of affine xforms that are allowed. - /// - private enum TwoHandedManipulation - { - Scale, - Rotate, - MoveScale, - RotateScale, - MoveRotateScale - }; - /// /// Reference to the Prefab from which clone is instantiated. /// @@ -59,46 +51,54 @@ public BoundingBox BoundingBoxPrefab [SerializeField] [Tooltip("What manipulation will two hands perform?")] - private TwoHandedManipulation ManipulationMode = TwoHandedManipulation.Scale; + private ManipulationMode manipulationMode = ManipulationMode.Scale; + + public ManipulationMode ManipulationMode + { + get { return manipulationMode; } + set { manipulationMode = value; } + } [SerializeField] [Tooltip("Constrain rotation along an axis")] - private AxisConstraint ConstraintOnRotation = AxisConstraint.None; + private AxisConstraint rotationConstraint = AxisConstraint.None; + + public AxisConstraint RotationConstraint + { + get { return rotationConstraint; } + set { rotationConstraint = value; } + } [SerializeField] [Tooltip("If true, grabbing the object with one hand will initiate movement.")] - private bool OneHandMovement = true; + private bool enableOneHandMovement = true; - [Flags] - private enum State + public bool EnableEnableOneHandedMovement { - Start = 0x000, - Moving = 0x001, - Scaling = 0x010, - Rotating = 0x100, - MovingScaling = 0x011, - RotatingScaling = 0x110, - MovingRotatingScaling = 0x111 - }; + get { return enableOneHandMovement; } + set { enableOneHandMovement = value; } + } + + // private fields that store transform information. + #region Transform Info - /// - /// private properties that store transform information. - /// private BoundingBox boundingBoxInstance; - private State currentState; - private TwoHandMoveLogic m_moveLogic; - private TwoHandScaleLogic m_scaleLogic; - private TwoHandRotateLogic m_rotateLogic; + private ManipulationMode currentState; + private TwoHandMoveLogic moveLogic; + private TwoHandScaleLogic scaleLogic; + private TwoHandRotateLogic rotateLogic; + + #endregion Transform Info /// /// Maps input id -> position of hand /// - private readonly Dictionary m_handsPressedLocationsMap = new Dictionary(); + private readonly Dictionary handsPressedLocationsMap = new Dictionary(); /// /// Maps input id -> input source. Then obtain position of input source using currentInputSource.TryGetGripPosition(currentInputSourceId, out inputPosition); /// - private readonly Dictionary m_handsPressedInputSourceMap = new Dictionary(); + private readonly Dictionary handsPressedInputSourceMap = new Dictionary(); /// /// Property that turns on and off the Visibility of the BoundingBox cloned from the BoundingBoxPrefab reference. @@ -117,7 +117,7 @@ private bool ShowBoundingBox if (value) { - boundingBoxInstance.Target = this.gameObject; + boundingBoxInstance.Target = gameObject; boundingBoxInstance.gameObject.SetActive(true); } else @@ -132,9 +132,10 @@ private bool ShowBoundingBox /// /// SetManipulationMode /// - private void SetManipulationMode(TwoHandedManipulation mode) + [System.Obsolete("Use ManipulationMode")] + public void SetManipulationMode(ManipulationMode mode) { - ManipulationMode = mode; + manipulationMode = mode; } /// @@ -142,33 +143,33 @@ private void SetManipulationMode(TwoHandedManipulation mode) /// private void Awake() { - m_moveLogic = new TwoHandMoveLogic(); - m_rotateLogic = new TwoHandRotateLogic(ConstraintOnRotation); - m_scaleLogic = new TwoHandScaleLogic(); + moveLogic = new TwoHandMoveLogic(); + rotateLogic = new TwoHandRotateLogic(rotationConstraint); + scaleLogic = new TwoHandScaleLogic(); } private void Start() { - if (HostTransform == null) + if (hostTransform == null) { - HostTransform = transform; + hostTransform = transform; } } private void Update() { //Update positions of all hands - foreach (var key in m_handsPressedInputSourceMap.Keys) + foreach (var key in handsPressedInputSourceMap.Keys) { - var inputSource = m_handsPressedInputSourceMap[key]; - Vector3 inputPosition = Vector3.zero; + var inputSource = handsPressedInputSourceMap[key]; + Vector3 inputPosition; if (inputSource.TryGetGripPosition(key, out inputPosition)) { - m_handsPressedLocationsMap[key] = inputPosition; + handsPressedLocationsMap[key] = inputPosition; } } - if (currentState != State.Start) + if (currentState != ManipulationMode.None) { UpdateStateMachine(); } @@ -183,14 +184,14 @@ private Vector3 GetInputPosition(InputEventData eventData) private void RemoveSourceIdFromHandMap(uint sourceId) { - if (m_handsPressedLocationsMap.ContainsKey(sourceId)) + if (handsPressedLocationsMap.ContainsKey(sourceId)) { - m_handsPressedLocationsMap.Remove(sourceId); + handsPressedLocationsMap.Remove(sourceId); } - if (m_handsPressedInputSourceMap.ContainsKey(sourceId)) + if (handsPressedInputSourceMap.ContainsKey(sourceId)) { - m_handsPressedInputSourceMap.Remove(sourceId); + handsPressedInputSourceMap.Remove(sourceId); } } @@ -200,8 +201,8 @@ private void RemoveSourceIdFromHandMap(uint sourceId) public void OnInputDown(InputEventData eventData) { // Add to hand map - m_handsPressedLocationsMap[eventData.SourceId] = GetInputPosition(eventData); - m_handsPressedInputSourceMap[eventData.SourceId] = eventData.InputSource; + handsPressedLocationsMap[eventData.SourceId] = GetInputPosition(eventData); + handsPressedInputSourceMap[eventData.SourceId] = eventData.InputSource; UpdateStateMachine(); eventData.Use(); } @@ -219,7 +220,7 @@ public void OnInputUp(InputEventData eventData) /// /// OnSourceDetected Event Handler /// - public void OnSourceDetected(SourceStateEventData eventData){} + public void OnSourceDetected(SourceStateEventData eventData) { } /// /// OnSourceLost @@ -236,97 +237,83 @@ public void OnSourceLost(SourceStateEventData eventData) /// private void UpdateStateMachine() { - var handsPressedCount = m_handsPressedLocationsMap.Count; - State newState = currentState; + var handsPressedCount = handsPressedLocationsMap.Count; + ManipulationMode newState = currentState; + switch (currentState) { - case State.Start: - case State.Moving: + case ManipulationMode.None: + case ManipulationMode.Move: if (handsPressedCount == 0) { - newState = State.Start; + newState = ManipulationMode.None; } - else - if (handsPressedCount == 1 && OneHandMovement) + else if (handsPressedCount == 1 && enableOneHandMovement) { - newState = State.Moving; + newState = ManipulationMode.Move; } else if (handsPressedCount > 1) { - switch (ManipulationMode) - { - case TwoHandedManipulation.Scale: - newState = State.Scaling; - break; - case TwoHandedManipulation.Rotate: - newState = State.Rotating; - break; - case TwoHandedManipulation.MoveScale: - newState = State.MovingScaling; - break; - case TwoHandedManipulation.RotateScale: - newState = State.RotatingScaling; - break; - case TwoHandedManipulation.MoveRotateScale: - newState = State.MovingRotatingScaling; - break; - default: - throw new ArgumentOutOfRangeException(); - } + newState = manipulationMode; } break; - case State.Scaling: - case State.Rotating: - case State.MovingScaling: - case State.RotatingScaling: - case State.MovingRotatingScaling: + case ManipulationMode.Scale: + case ManipulationMode.Rotate: + case ManipulationMode.MoveAndScale: + case ManipulationMode.MoveAndRotate: + case ManipulationMode.RotateAndScale: + case ManipulationMode.MoveScaleAndRotate: // TODO: if < 2, make this go to start state ('drop it') if (handsPressedCount == 0) { - newState = State.Start; + newState = ManipulationMode.None; } else if (handsPressedCount == 1) { - newState = State.Moving; + newState = ManipulationMode.Move; } break; - default: - throw new ArgumentOutOfRangeException(); } + InvokeStateUpdateFunctions(currentState, newState); currentState = newState; } - private void InvokeStateUpdateFunctions(State oldState, State newState) + private void InvokeStateUpdateFunctions(ManipulationMode oldState, ManipulationMode newState) { if (newState != oldState) { switch (newState) { - case State.Moving: - OnOneHandMoveStarted(); - break; - case State.Start: + case ManipulationMode.None: OnManipulationEnded(); break; - case State.RotatingScaling: - case State.MovingRotatingScaling: - case State.Scaling: - case State.Rotating: - case State.MovingScaling: + case ManipulationMode.Move: + OnOneHandMoveStarted(); + break; + case ManipulationMode.Scale: + case ManipulationMode.Rotate: + case ManipulationMode.MoveAndScale: + case ManipulationMode.MoveAndRotate: + case ManipulationMode.RotateAndScale: + case ManipulationMode.MoveScaleAndRotate: OnTwoHandManipulationStarted(newState); break; } + switch (oldState) { - case State.Start: + case ManipulationMode.None: OnManipulationStarted(); break; - case State.Scaling: - case State.Rotating: - case State.RotatingScaling: - case State.MovingRotatingScaling: - case State.MovingScaling: + case ManipulationMode.Move: + break; + case ManipulationMode.Scale: + case ManipulationMode.Rotate: + case ManipulationMode.MoveAndScale: + case ManipulationMode.MoveAndRotate: + case ManipulationMode.RotateAndScale: + case ManipulationMode.MoveScaleAndRotate: OnTwoHandManipulationEnded(); break; } @@ -335,18 +322,19 @@ private void InvokeStateUpdateFunctions(State oldState, State newState) { switch (newState) { - case State.Moving: + case ManipulationMode.None: + break; + case ManipulationMode.Move: OnOneHandMoveUpdated(); break; - case State.Scaling: - case State.Rotating: - case State.RotatingScaling: - case State.MovingRotatingScaling: - case State.MovingScaling: + case ManipulationMode.Scale: + case ManipulationMode.Rotate: + case ManipulationMode.MoveAndScale: + case ManipulationMode.MoveAndRotate: + case ManipulationMode.RotateAndScale: + case ManipulationMode.MoveScaleAndRotate: OnTwoHandManipulationUpdated(); break; - default: - break; } } } @@ -354,34 +342,36 @@ private void InvokeStateUpdateFunctions(State oldState, State newState) private void OnTwoHandManipulationUpdated() { #if UNITY_2017_2_OR_NEWER - var targetRotation = HostTransform.rotation; - var targetPosition = HostTransform.position; - var targetScale = HostTransform.localScale; + var targetRotation = hostTransform.rotation; + var targetPosition = hostTransform.position; + var targetScale = hostTransform.localScale; - if ((currentState & State.Moving) > 0) + if ((currentState & ManipulationMode.Move) > 0) { - targetPosition = m_moveLogic.Update(GetHandsCentroid(), targetPosition); + targetPosition = moveLogic.Update(GetHandsCentroid(), targetPosition); } - if ((currentState & State.Rotating) > 0) + + if ((currentState & ManipulationMode.Rotate) > 0) { - targetRotation = m_rotateLogic.Update(m_handsPressedLocationsMap, HostTransform, targetRotation); + targetRotation = rotateLogic.Update(handsPressedLocationsMap, hostTransform, targetRotation); } - if ((currentState & State.Scaling) > 0) + + if ((currentState & ManipulationMode.Scale) > 0) { - targetScale = m_scaleLogic.UpdateMap(m_handsPressedLocationsMap); + targetScale = scaleLogic.UpdateMap(handsPressedLocationsMap); } - HostTransform.position = targetPosition; - HostTransform.rotation = targetRotation; - HostTransform.localScale = targetScale; + hostTransform.position = targetPosition; + hostTransform.rotation = targetRotation; + hostTransform.localScale = targetScale; #endif // UNITY_2017_2_OR_NEWER } private void OnOneHandMoveUpdated() { - var targetPosition = m_moveLogic.Update(m_handsPressedLocationsMap.Values.First(), HostTransform.position); + var targetPosition = moveLogic.Update(handsPressedLocationsMap.Values.First(), hostTransform.position); - HostTransform.position = targetPosition; + hostTransform.position = targetPosition; } private void OnTwoHandManipulationEnded() @@ -393,33 +383,35 @@ private void OnTwoHandManipulationEnded() private Vector3 GetHandsCentroid() { - Vector3 result = m_handsPressedLocationsMap.Values.Aggregate(Vector3.zero, (current, state) => current + state); - return result / m_handsPressedLocationsMap.Count; + Vector3 result = handsPressedLocationsMap.Values.Aggregate(Vector3.zero, (current, state) => current + state); + return result / handsPressedLocationsMap.Count; } - private void OnTwoHandManipulationStarted(State newState) + private void OnTwoHandManipulationStarted(ManipulationMode newState) { #if UNITY_2017_2_OR_NEWER - if ((newState & State.Rotating) > 0) + if ((newState & ManipulationMode.Rotate) > 0) { - m_rotateLogic.Setup(m_handsPressedLocationsMap, HostTransform); + rotateLogic.Setup(handsPressedLocationsMap, hostTransform); } - if ((newState & State.Moving) > 0) + + if ((newState & ManipulationMode.Move) > 0) { - m_moveLogic.Setup(GetHandsCentroid(), HostTransform); + moveLogic.Setup(GetHandsCentroid(), hostTransform); } - if ((newState & State.Scaling) > 0) + + if ((newState & ManipulationMode.Scale) > 0) { - m_scaleLogic.Setup(m_handsPressedLocationsMap, HostTransform); + scaleLogic.Setup(handsPressedLocationsMap, hostTransform); } #endif // UNITY_2017_2_OR_NEWER } private void OnOneHandMoveStarted() { - Assert.IsTrue(m_handsPressedLocationsMap.Count == 1); + Assert.IsTrue(handsPressedLocationsMap.Count == 1); - m_moveLogic.Setup(m_handsPressedLocationsMap.Values.First(), HostTransform); + moveLogic.Setup(handsPressedLocationsMap.Values.First(), hostTransform); } private void OnManipulationStarted() diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs index cd54ff51a81..e031067f539 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/InputManager.cs @@ -49,6 +49,7 @@ public class InputManager : Singleton private PointerSpecificEventData pointerSpecificEventData; private InputPositionEventData inputPositionEventData; private SelectPressedEventData selectPressedEventData; + private BoundingBoxEventData boundingBoxActivityEventData; #if UNITY_WSA || UNITY_STANDALONE_WIN private SpeechEventData speechEventData; private DictationEventData dictationEventData; @@ -211,6 +212,7 @@ private void InitializeEventDatas() sourceRotationEventData = new SourceRotationEventData(EventSystem.current); sourcePositionEventData = new SourcePositionEventData(EventSystem.current); xboxControllerEventData = new XboxControllerEventData(EventSystem.current); + boundingBoxActivityEventData = new BoundingBoxEventData(EventSystem.current); #if UNITY_WSA || UNITY_STANDALONE_WIN speechEventData = new SpeechEventData(EventSystem.current); dictationEventData = new DictationEventData(EventSystem.current); @@ -844,6 +846,40 @@ public void RaiseXboxInputUpdate(IInputSource source, uint sourceId, XboxControl #endregion // Xbox Controller Events + #region Bounding Box Rig Activity Events + private static readonly ExecuteEvents.EventFunction OnBoundingBoxRigActivatedEventHandler = + delegate (IBoundingBoxStateHandler handler, BaseEventData eventData) + { + BoundingBoxEventData casted = ExecuteEvents.ValidateEventData(eventData); + handler.OnBoundingBoxRigActivated(casted); + }; + + public void RaiseBoundingBoxRigActivated(GameObject boundingBoxRiggedObject) + { + // Create input event + boundingBoxActivityEventData.Initialize(boundingBoxRiggedObject); + + // Pass to the handler through HandleEvent to perform the fallback logic + HandleEvent(boundingBoxActivityEventData, OnBoundingBoxRigActivatedEventHandler); + } + + private static readonly ExecuteEvents.EventFunction OnBoundingBoxRigDeactivatedEventHandler = + delegate (IBoundingBoxStateHandler handler, BaseEventData eventData) + { + BoundingBoxEventData casted = ExecuteEvents.ValidateEventData(eventData); + handler.OnBoundingBoxRigDeactivated(casted); + }; + + public void RaiseBoundingBoxRigDeactivated(GameObject boundingBoxRiggedObject) + { + // Create input event + boundingBoxActivityEventData.Initialize(boundingBoxRiggedObject); + + // Pass to the handler through HandleEvent to perform the fallback logic + HandleEvent(boundingBoxActivityEventData, OnBoundingBoxRigDeactivatedEventHandler); + } + #endregion // Bounding Box Rig Activity Events + #if UNITY_WSA || UNITY_STANDALONE_WIN #region Speech Events diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityTeleport.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityTeleport.cs index 5817f9c3dbc..e9ae122c681 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityTeleport.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityTeleport.cs @@ -79,26 +79,36 @@ public class MixedRealityTeleport : Singleton, IController private void Start() { - FadeManager.AssertIsInitialized(); - - fadeControl = FadeManager.Instance; - - // If our FadeManager is missing, or if we're on the HoloLens - // Remove this component. + // If we're on the HoloLens or no device is present, + // remove this component. #if UNITY_2017_2_OR_NEWER - if (!XRDevice.isPresent || + if (!XRDevice.isPresent #if UNITY_WSA - !HolographicSettings.IsDisplayOpaque || + || !HolographicSettings.IsDisplayOpaque #endif - fadeControl == null) + ) #else - if (VRDevice.isPresent || fadeControl == null) + if (VRDevice.isPresent) #endif { Destroy(this); return; } + // FadeManager isn't checked unless we're in a + // setup where it might be supported. + FadeManager.AssertIsInitialized(); + + fadeControl = FadeManager.Instance; + + // If the FadeManager is missing, + // remove this component. + if (fadeControl == null) + { + Destroy(this); + return; + } + if (teleportMarker != null) { teleportMarker = Instantiate(teleportMarker); diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs new file mode 100644 index 00000000000..49a2dd5c6d0 --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs @@ -0,0 +1,107 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.UX; +using UnityEngine; + +namespace HoloToolkit.Unity.InputModule +{ + [RequireComponent(typeof(DistorterGravity))] + [RequireComponent(typeof(LineBase))] + [RequireComponent(typeof(LineRendererBase))] + public class PointerLine : BaseControllerPointer + { + [Header("Colors")] + [SerializeField] + [GradientDefault(GradientDefaultAttribute.ColorEnum.Blue, GradientDefaultAttribute.ColorEnum.White, 1f, 0.25f)] + protected Gradient LineColorSelected; + + [SerializeField] + [GradientDefault(GradientDefaultAttribute.ColorEnum.Blue, GradientDefaultAttribute.ColorEnum.White, 1f, 0.5f)] + protected Gradient LineColorValid; + + [SerializeField] + [GradientDefault(GradientDefaultAttribute.ColorEnum.Gray, GradientDefaultAttribute.ColorEnum.White, 1f, 0.5f)] + protected Gradient LineColorNoTarget; + + [Range(5, 100)] + [SerializeField] + protected int LineCastResolution = 25; + + [SerializeField] + protected LineBase LineBase; + + [SerializeField] + [Tooltip("If no line renderers are specified, this array will be auto-populated on startup.")] + protected LineRendererBase[] LineRenderers; + + protected DistorterGravity DistorterGravity; + + /// + /// Line pointer stays inactive until it's attached to a controller. + /// + public bool InteractionEnabled + { + get + { +#if UNITY_WSA && UNITY_2017_2_OR_NEWER + return ControllerInfo != null; +#else + return false; +#endif + } + } + + protected override void OnEnable() + { + base.OnEnable(); + + LineBase = GetComponent(); + DistorterGravity = GetComponent(); + LineBase.AddDistorter(DistorterGravity); + if (LineRenderers == null || LineRenderers.Length == 0) + { + LineRenderers = LineBase.GetComponentsInChildren(); + } + + LineBase.enabled = false; + } + + public void UpdateRenderedLine(RayStep[] lines, PointerResult result, bool selectPressed, float extent) + { + if (LineBase == null) { return; } + + Gradient lineColor = LineColorNoTarget; + + if (InteractionEnabled) + { + LineBase.enabled = true; + + // If we hit something + if (result.End.Object != null) + { + lineColor = LineColorValid; + LineBase.LastPoint = result.End.Point; + } + else + { + LineBase.LastPoint = RayStep.GetPointByDistance(lines, extent); + } + + if (selectPressed) + { + lineColor = LineColorSelected; + } + } + else + { + LineBase.enabled = false; + } + + for (int i = 0; i < LineRenderers.Length; i++) + { + LineRenderers[i].LineColor = lineColor; + } + } + } +} diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs.meta b/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs.meta new file mode 100644 index 00000000000..28b48a2ce6b --- /dev/null +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: df317dc594e50444da58008aa4ee1475 +timeCreated: 1522092957 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/MRTKVersion.txt b/Assets/HoloToolkit/MRTKVersion.txt index 051b1ef9b6b..76477f7a929 100644 --- a/Assets/HoloToolkit/MRTKVersion.txt +++ b/Assets/HoloToolkit/MRTKVersion.txt @@ -1 +1 @@ -2017.2.1.4 \ No newline at end of file +2017.4.0.0 \ No newline at end of file diff --git a/Assets/HoloToolkit/SpatialMapping/Materials/Wireframe.mat b/Assets/HoloToolkit/SpatialMapping/Materials/Wireframe.mat index 7ce77f8d7ba..7a1cbfbe80a 100644 --- a/Assets/HoloToolkit/SpatialMapping/Materials/Wireframe.mat +++ b/Assets/HoloToolkit/SpatialMapping/Materials/Wireframe.mat @@ -11,6 +11,7 @@ Material: m_ShaderKeywords: ETC1_EXTERNAL_ALPHA m_LightmapFlags: 5 m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 m_CustomRenderQueue: 2000 stringTagMap: {} disabledShaderPasses: [] diff --git a/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat b/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat new file mode 100644 index 00000000000..bf979836d91 --- /dev/null +++ b/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: WireframeBlue + m_Shader: {fileID: 4800000, guid: 0d08dd59087697b44a68a02cc9a7c3a2, type: 3} + m_ShaderKeywords: ETC1_EXTERNAL_ALPHA + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: {} + disabledShaderPasses: [] + 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_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 + - _WireThickness: 434 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.0036224083, g: 0.24982113, b: 0.49264705, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _WireColor: {r: 0, g: 0.66896534, b: 1, a: 1} diff --git a/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat.meta b/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat.meta new file mode 100644 index 00000000000..4938c427144 --- /dev/null +++ b/Assets/HoloToolkit/SpatialMapping/Materials/WireframeBlue.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 729453690df4d40488b01b78b3af849d +timeCreated: 1455735893 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab b/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab new file mode 100644 index 00000000000..c344cc6b75b --- /dev/null +++ b/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab @@ -0,0 +1,119 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000010593991404} + m_IsPrefabParent: 1 +--- !u!1 &1000010593991404 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000012375631134} + - component: {fileID: 33000012042644992} + - component: {fileID: 65000010549037612} + - component: {fileID: 23000010797497162} + - component: {fileID: 114000011287056714} + m_Layer: 0 + m_Name: SurfacePlaneTransparent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000012375631134 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000010593991404} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000010797497162 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000010593991404} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33000012042644992 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000010593991404} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!65 &65000010549037612 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000010593991404} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &114000011287056714 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000010593991404} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d29c05be38579034196d7b7692e52bc1, type: 3} + m_Name: + m_EditorClassIdentifier: + PlaneThickness: 0.01 + UpNormalThreshold: 0.9 + FloorBuffer: 0.1 + CeilingBuffer: 0.1 + WallMaterial: {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + FloorMaterial: {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + CeilingMaterial: {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + TableMaterial: {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + UnknownMaterial: {fileID: 2100000, guid: 452f941bcd9202641b983cd4fee093a3, type: 2} + PlaneType: 16 diff --git a/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab.meta b/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab.meta new file mode 100644 index 00000000000..09181047eef --- /dev/null +++ b/Assets/HoloToolkit/SpatialMapping/Prefabs/SurfacePlaneTransparent.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e2f0116ed6ef0d44bb7791f327bea328 +timeCreated: 1455933340 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/SpatialMapping/Scripts/RemoteMapping/SimpleMeshSerializer.cs b/Assets/HoloToolkit/SpatialMapping/Scripts/RemoteMapping/SimpleMeshSerializer.cs index adff109d569..b4895738712 100644 --- a/Assets/HoloToolkit/SpatialMapping/Scripts/RemoteMapping/SimpleMeshSerializer.cs +++ b/Assets/HoloToolkit/SpatialMapping/Scripts/RemoteMapping/SimpleMeshSerializer.cs @@ -2,9 +2,9 @@ // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; -using SysDiag = System.Diagnostics; using System.IO; using UnityEngine; +using SysDiag = System.Diagnostics; namespace HoloToolkit.Unity.SpatialMapping { @@ -52,7 +52,7 @@ public static byte[] Serialize(IEnumerable meshes) /// /// Serializes a list of MeshFilter objects into a byte array. /// Transforms vertices into world space before writing to the file. - /// Optionally transforms the vertices into the space of the supplied secondarySpace + /// Optionally transforms the vertices into the space of the supplied secondarySpace /// /// List of MeshFilter objects to be serialized. /// New space to transform the vertices into. diff --git a/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/Editor/SurfaceMeshesToPlanesEditor.cs b/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/Editor/SurfaceMeshesToPlanesEditor.cs index 0466b91db92..4c392530ddd 100644 --- a/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/Editor/SurfaceMeshesToPlanesEditor.cs +++ b/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/Editor/SurfaceMeshesToPlanesEditor.cs @@ -25,11 +25,21 @@ public override void OnInspectorGUI() base.OnInspectorGUI(); serializedObject.Update(); +#if UNITY_2017_3_OR_NEWER + drawPlanesMask.intValue = (int)((PlaneTypes)EditorGUILayout.EnumFlagsField("Draw Planes", + (PlaneTypes)drawPlanesMask.intValue)); +#else drawPlanesMask.intValue = (int)((PlaneTypes)EditorGUILayout.EnumMaskField("Draw Planes", (PlaneTypes)drawPlanesMask.intValue)); +#endif +#if UNITY_2017_3_OR_NEWER + destroyPlanesMask.intValue = (int)((PlaneTypes)EditorGUILayout.EnumFlagsField("Destroy Planes", + (PlaneTypes)destroyPlanesMask.intValue)); +#else destroyPlanesMask.intValue = (int)((PlaneTypes)EditorGUILayout.EnumMaskField("Destroy Planes", (PlaneTypes)destroyPlanesMask.intValue)); +#endif serializedObject.ApplyModifiedProperties(); } diff --git a/Assets/HoloToolkit/SpatialSound/Scripts/AudioEmitter.cs b/Assets/HoloToolkit/SpatialSound/Scripts/AudioEmitter.cs index 6035f6f8690..34415fc08f8 100644 --- a/Assets/HoloToolkit/SpatialSound/Scripts/AudioEmitter.cs +++ b/Assets/HoloToolkit/SpatialSound/Scripts/AudioEmitter.cs @@ -164,8 +164,8 @@ private void Awake() // Preallocate the array that will be used to collect RaycastHit structures. hits = new RaycastHit[MaxObjects]; } - - private void Update() + + private void Update() { DateTime now = DateTime.Now; diff --git a/Assets/HoloToolkit/SpatialSound/Scripts/AudioLoFiEffect.cs b/Assets/HoloToolkit/SpatialSound/Scripts/AudioLoFiEffect.cs index 0f69072e557..3a1e9ac7901 100644 --- a/Assets/HoloToolkit/SpatialSound/Scripts/AudioLoFiEffect.cs +++ b/Assets/HoloToolkit/SpatialSound/Scripts/AudioLoFiEffect.cs @@ -133,7 +133,7 @@ public float HighPassCutoff /// /// High pass filter cutoff frequency. /// Low pass filter cutoff frequency. - public AudioLoFiFilterSettings(float highPassCutoff, float lowPassCutoff) + public AudioLoFiFilterSettings(float highPassCutoff, float lowPassCutoff) : this() { HighPassCutoff = highPassCutoff; LowPassCutoff = lowPassCutoff; diff --git a/Assets/HoloToolkit/SpatialUnderstanding/Materials/SpatialUnderstandingSurface.mat b/Assets/HoloToolkit/SpatialUnderstanding/Materials/SpatialUnderstandingSurface.mat index 864037e3f1e..bbec570df64 100644 --- a/Assets/HoloToolkit/SpatialUnderstanding/Materials/SpatialUnderstandingSurface.mat +++ b/Assets/HoloToolkit/SpatialUnderstanding/Materials/SpatialUnderstandingSurface.mat @@ -11,6 +11,7 @@ Material: m_ShaderKeywords: ETC1_EXTERNAL_ALPHA m_LightmapFlags: 5 m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 m_CustomRenderQueue: 2000 stringTagMap: {} disabledShaderPasses: [] @@ -26,8 +27,8 @@ Material: - _Falloff_Dst_Max: 8 - _Falloff_Dst_Min: 2 - _Falloff_Scale: 0.4 - - _WireThickness: 150 + - _WireThickness: 332 m_Colors: - - _BaseColor: {r: 0.012867644, g: 0.102941155, b: 0.050421562, a: 0} + - _BaseColor: {r: 0, g: 0.37931037, b: 1, a: 0} - _Color: {r: 1, g: 1, b: 1, a: 1} - - _WireColor: {r: 0.4070135, g: 0.7352941, b: 0.31898788, a: 1} + - _WireColor: {r: 0, g: 0.7931037, b: 1, a: 1} diff --git a/Assets/HoloToolkit/SpatialUnderstanding/Scripts/SpatialUnderstandingDll.cs b/Assets/HoloToolkit/SpatialUnderstanding/Scripts/SpatialUnderstandingDll.cs index 08f6d7bb486..72c62c30eb8 100644 --- a/Assets/HoloToolkit/SpatialUnderstanding/Scripts/SpatialUnderstandingDll.cs +++ b/Assets/HoloToolkit/SpatialUnderstanding/Scripts/SpatialUnderstandingDll.cs @@ -1,11 +1,10 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using UnityEngine; -using System.Collections; -using System.Runtime.InteropServices; using System; using System.Collections.Generic; +using System.Runtime.InteropServices; +using UnityEngine; namespace HoloToolkit.Unity { @@ -41,6 +40,7 @@ public MeshData(MeshFilter meshFilter) Normals = meshFilter.sharedMesh.normals; Indices = meshFilter.sharedMesh.triangles; } + public void CopyFrom(MeshFilter meshFilter, int meshID = 0, int lastUpdateID = 0) { MeshID = meshID; @@ -233,7 +233,7 @@ public SpatialUnderstandingDllObjectPlacement.ObjectPlacementResult GetStaticObj { return reusedObjectPlacementResult; } - + /// /// Marshals BoundedPlane data returned from a DLL API call into a managed BoundedPlane array /// and then frees the memory that was allocated within the DLL. @@ -296,7 +296,7 @@ public struct MeshData [StructLayout(LayoutKind.Sequential, Pack = 1)] public class PlayspaceStats { - public int IsWorkingOnStats; // 0 if still working on creating the stats + public int IsWorkingOnStats; // 0 if still working on creating the stats public float HorizSurfaceArea; // In m2 : All horizontal faces UP between Ground – 0.15 and Ground + 1.f (include Ground and convenient horiz surface) public float TotalSurfaceArea; // In m2 : All ! @@ -345,13 +345,13 @@ public enum SurfaceTypes Other, Floor, FloorLike, // Not part of the floor topology, but close to the floor and looks like the floor - Platform, // Horizontal platform between the ground and the ceiling + Platform, // Horizontal platform between the ground and the ceiling Ceiling, WallExternal, WallLike, // Not part of the external wall surface }; public SurfaceTypes SurfaceType; - float SurfaceArea; // Zero if unknown (not part of the topology analysis) + float SurfaceArea; // Zero if unknown (not part of the topology analysis) public Vector3 IntersectPoint; public Vector3 IntersectNormal; }; @@ -425,7 +425,7 @@ public static extern int GeneratePlayspace_UpdateScan( /// /// Extracting the mesh is a two step process, the first generates the mesh for extraction & saves it off. - /// The caller is able to see vertex counts, etc. so they can allocate the proper amount of memory. + /// The caller is able to see vertex counts, etc. so they can allocate the proper amount of memory. /// The second call, the caller provides buffers of the appropriate size (or larger), passing in the /// buffer sizes for validation. /// diff --git a/Assets/HoloToolkit/UX/Animations.meta b/Assets/HoloToolkit/UX/Animations.meta new file mode 100644 index 00000000000..3e33896f336 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7f0c9828c095def449240ac418ce9fab +folderAsset: yes +timeCreated: 1522878702 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Animations/Progress.meta b/Assets/HoloToolkit/UX/Animations/Progress.meta new file mode 100644 index 00000000000..d3f9361c679 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7ba5099a9db8f4a4e827774ee1d669bf +folderAsset: yes +timeCreated: 1518462245 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller b/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller new file mode 100644 index 00000000000..ebfd9bb65db --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller @@ -0,0 +1,97 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: LoadingDefaultPrefab + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107871020562204484} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &1102281549654097922 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: LoadingDialogClose + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: b98e47b252a3d9e409ba32332961d12d, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102740262731134872 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: LoadingDialogOpen + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 1b877ece9b4645646a14424f8ce6b1b9, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107871020562204484 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102740262731134872} + m_Position: {x: 200, y: 0, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102281549654097922} + m_Position: {x: 235, y: 65, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102740262731134872} diff --git a/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller.meta b/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller.meta new file mode 100644 index 00000000000..92d24910202 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/LoadingDefaultPrefab.controller.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c7cbbed11da5c254db2cfadc3be2ff97 +timeCreated: 1518463703 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller b/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller new file mode 100644 index 00000000000..879ab23f069 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller @@ -0,0 +1,67 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: LoadingPrefabController + serializedVersion: 5 + m_AnimatorParameters: [] + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107818092842182792} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1102 &1102048963313614306 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Loop + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 3c17a5a4d36c31b4aa8f411af8a9caf0, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: +--- !u!1107 &1107818092842182792 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102048963313614306} + m_Position: {x: 300, y: 124, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102048963313614306} diff --git a/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller.meta b/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller.meta new file mode 100644 index 00000000000..fb02baf388a --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/LoadingPrefabController.controller.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d619a134e3efe3e4d95b97c0c13237ce +timeCreated: 1518463703 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller b/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller new file mode 100644 index 00000000000..398a016e755 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller @@ -0,0 +1,267 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: ProgressIndicatorController + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: Close + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} + - m_Name: Open + m_Type: 9 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 9100000} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Open Close Layer + m_StateMachine: {fileID: 1107174173176297488} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} + - serializedVersion: 5 + m_Name: Constant Update Layer + m_StateMachine: {fileID: 1107988446474682034} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 1 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 1 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1101 &1101142576220644690 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102933606894792190} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.19323061 + m_TransitionOffset: 0.046064697 + m_ExitTime: 0.18425894 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101357700026638896 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: Open + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102256187880433002} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.060577467 + m_TransitionOffset: 0 + m_ExitTime: 0.0032678607 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101826362801949524 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: Close + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102112045069993946} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.04383748 + m_TransitionOffset: 0 + m_ExitTime: 0.025396688 + m_HasExitTime: 0 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102112045069993946 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Close + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101142576220644690} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: e57b390cf5843c74daaea5f3cd19ce53, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102256187880433002 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Open + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101826362801949524} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 37ed1c5ea8e039b4090cf0866de89755, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102933606894792190 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Closed + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101357700026638896} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: db11307ae9080f147bc01f14987fd835, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102945959217206564 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Rotate + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: [] + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: 4f459e4da6f692149b25b1705d31c83f, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107174173176297488 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Open Close Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102933606894792190} + m_Position: {x: 240, y: 120, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102112045069993946} + m_Position: {x: 480, y: 192, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102256187880433002} + m_Position: {x: 480, y: 48, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102933606894792190} +--- !u!1107 &1107988446474682034 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Constant Update Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102945959217206564} + m_Position: {x: 264, y: 120, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102945959217206564} diff --git a/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller.meta b/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller.meta new file mode 100644 index 00000000000..be5ba721859 --- /dev/null +++ b/Assets/HoloToolkit/UX/Animations/Progress/ProgressIndicatorController.controller.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 23a0793073e3e1944a34a996dc4cf158 +timeCreated: 1518463703 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat new file mode 100644 index 00000000000..2d9e8e0bbb9 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: 3DTextSelawikBold + m_Shader: {fileID: 4800000, guid: cfe12bbf45a06fb4b8fce6adb726485f, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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: 2800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + 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_Floats: + - _BumpScale: 1 + - _ColorMask: 15 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _Glossiness: 0.5 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SrcBlend: 1 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UVSec: 0 + - _UseUIAlphaClip: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat.meta b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat.meta new file mode 100644 index 00000000000..8f7572caf8e --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikBold.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 471809e7fc7f6c343814ec3b12e90cdc +timeCreated: 1520623567 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat new file mode 100644 index 00000000000..de49a18a8e6 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: 3DTextSelawikLight + m_Shader: {fileID: 4800000, guid: cfe12bbf45a06fb4b8fce6adb726485f, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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: 2800000, guid: b8a8324793a77d14fad6ef1dc06c55ed, type: 3} + 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_Floats: + - _BumpScale: 1 + - _ColorMask: 15 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _Glossiness: 0.5 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SrcBlend: 1 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UVSec: 0 + - _UseUIAlphaClip: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat.meta b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat.meta new file mode 100644 index 00000000000..04d5485c3d4 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikLight.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: c1bfa29de167757468fd4c7f153501db +timeCreated: 1520623567 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat new file mode 100644 index 00000000000..a4616db2c38 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: 3DTextSelawikSemibold + m_Shader: {fileID: 4800000, guid: cfe12bbf45a06fb4b8fce6adb726485f, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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: 2800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + 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_Floats: + - _BumpScale: 1 + - _ColorMask: 15 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _Glossiness: 0.5 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SrcBlend: 1 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UVSec: 0 + - _UseUIAlphaClip: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat.meta b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat.meta new file mode 100644 index 00000000000..c66ac452206 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemibold.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 6b26d37dd442201449bb09494a97bc40 +timeCreated: 1520623567 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat new file mode 100644 index 00000000000..b070d2ad1bd --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat @@ -0,0 +1,79 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: 3DTextSelawikSemilight + m_Shader: {fileID: 4800000, guid: cfe12bbf45a06fb4b8fce6adb726485f, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 5 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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: 2800000, guid: 98d9db324dda3a44e93fbf3b7ce9eca9, type: 3} + 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_Floats: + - _BumpScale: 1 + - _ColorMask: 15 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _Glossiness: 0.5 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SrcBlend: 1 + - _Stencil: 0 + - _StencilComp: 8 + - _StencilOp: 0 + - _StencilReadMask: 255 + - _StencilWriteMask: 255 + - _UVSec: 0 + - _UseUIAlphaClip: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat.meta b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat.meta new file mode 100644 index 00000000000..dadf5086cc5 --- /dev/null +++ b/Assets/HoloToolkit/UX/Fonts/3DTextSelawikSemilight.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 647cbe3177036874ab98760939fc4ad0 +timeCreated: 1520623567 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat b/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat new file mode 100644 index 00000000000..54ad739ad63 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat @@ -0,0 +1,140 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: DialogBackPlate + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT _BORDER_LIGHT_USES_HOVER_COLOR _HOVER_LIGHT _INNER_GLOW + _METALLIC_TEXTURE_ALBEDO_CHANNEL_A + m_LightmapFlags: 4 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _LightMapTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 1443b22b919aede4ca14ca5e3bf81096, type: 3} + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 1 + - _AlbedoAlphaSmoothness: 0 + - _BlendOp: 0 + - _BorderLight: 1 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.257 + - _BorderWidth: 0.144 + - _BorderWidthHorizontal: 0.1 + - _BorderWidthVertical: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 0 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.0001 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableLightMap: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 1 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 5.83 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.351 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 0 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.31617647, g: 0.31617647, b: 0.31617647, a: 0.616} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColor: {r: 1, g: 0, b: 0, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 0.566} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.522} + - _RimColor: {r: 1, g: 1, b: 1, a: 0.497} diff --git a/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat.meta b/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat.meta new file mode 100644 index 00000000000..985af496cea --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/DialogBackPlate.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 8008904cd7f355748b0cee9ca6ca9a16 +timeCreated: 1522880562 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat new file mode 100644 index 00000000000..48f57147eff --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat @@ -0,0 +1,134 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: MRTK_SpatialProcessing_Transparent + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHABLEND_ON _BORDER_LIGHT_USES_HOVER_COLOR _DISABLE_ALBEDO_MAP + _HOVER_COLOR_OVERRIDE _LIGHTMAPPING_REALTIME _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 1 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3000 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.532 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 2 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 0 + - _DstBlend: 10 + - _EdgeSmoothingValue: 0.002 + - _EmissionScaleUI: 0 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 1 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Lightmapping: 1 + - _Metallic: 0 + - _Mode: 2 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 5 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 0 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0, g: 0, b: 0, a: 0} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat.meta b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat.meta new file mode 100644 index 00000000000..54d7628a97e --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Transparent.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 452f941bcd9202641b983cd4fee093a3 +timeCreated: 1435687483 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat new file mode 100644 index 00000000000..8b5013d99e2 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat @@ -0,0 +1,134 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: MRTK_SpatialProcessing_Wall + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT _BORDER_LIGHT_USES_HOVER_COLOR _DISABLE_ALBEDO_MAP + _HOVER_COLOR_OVERRIDE _LIGHTMAPPING_REALTIME _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 1 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 1 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.532 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 0 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EmissionScaleUI: 0 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 1 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Lightmapping: 1 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.017463237, g: 0.0894016, b: 0.125, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat.meta b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat.meta new file mode 100644 index 00000000000..a1c50ccfbe8 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/MRTK_SpatialProcessing_Wall.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d57188e78005f124fbac690f82d2a560 +timeCreated: 1435687483 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/TooltipLines.mat b/Assets/HoloToolkit/UX/Materials/TooltipLines.mat new file mode 100644 index 00000000000..fcc2fb5adff --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipLines.mat @@ -0,0 +1,131 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: TooltipLines + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _EMISSION _HOVER_LIGHT _REFLECTIONS _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 1 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 1 + - _Refraction: 0 + - _RefractiveIndex: 0 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 0.7941176, g: 0.7941176, b: 0.7941176, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/UX/Materials/TooltipLines.mat.meta b/Assets/HoloToolkit/UX/Materials/TooltipLines.mat.meta new file mode 100644 index 00000000000..44b5208c001 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipLines.mat.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 3c8f5655de1232549bc616142c6119d7 +timeCreated: 1520965306 +licenseType: Pro +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat b/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat new file mode 100644 index 00000000000..a1f2dabc4e7 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat @@ -0,0 +1,134 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: TooltipWithBorder + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _DISABLE_ALBEDO_MAP _LIGHTMAPPING_REALTIME _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 1 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 1 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.108 + - _BorderWidth: 0.132 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EmissionScaleUI: 0 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Lightmapping: 1 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.32352942, g: 0.32352942, b: 0.32352942, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat.meta b/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat.meta new file mode 100644 index 00000000000..67321387f55 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipWithBorder.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 151c96065fff785478dd7e3d33953d55 +timeCreated: 1435687483 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat b/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat new file mode 100644 index 00000000000..e0d27331fbb --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat @@ -0,0 +1,134 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: TooltipWithoutBorder + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT _DISABLE_ALBEDO_MAP + _LIGHTMAPPING_REALTIME _SPECULAR_HIGHLIGHTS + m_LightmapFlags: 1 + m_EnableInstancingVariants: 1 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2000 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: [] + 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} + - _NormalMap: + 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_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.108 + - _BorderWidth: 0.132 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _CullMode: 2 + - _CustomMode: 0 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EmissionScaleUI: 0 + - _EnableEmission: 0 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Lightmapping: 1 + - _Metallic: 0 + - _Mode: 0 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 0.32352942, g: 0.32352942, b: 0.32352942, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 0} + - _EmissionColorUI: {r: 1, g: 1, b: 1, a: 1} + - _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} diff --git a/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat.meta b/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat.meta new file mode 100644 index 00000000000..864efcbe563 --- /dev/null +++ b/Assets/HoloToolkit/UX/Materials/TooltipWithoutBorder.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: edb1ebbd2084d4a4b9b965ed5c241baa +timeCreated: 1435687483 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Buttons/HolographicButton.prefab b/Assets/HoloToolkit/UX/Prefabs/Buttons/HolographicButton.prefab index 0b522ecb6d0..1343f7c7de9 100644 --- a/Assets/HoloToolkit/UX/Prefabs/Buttons/HolographicButton.prefab +++ b/Assets/HoloToolkit/UX/Prefabs/Buttons/HolographicButton.prefab @@ -36,14 +36,13 @@ GameObject: serializedVersion: 5 m_Component: - component: {fileID: 4249060311757736} + - component: {fileID: 65091470401894616} - component: {fileID: 114549673379926378} - component: {fileID: 114759408391228376} - component: {fileID: 114731001419964972} - component: {fileID: 114540301864412650} - component: {fileID: 114284851947377390} - - component: {fileID: 65091470401894616} - - component: {fileID: 95444211700001698} - - component: {fileID: 114586770699789526} + - component: {fileID: 114700464119774652} m_Layer: 5 m_Name: HolographicButton m_TagString: Untagged @@ -340,23 +339,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 0.12, y: 0.12, z: 0.02} m_Center: {x: 0, y: 0, z: 0} ---- !u!95 &95444211700001698 -Animator: - serializedVersion: 3 - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1210820392543280} - m_Enabled: 1 - m_Avatar: {fileID: 0} - m_Controller: {fileID: 9100000, guid: dade752fc71c3d940ba5cc7eaf201f24, type: 2} - m_CullingMode: 0 - m_UpdateMode: 0 - m_ApplyRootMotion: 0 - m_LinearVelocityBlending: 0 - m_WarningMessage: - m_HasTransformHierarchy: 1 - m_AllowConstantClipSamplingOptimization: 1 --- !u!102 &102845526646414632 TextMesh: serializedVersion: 3 @@ -371,7 +353,7 @@ TextMesh: m_Anchor: 7 m_Alignment: 1 m_TabSize: 4 - m_FontSize: 72 + m_FontSize: 48 m_FontStyle: 0 m_RichText: 1 m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} @@ -429,12 +411,12 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} m_Name: m_EditorClassIdentifier: - ButtonState: 4 - ButtonPressFilter: 1 - RequireGaze: 1 + buttonState: 4 + buttonPressFilter: 1 + requireGaze: 1 MainCollider: {fileID: 65091470401894616} MainRenderer: {fileID: 23637783586042108} ---- !u!114 &114586770699789526 +--- !u!114 &114700464119774652 MonoBehaviour: m_ObjectHideFlags: 1 m_PrefabParentObject: {fileID: 0} @@ -442,53 +424,11 @@ MonoBehaviour: m_GameObject: {fileID: 1210820392543280} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 728fec8e9feecf64f933543126cbecae, type: 3} + m_Script: {fileID: 11500000, guid: d56c23c4a6e0ec6478791a5c1a0f81a1, type: 3} m_Name: m_EditorClassIdentifier: - TargetAnimator: {fileID: 95444211700001698} - AnimActions: - - ButtonState: 0 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 0 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 1 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 1 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 2 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 2 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 3 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 3 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 4 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 4 - FloatValue: 0 - InvalidParam: 0 - - ButtonState: 5 - ParamName: State - ParamType: 3 - BoolValue: 0 - IntValue: 5 - FloatValue: 0 - InvalidParam: 0 + KeywordSource: 2 + Keyword: --- !u!114 &114731001419964972 MonoBehaviour: m_ObjectHideFlags: 1 diff --git a/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab b/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab new file mode 100644 index 00000000000..565122d6099 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab @@ -0,0 +1,1611 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1302394645271036} + m_IsPrefabParent: 1 +--- !u!1 &1019022534889720 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4229120543532314} + - component: {fileID: 23990439735283304} + - component: {fileID: 102639634095689150} + m_Layer: 5 + m_Name: TitleText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1194215173988218 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4917627126231626} + - component: {fileID: 23875418991656430} + - component: {fileID: 102896867461428228} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1302394645271036 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4769699153315220} + - component: {fileID: 114617495383521140} + - component: {fileID: 114497059082066012} + - component: {fileID: 114195073142102540} + - component: {fileID: 114599774031249390} + m_Layer: 5 + m_Name: Dialog + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1356699880806864 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4622165212704408} + - component: {fileID: 33906992431043430} + - component: {fileID: 23093458686931764} + m_Layer: 0 + m_Name: FrontPlate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1381629630826318 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4977026145754914} + - component: {fileID: 33161321944739446} + - component: {fileID: 65686083637860090} + - component: {fileID: 23931932505893936} + m_Layer: 0 + m_Name: BackPlate (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1467988752334712 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4894872380827902} + - component: {fileID: 23420303770271808} + - component: {fileID: 102842246814104154} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1489037265611942 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4519113435366490} + - component: {fileID: 33180276323630026} + - component: {fileID: 23708336368147758} + m_Layer: 0 + m_Name: FrontPlate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1511778956706002 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4907333881639068} + - component: {fileID: 33301483199778352} + - component: {fileID: 23637838546937370} + m_Layer: 0 + m_Name: FrontPlate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1541987532145570 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4003984067946434} + - component: {fileID: 114168420066111414} + m_Layer: 5 + m_Name: ButtonParent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1555029825699980 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4241756843062122} + - component: {fileID: 114428363531159536} + - component: {fileID: 114231225487943540} + - component: {fileID: 114904804653078220} + - component: {fileID: 114172860866419624} + - component: {fileID: 65834266951014818} + - component: {fileID: 95900758162203568} + - component: {fileID: 114350782853457472} + - component: {fileID: 114434856811837186} + m_Layer: 5 + m_Name: ButtonTwoB + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1587180866166574 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4961213429713230} + - component: {fileID: 114688931253486972} + - component: {fileID: 114620752412838946} + - component: {fileID: 114303757081299380} + - component: {fileID: 114118079997275374} + - component: {fileID: 65816696277222256} + - component: {fileID: 95632085981314396} + - component: {fileID: 114491328678180188} + - component: {fileID: 114271716961128558} + m_Layer: 5 + m_Name: ButtonTwoA + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1637911108649638 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4623306000522962} + - component: {fileID: 114320534736491922} + - component: {fileID: 114141295795615922} + - component: {fileID: 114679455377057780} + - component: {fileID: 114387233475683162} + - component: {fileID: 65237055271978074} + - component: {fileID: 95284890550330938} + - component: {fileID: 114028953406361956} + - component: {fileID: 114342815534720882} + m_Layer: 5 + m_Name: ButtonOne + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1929838783911350 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4466039885609842} + - component: {fileID: 23327275734448382} + - component: {fileID: 102760608268315544} + m_Layer: 5 + m_Name: TitleMessage + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1968547284494550 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4963054443396458} + - component: {fileID: 33624518297232206} + - component: {fileID: 65543545355892104} + - component: {fileID: 23603115095985438} + m_Layer: 0 + m_Name: BackPlate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1971476696366490 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4334364529312920} + - component: {fileID: 23955001764902982} + - component: {fileID: 102102647220234710} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4003984067946434 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1541987532145570} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.0027, y: -0.0251, z: 0} + m_LocalScale: {x: 1.0546874, y: 1, z: 1} + m_Children: + - {fileID: 4623306000522962} + - {fileID: 4961213429713230} + - {fileID: 4241756843062122} + m_Father: {fileID: 4769699153315220} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4229120543532314 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1019022534889720} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.1425, y: 0.124299996, z: -0.0075} + m_LocalScale: {x: 0.00215, y: 0.00215, z: 0.00215} + m_Children: [] + m_Father: {fileID: 4769699153315220} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4241756843062122 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.1603, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4519113435366490} + - {fileID: 4334364529312920} + m_Father: {fileID: 4003984067946434} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4334364529312920 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1971476696366490} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0685, y: -0.0088, z: -0.0154} + m_LocalScale: {x: 0.0021804431, y: 0.0021804424, z: 0.0021804424} + m_Children: [] + m_Father: {fileID: 4241756843062122} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4466039885609842 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1929838783911350} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.1425, y: 0.091, z: -0.0075} + m_LocalScale: {x: 0.00215, y: 0.00215, z: 0.00215} + m_Children: [] + m_Father: {fileID: 4769699153315220} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4519113435366490 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1489037265611942} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0686, y: -0.00092, z: -0.0103} + m_LocalScale: {x: 0.15955345, y: 0.057183657, z: 0.01} + m_Children: [] + m_Father: {fileID: 4241756843062122} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4622165212704408 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1356699880806864} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.07104, y: -0.00092, z: -0.0103} + m_LocalScale: {x: 0.31941202, y: 0.057183657, z: 0.01} + m_Children: [] + m_Father: {fileID: 4623306000522962} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4623306000522962 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0825, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4622165212704408} + - {fileID: 4894872380827902} + m_Father: {fileID: 4003984067946434} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4769699153315220 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302394645271036} + 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_Children: + - {fileID: 4963054443396458} + - {fileID: 4003984067946434} + - {fileID: 4229120543532314} + - {fileID: 4466039885609842} + - {fileID: 4977026145754914} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4894872380827902 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1467988752334712} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0685, y: -0.0088, z: -0.0154} + m_LocalScale: {x: 0.0021804431, y: 0.0021804424, z: 0.0021804424} + m_Children: [] + m_Father: {fileID: 4623306000522962} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4907333881639068 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1511778956706002} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0686, y: -0.00092, z: -0.0103} + m_LocalScale: {x: 0.15955345, y: 0.057183657, z: 0.01} + m_Children: [] + m_Father: {fileID: 4961213429713230} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4917627126231626 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1194215173988218} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.0685, y: -0.0088, z: -0.0154} + m_LocalScale: {x: 0.0021804431, y: 0.0021804424, z: 0.0021804424} + m_Children: [] + m_Father: {fileID: 4961213429713230} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4961213429713230 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + 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_Children: + - {fileID: 4907333881639068} + - {fileID: 4917627126231626} + m_Father: {fileID: 4003984067946434} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4963054443396458 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1968547284494550} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.00931, y: 0.07103, z: 0.0008} + m_LocalScale: {x: 0.33770493, y: 0.13221483, z: 0.013608545} + m_Children: [] + m_Father: {fileID: 4769699153315220} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4977026145754914 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1381629630826318} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.00931, y: -0.02575, z: 0.0008} + m_LocalScale: {x: 0.33769998, y: 0.05651746, z: 0.01361} + m_Children: [] + m_Father: {fileID: 4769699153315220} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23093458686931764 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1356699880806864} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 2 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 1c018e76b2657e041976bfa8486880aa, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23327275734448382 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1929838783911350} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23420303770271808 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1467988752334712} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23603115095985438 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1968547284494550} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 8008904cd7f355748b0cee9ca6ca9a16, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23637838546937370 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1511778956706002} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 2 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 1c018e76b2657e041976bfa8486880aa, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23708336368147758 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1489037265611942} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 2 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 1c018e76b2657e041976bfa8486880aa, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23875418991656430 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1194215173988218} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23931932505893936 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1381629630826318} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 8008904cd7f355748b0cee9ca6ca9a16, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23955001764902982 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1971476696366490} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23990439735283304 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1019022534889720} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33161321944739446 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1381629630826318} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33180276323630026 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1489037265611942} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33301483199778352 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1511778956706002} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33624518297232206 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1968547284494550} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33906992431043430 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1356699880806864} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!65 &65237055271978074 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 0.3170168, y: 0.055628017, z: 0.02} + m_Center: {x: -0.070995815, y: -0.0008338392, z: 0} +--- !u!65 &65543545355892104 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1968547284494550} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65686083637860090 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1381629630826318} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65816696277222256 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 0.15658066, y: 0.055963084, z: 0.02} + m_Center: {x: -0.06882465, y: -0.0009943694, z: 0} +--- !u!65 &65834266951014818 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 0.15771209, y: 0.055963054, z: 0.02} + m_Center: {x: -0.06901319, y: -0.0009943694, z: 0} +--- !u!95 &95284890550330938 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: dade752fc71c3d940ba5cc7eaf201f24, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 +--- !u!95 &95632085981314396 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: dade752fc71c3d940ba5cc7eaf201f24, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 +--- !u!95 &95900758162203568 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: dade752fc71c3d940ba5cc7eaf201f24, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 +--- !u!102 &102102647220234710 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1971476696366490} + m_Text: Two B + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 7 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!102 &102639634095689150 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1019022534889720} + m_Text: System Dialog + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 100 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!102 &102760608268315544 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1929838783911350} + m_Text: "Lorem ipsum dolor sit amet, consectetur adipis\ncing elit, sed do\r eiusmod + tempor incididunt ut \nlabore et dolore magna aliqua." + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 0 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 66 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!102 &102842246814104154 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1467988752334712} + m_Text: One + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 7 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!102 &102896867461428228 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1194215173988218} + m_Text: Two A + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 7 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!114 &114028953406361956 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 728fec8e9feecf64f933543126cbecae, type: 3} + m_Name: + m_EditorClassIdentifier: + TargetAnimator: {fileID: 95284890550330938} + AnimActions: + - ButtonState: 0 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 0 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 1 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 1 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 2 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 2 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 3 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 3 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 4 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 4 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 5 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 5 + FloatValue: 0 + InvalidParam: 0 +--- !u!114 &114118079997275374 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ffc886b5774e0184990bff0ce51eaf92, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, type: 2} + TextMesh: {fileID: 102896867461428228} + OverrideFontStyle: 0 + Style: 0 + OverrideAnchor: 0 + Anchor: 4 + OverrideSize: 0 + Size: 72 + OverrideOffset: 1 + alpha: 1 + disableText: 0 +--- !u!114 &114141295795615922 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 86772d5ca853e924ba484bc960537c04, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 6d4aef9765aeda04cb4bde20802bcbd3, type: 2} + TargetTransform: {fileID: 0} + Renderer: {fileID: 23093458686931764} +--- !u!114 &114168420066111414 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1541987532145570} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 74154c01851d1174b89ac67209b1d140, type: 3} + m_Name: + m_EditorClassIdentifier: + NodeList: + - Name: ButtonTwoA + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 0} + - Name: ButtonTwoB + Offset: {x: 0, y: 0} + Radius: 0 + transform: {fileID: 0} + SurfaceType: 1 + SortType: 2 + OrientType: 1 + LayoutType: 0 + IgnoreInactiveTransforms: 1 + Radius: 0.63 + Rows: 1 + CellWidth: 0.125 + CellHeight: 0.045 + SphereMesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} + CylinderMesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &114172860866419624 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ffc886b5774e0184990bff0ce51eaf92, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, type: 2} + TextMesh: {fileID: 102102647220234710} + OverrideFontStyle: 0 + Style: 0 + OverrideAnchor: 0 + Anchor: 4 + OverrideSize: 0 + Size: 72 + OverrideOffset: 1 + alpha: 1 + disableText: 0 +--- !u!114 &114195073142102540 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302394645271036} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f09bc724c1c1ace45a2ec3f11ce09be9, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateLinkedTransform: 0 + MoveLerpTime: 0.3 + RotateLerpTime: 0.3 + ScaleLerpTime: 0.3 + MaintainScale: 1 + GoalPosition: {x: 0, y: 0, z: 0} + GoalRotation: {x: 0, y: 0, z: 0, w: 0} + GoalScale: {x: 1, y: 1, z: 1} + Smoothing: 1 + Lifetime: 0 + ReferenceDirection: 1 + MinDistance: 1 + MaxDistance: 2 + MinViewDegrees: 0 + MaxViewDegrees: 10 + AspectV: 1 + IgnoreAngleClamp: 0 + IgnoreDistanceClamp: 0 + OrientToRefDir: 0 +--- !u!114 &114231225487943540 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 86772d5ca853e924ba484bc960537c04, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 6d4aef9765aeda04cb4bde20802bcbd3, type: 2} + TargetTransform: {fileID: 0} + Renderer: {fileID: 23708336368147758} +--- !u!114 &114271716961128558 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7c1bb22d8c2b069458160f711ce56627, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonTypeEnum: 0 +--- !u!114 &114303757081299380 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f7f67074a40850544a196681fad1325f, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: f9af5d824507da24b8bbd97f4948aec7, type: 2} + audioSource: {fileID: 0} +--- !u!114 &114320534736491922 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonState: 4 + ButtonPressFilter: 1 + RequireGaze: 1 + MainCollider: {fileID: 65237055271978074} + MainRenderer: {fileID: 0} +--- !u!114 &114342815534720882 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7c1bb22d8c2b069458160f711ce56627, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonTypeEnum: 0 +--- !u!114 &114350782853457472 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 728fec8e9feecf64f933543126cbecae, type: 3} + m_Name: + m_EditorClassIdentifier: + TargetAnimator: {fileID: 95900758162203568} + AnimActions: + - ButtonState: 0 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 0 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 1 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 1 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 2 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 2 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 3 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 3 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 4 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 4 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 5 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 5 + FloatValue: 0 + InvalidParam: 0 +--- !u!114 &114387233475683162 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ffc886b5774e0184990bff0ce51eaf92, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, type: 2} + TextMesh: {fileID: 102842246814104154} + OverrideFontStyle: 0 + Style: 0 + OverrideAnchor: 0 + Anchor: 4 + OverrideSize: 0 + Size: 72 + OverrideOffset: 1 + alpha: 1 + disableText: 0 +--- !u!114 &114428363531159536 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonState: 4 + ButtonPressFilter: 1 + RequireGaze: 1 + MainCollider: {fileID: 65834266951014818} + MainRenderer: {fileID: 0} +--- !u!114 &114434856811837186 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7c1bb22d8c2b069458160f711ce56627, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonTypeEnum: 0 +--- !u!114 &114491328678180188 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 728fec8e9feecf64f933543126cbecae, type: 3} + m_Name: + m_EditorClassIdentifier: + TargetAnimator: {fileID: 95632085981314396} + AnimActions: + - ButtonState: 0 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 0 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 1 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 1 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 2 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 2 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 3 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 3 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 4 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 4 + FloatValue: 0 + InvalidParam: 0 + - ButtonState: 5 + ParamName: State + ParamType: 3 + BoolValue: 0 + IntValue: 5 + FloatValue: 0 + InvalidParam: 0 +--- !u!114 &114497059082066012 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302394645271036} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ae3aabb0fcce789409adf7d81ed70414, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateLinkedTransform: 0 + MoveLerpTime: 0.1 + RotateLerpTime: 0.1 + ScaleLerpTime: 0 + MaintainScale: 1 + GoalPosition: {x: 0, y: 0, z: 0} + GoalRotation: {x: 0, y: 0, z: 0, w: 0} + GoalScale: {x: 0, y: 0, z: 0} + Smoothing: 1 + Lifetime: 0 + TargetViewPercentV: 0.29 + MinDistance: 0.5 + MaxDistance: 3 + MinScale: 0.01 + MaxScale: 2 + ScaleBuffer: 0.01 + ManualObjectSize: 0 + ScaleState: 0 +--- !u!114 &114599774031249390 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302394645271036} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c87713fbad4edbc46a3cc23770b0b4c3, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 6 + handedness: 1 + trackedObjectToReference: 0 + transformTarget: {fileID: 0} +--- !u!114 &114617495383521140 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1302394645271036} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 81848a8c7246a9a4d84c21eba1a9c0fe, type: 3} + m_Name: + m_EditorClassIdentifier: + interactables: [] + Targets: [] + lockFocus: 0 + buttonParent: {fileID: 0} + maxCharsPerLine: 45 + titleText: {fileID: 0} + messageText: {fileID: 0} + oneButtonSet: [] + twoButtonSet: [] +--- !u!114 &114620752412838946 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 86772d5ca853e924ba484bc960537c04, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: 6d4aef9765aeda04cb4bde20802bcbd3, type: 2} + TargetTransform: {fileID: 0} + Renderer: {fileID: 23637838546937370} +--- !u!114 &114679455377057780 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1637911108649638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f7f67074a40850544a196681fad1325f, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: f9af5d824507da24b8bbd97f4948aec7, type: 2} + audioSource: {fileID: 0} +--- !u!114 &114688931253486972 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1587180866166574} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: + ButtonState: 4 + ButtonPressFilter: 1 + RequireGaze: 1 + MainCollider: {fileID: 65816696277222256} + MainRenderer: {fileID: 0} +--- !u!114 &114904804653078220 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1555029825699980} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f7f67074a40850544a196681fad1325f, type: 3} + m_Name: + m_EditorClassIdentifier: + Profile: {fileID: 11400000, guid: f9af5d824507da24b8bbd97f4948aec7, type: 2} + audioSource: {fileID: 0} diff --git a/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab.meta new file mode 100644 index 00000000000..fa0179b89b5 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Dialog.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 675f0fa1333683640974b1e6c078079e +timeCreated: 1517338867 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress.meta b/Assets/HoloToolkit/UX/Prefabs/Progress.meta new file mode 100644 index 00000000000..14ff9824529 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: d0f597951446d71418ca94c1792052fb +folderAsset: yes +timeCreated: 1518462245 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab new file mode 100644 index 00000000000..f79495b62d3 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab @@ -0,0 +1,102 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1552878577744446} + m_IsPrefabParent: 1 +--- !u!1 &1552878577744446 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4389375419397188} + - component: {fileID: 33888198603412818} + - component: {fileID: 23971379526199688} + - component: {fileID: 114625119994975924} + m_Layer: 0 + m_Name: Icon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4389375419397188 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1552878577744446} + m_LocalRotation: {x: -0.7071068, y: -0.000000029802319, z: -0.000000029802319, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0.024999976, z: 0} + m_LocalScale: {x: 0.005, y: 0.0050000018, z: 0.0050000018} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0} +--- !u!23 &23971379526199688 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1552878577744446} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 4f37668d794e3694c9ee36b62447d99b, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33888198603412818 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1552878577744446} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &114625119994975924 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1552878577744446} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f21b21e52b3ffa44ea36d006a8740001, type: 3} + m_Name: + m_EditorClassIdentifier: + rotationIncrement: 200 + minScale: 0.001 + maxScale: 10 + scaleSpeed: 30 + rotationActive: 0 + growingActive: 1 diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab.meta new file mode 100644 index 00000000000..da52ae0a4b5 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/Icon.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 621f8fff72f372249a5c87a30a619560 +timeCreated: 1518462252 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab new file mode 100644 index 00000000000..828ee4b7039 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab @@ -0,0 +1,118 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1787749711970592} + m_IsPrefabParent: 1 +--- !u!1 &1787749711970592 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4030167587409156} + - component: {fileID: 33438200274554124} + - component: {fileID: 65825787308792590} + - component: {fileID: 23363418055148764} + - component: {fileID: 114442307572104106} + m_Layer: 0 + m_Name: LoadingIconPrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4030167587409156 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1787749711970592} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 10, y: 10, z: 10} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23363418055148764 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1787749711970592} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33438200274554124 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1787749711970592} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!65 &65825787308792590 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1787749711970592} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &114442307572104106 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1787749711970592} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f26f823a09a994040b6713d14df62844, type: 3} + m_Name: + m_EditorClassIdentifier: + rotationIncrement: 200 + minScale: 1 + maxScale: 9 + scaleSpeed: 30 + rotationActive: 1 + growingActive: 1 + xAxisRotation: 0 + yAxisRotation: 0 + zAxisRotation: 1 diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab.meta new file mode 100644 index 00000000000..9f6d2039f6d --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/LoadingIconPrefab.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 5bae22804225d9e41bc7a1b3f1128260 +timeCreated: 1518462252 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab new file mode 100644 index 00000000000..cc5b4b8e7e9 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab @@ -0,0 +1,84 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1662296953874400} + m_IsPrefabParent: 1 +--- !u!1 &1662296953874400 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4176982059945618} + - component: {fileID: 33938553354133356} + - component: {fileID: 23950393499919212} + m_Layer: 0 + m_Name: Model_Platonic + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4176982059945618 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1662296953874400} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23950393499919212 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1662296953874400} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33938553354133356 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1662296953874400} + m_Mesh: {fileID: 4300000, guid: 5838ea95659d32943afec95550ac1ce1, type: 3} diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab.meta new file mode 100644 index 00000000000..2e587fd4ec0 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/Model_Platonic.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b37a70b3b373d434daac92ced5ea4271 +timeCreated: 1518462253 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab new file mode 100644 index 00000000000..12acfdcd875 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab @@ -0,0 +1,566 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1993071269674472} + m_IsPrefabParent: 1 +--- !u!1 &1097101697639988 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4284902385884922} + - component: {fileID: 33166504657678300} + - component: {fileID: 23299070976812320} + m_Layer: 0 + m_Name: Progress + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1102845692609552 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4375920198330274} + - component: {fileID: 23026828239920680} + - component: {fileID: 102221980556540218} + m_Layer: 5 + m_Name: MessageText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1381473157531606 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4126320297199430} + m_Layer: 0 + m_Name: ProgressBar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1629062579024012 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4253659577908146} + - component: {fileID: 33370887238576622} + - component: {fileID: 23020373719430166} + m_Layer: 0 + m_Name: Background + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1639736902270830 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4078458162675916} + - component: {fileID: 95288104088676056} + m_Layer: 0 + m_Name: Animator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1646704203774500 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4336935524888450} + - component: {fileID: 23282046388292350} + - component: {fileID: 102899416982016002} + m_Layer: 5 + m_Name: ProgressText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1800749292162002 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4772221039067804} + m_Layer: 0 + m_Name: Bar + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1993071269674472 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4857426404074426} + - component: {fileID: 114067474496009482} + - component: {fileID: 114707428737167554} + - component: {fileID: 114835307708964488} + - component: {fileID: 114867900680383574} + m_Layer: 5 + m_Name: ProgressIndicator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4078458162675916 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1639736902270830} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.025, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4126320297199430} + m_Father: {fileID: 4857426404074426} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4126320297199430 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1381473157531606} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.0416, z: 0} + m_LocalScale: {x: 0.77585787, y: 0.77585787, z: 0.77585787} + m_Children: + - {fileID: 4253659577908146} + - {fileID: 4772221039067804} + m_Father: {fileID: 4078458162675916} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4253659577908146 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1629062579024012} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.0213, z: 0} + m_LocalScale: {x: 0.19104986, y: 0.014328718, z: 0.009939598} + m_Children: [] + m_Father: {fileID: 4126320297199430} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4284902385884922 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1097101697639988} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.0937, y: 0.00010999851, z: -0.003700018} + m_LocalScale: {x: 0.1875, y: 0.011547943, z: 0.008010226} + m_Children: [] + m_Father: {fileID: 4772221039067804} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4336935524888450 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1646704203774500} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.0409, z: 0} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_Children: [] + m_Father: {fileID: 4857426404074426} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4375920198330274 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1102845692609552} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: -0.025, z: 0} + m_LocalScale: {x: 0.002, y: 0.002, z: 0.002} + m_Children: [] + m_Father: {fileID: 4857426404074426} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4772221039067804 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1800749292162002} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.09355, y: 0.02119, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 4284902385884922} + m_Father: {fileID: 4126320297199430} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4857426404074426 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1993071269674472} + 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_Children: + - {fileID: 4078458162675916} + - {fileID: 4375920198330274} + - {fileID: 4336935524888450} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23020373719430166 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1629062579024012} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23026828239920680 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1102845692609552} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23282046388292350 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1646704203774500} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23299070976812320 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1097101697639988} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33166504657678300 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1097101697639988} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33370887238576622 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1629062579024012} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!95 &95288104088676056 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1639736902270830} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 23a0793073e3e1944a34a996dc4cf158, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 +--- !u!102 &102221980556540218 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1102845692609552} + m_Text: Message + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 40 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!102 &102899416982016002 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1646704203774500} + m_Text: 0.0% + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 72 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!114 &114067474496009482 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1993071269674472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a9d4e997c97265844a812b493be820fa, type: 3} + m_Name: + m_EditorClassIdentifier: + defaultIndicatorStyle: 2 + defaultProgressStyle: 1 + defaultMessageStyle: 1 + defaultPrefab: {fileID: 1245238035927764, guid: 618bf808bd514c94dbe92e33f7196490, + type: 2} + defaultIconPrefab: {fileID: 1245238035927764, guid: b11f9ad326f31d34cbe2039cad63f6c4, + type: 2} + defaultOrbsPrefab: {fileID: 1877138048077504, guid: 8769cb43fa542914f8aaceee4736c815, + type: 2} + progressBarContainer: {fileID: 1381473157531606} + progressBar: {fileID: 4772221039067804} + messageText: {fileID: 102221980556540218} + progressText: {fileID: 102899416982016002} + animator: {fileID: 95288104088676056} + ProgressFormat: 0.0 +--- !u!114 &114707428737167554 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1993071269674472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c87713fbad4edbc46a3cc23770b0b4c3, type: 3} + m_Name: + m_EditorClassIdentifier: + element: 6 + handedness: 1 + trackedObjectToReference: 0 + transformTarget: {fileID: 0} +--- !u!114 &114835307708964488 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1993071269674472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ae3aabb0fcce789409adf7d81ed70414, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateLinkedTransform: 0 + MoveLerpTime: 0.1 + RotateLerpTime: 0.1 + ScaleLerpTime: 0 + MaintainScale: 1 + GoalPosition: {x: 0, y: 0, z: 0} + GoalRotation: {x: 0, y: 0, z: 0, w: 0} + GoalScale: {x: 1, y: 1, z: 1} + Smoothing: 1 + Lifetime: 0 + TargetViewPercentV: 0.28 + MinDistance: 0.2 + MaxDistance: 1 + MinScale: 0.05 + MaxScale: 2 + ScaleBuffer: 0.05 + ManualObjectSize: 0 + ScaleState: 0 +--- !u!114 &114867900680383574 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1993071269674472} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f09bc724c1c1ace45a2ec3f11ce09be9, type: 3} + m_Name: + m_EditorClassIdentifier: + UpdateLinkedTransform: 0 + MoveLerpTime: 0.19999999 + RotateLerpTime: 0.19999999 + ScaleLerpTime: 0 + MaintainScale: 1 + GoalPosition: {x: 0, y: 0, z: 0} + GoalRotation: {x: 0, y: 0, z: 0, w: 0} + GoalScale: {x: 1, y: 1, z: 1} + Smoothing: 1 + Lifetime: 0 + ReferenceDirection: 1 + MinDistance: 0.5 + MaxDistance: 3.5 + MinViewDegrees: 2 + MaxViewDegrees: 4 + AspectV: 1 + IgnoreAngleClamp: 0 + IgnoreDistanceClamp: 0 + OrientToRefDir: 0 diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab.meta new file mode 100644 index 00000000000..118f0e50bca --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicator.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: ee519d5fb10a6db4f84d116e66f872b6 +timeCreated: 1518462253 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab new file mode 100644 index 00000000000..70fdfeb48d8 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab @@ -0,0 +1,105 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1245238035927764} + m_IsPrefabParent: 1 +--- !u!1 &1245238035927764 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4168838544076616} + - component: {fileID: 33760788477812612} + - component: {fileID: 23733828809625840} + - component: {fileID: 114673174492309362} + m_Layer: 0 + m_Name: ProgressIndicatorPrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4168838544076616 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_LocalRotation: {x: 0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0} + m_LocalScale: {x: 10, y: 10, z: 10} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23733828809625840 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 97b73006130d05b4c90034845c44e88d, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33760788477812612 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Mesh: {fileID: 4300000, guid: 5838ea95659d32943afec95550ac1ce1, type: 3} +--- !u!114 &114673174492309362 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f26f823a09a994040b6713d14df62844, type: 3} + m_Name: + m_EditorClassIdentifier: + rotationIncrement: 200 + minScale: 1 + maxScale: 9 + scaleSpeed: 30 + rotationActive: 1 + growingActive: 1 + xAxisRotation: 0 + yAxisRotation: 1 + zAxisRotation: 0 diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab.meta new file mode 100644 index 00000000000..e3e9bff25aa --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefab.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 618bf808bd514c94dbe92e33f7196490 +timeCreated: 1518462252 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab new file mode 100644 index 00000000000..41c07262774 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab @@ -0,0 +1,120 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1245238035927764} + m_IsPrefabParent: 1 +--- !u!1 &1245238035927764 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4168838544076616} + - component: {fileID: 33760788477812612} + - component: {fileID: 64852714611982740} + - component: {fileID: 23733828809625840} + - component: {fileID: 114079248952638588} + m_Layer: 0 + m_Name: ProgressIndicatorPrefabIcon + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4168838544076616 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + 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_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23733828809625840 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 4f37668d794e3694c9ee36b62447d99b, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33760788477812612 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!64 &64852714611982740 +MeshCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &114079248952638588 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1245238035927764} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f26f823a09a994040b6713d14df62844, type: 3} + m_Name: + m_EditorClassIdentifier: + rotationIncrement: -300 + minScale: 1 + maxScale: 9 + scaleSpeed: 30 + rotationActive: 1 + growingActive: 1 + xAxisRotation: 0 + yAxisRotation: 0 + zAxisRotation: 1 diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab.meta new file mode 100644 index 00000000000..45379328d31 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/ProgressIndicatorPrefabIcon.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: b11f9ad326f31d34cbe2039cad63f6c4 +timeCreated: 1518462253 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab b/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab new file mode 100644 index 00000000000..abaae2d1c9e --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab @@ -0,0 +1,979 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1877138048077504} + m_IsPrefabParent: 1 +--- !u!1 &1181617332219464 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4595145724928224} + - component: {fileID: 33609682397421384} + - component: {fileID: 136328024180615728} + - component: {fileID: 23667163912033526} + m_Layer: 0 + m_Name: Dot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1231201304909340 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4633573737964426} + - component: {fileID: 33425735324893568} + - component: {fileID: 136219199934553144} + - component: {fileID: 23938066601194554} + m_Layer: 0 + m_Name: Dot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1398239229547404 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4927878264751558} + - component: {fileID: 33997063267079004} + - component: {fileID: 136198643086790308} + - component: {fileID: 23806786425549720} + m_Layer: 0 + m_Name: Dot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1404347800010822 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4868161492357084} + - component: {fileID: 33251823576426956} + - component: {fileID: 65554603408136918} + - component: {fileID: 23569534384644962} + m_Layer: 0 + m_Name: Orb + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1485130322227930 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4422344605485090} + - component: {fileID: 33770321516141364} + - component: {fileID: 65099570526794374} + - component: {fileID: 23460605788774808} + m_Layer: 0 + m_Name: Orb + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1634107716976086 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4800557553567992} + - component: {fileID: 33921344869847500} + - component: {fileID: 65668027193181906} + - component: {fileID: 23978384573421952} + m_Layer: 0 + m_Name: Orb + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1689662205721340 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4770387483761246} + - component: {fileID: 33812143521128104} + - component: {fileID: 136847326206026894} + - component: {fileID: 23318457892950840} + m_Layer: 0 + m_Name: Dot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1732263211534098 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4981267259556662} + - component: {fileID: 33529063494081912} + - component: {fileID: 65586636664793536} + - component: {fileID: 23369426004255490} + m_Layer: 0 + m_Name: Orb + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1801196955771238 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4734998428582638} + - component: {fileID: 33487304823856736} + - component: {fileID: 65099381740828862} + - component: {fileID: 23931966132183642} + m_Layer: 0 + m_Name: Orb + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1877138048077504 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4096728816918502} + - component: {fileID: 33375490159860214} + - component: {fileID: 64257286801000630} + - component: {fileID: 23807080967479744} + - component: {fileID: 114375667571304406} + m_Layer: 0 + m_Name: RotatingOrbs + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1918846182316446 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4520965991792798} + - component: {fileID: 33553814213200728} + - component: {fileID: 136848310280590160} + - component: {fileID: 23786401754279690} + m_Layer: 0 + m_Name: Dot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4096728816918502 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1877138048077504} + m_LocalRotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.13154018, y: 0.13154018, z: 0.13154} + m_Children: + - {fileID: 4734998428582638} + - {fileID: 4422344605485090} + - {fileID: 4800557553567992} + - {fileID: 4981267259556662} + - {fileID: 4868161492357084} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!4 &4422344605485090 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1485130322227930} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.9497921, y: 0.00000045312882, z: 0} + m_LocalScale: {x: 0.20001504, y: 0.20001504, z: 0.20001519} + m_Children: + - {fileID: 4595145724928224} + m_Father: {fileID: 4096728816918502} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!4 &4520965991792798 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1918846182316446} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 14.76, y: -0.01, z: 0.02} + m_LocalScale: {x: 3.5286868, y: 0.00035286884, z: 3.5286872} + m_Children: [] + m_Father: {fileID: 4868161492357084} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4595145724928224 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1181617332219464} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 14.76, y: -0.01, z: 0.02} + m_LocalScale: {x: 3.5286868, y: 0.00035286884, z: 3.5286872} + m_Children: [] + m_Father: {fileID: 4422344605485090} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4633573737964426 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1231201304909340} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 14.76, y: -0.01, z: 0.02} + m_LocalScale: {x: 3.5286868, y: 0.00035286884, z: 3.5286872} + m_Children: [] + m_Father: {fileID: 4800557553567992} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4734998428582638 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1801196955771238} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.9497912, y: 0.00000045312882, z: 0} + m_LocalScale: {x: 0.20001504, y: 0.20001504, z: 0.20001519} + m_Children: + - {fileID: 4770387483761246} + m_Father: {fileID: 4096728816918502} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!4 &4770387483761246 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1689662205721340} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 14.76, y: -0.01, z: 0.02} + m_LocalScale: {x: 3.5286868, y: 0.00035286884, z: 3.5286872} + m_Children: [] + m_Father: {fileID: 4734998428582638} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4800557553567992 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1634107716976086} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.9497929, y: 0.00000045312882, z: 0} + m_LocalScale: {x: 0.20001504, y: 0.20001504, z: 0.20001519} + m_Children: + - {fileID: 4633573737964426} + m_Father: {fileID: 4096728816918502} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!4 &4868161492357084 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1404347800010822} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.9497948, y: 0.00000045312882, z: 0} + m_LocalScale: {x: 0.20001504, y: 0.20001504, z: 0.20001519} + m_Children: + - {fileID: 4520965991792798} + m_Father: {fileID: 4096728816918502} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!4 &4927878264751558 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1398239229547404} + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 14.76, y: -0.01, z: 0.02} + m_LocalScale: {x: 3.5286868, y: 0.00035286884, z: 3.5286872} + m_Children: [] + m_Father: {fileID: 4981267259556662} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!4 &4981267259556662 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1732263211534098} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -2.9497938, y: 0.00000045312882, z: 0} + m_LocalScale: {x: 0.20001504, y: 0.20001504, z: 0.20001519} + m_Children: + - {fileID: 4927878264751558} + m_Father: {fileID: 4096728816918502} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 90} +--- !u!23 &23318457892950840 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1689662205721340} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23369426004255490 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1732263211534098} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23460605788774808 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1485130322227930} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23569534384644962 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1404347800010822} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23667163912033526 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1181617332219464} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23786401754279690 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1918846182316446} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23806786425549720 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1398239229547404} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23807080967479744 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1877138048077504} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23931966132183642 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1801196955771238} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23938066601194554 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1231201304909340} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_Materials: + - {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23978384573421952 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1634107716976086} + m_Enabled: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33251823576426956 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1404347800010822} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33375490159860214 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1877138048077504} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33425735324893568 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1231201304909340} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33487304823856736 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1801196955771238} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33529063494081912 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1732263211534098} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33553814213200728 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1918846182316446} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33609682397421384 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1181617332219464} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33770321516141364 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1485130322227930} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33812143521128104 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1689662205721340} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33921344869847500 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1634107716976086} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!33 &33997063267079004 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1398239229547404} + m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} +--- !u!64 &64257286801000630 +MeshCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1877138048077504} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Convex: 0 + m_InflateMesh: 0 + m_SkinWidth: 0.01 + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!65 &65099381740828862 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1801196955771238} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65099570526794374 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1485130322227930} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65554603408136918 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1404347800010822} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65586636664793536 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1732263211534098} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!65 &65668027193181906 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1634107716976086} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} +--- !u!114 &114375667571304406 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1877138048077504} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 84168829751123045887f94604384d71, type: 3} + m_Name: + m_EditorClassIdentifier: + orbs: + - {fileID: 1801196955771238} + - {fileID: 1485130322227930} + - {fileID: 1634107716976086} + - {fileID: 1732263211534098} + - {fileID: 1404347800010822} + orbMaterial: {fileID: 2100000, guid: 360c90aa3bc85c9438a05d511deb80ae, type: 2} + RotationSpeedRawDegrees: -200 + SpacingDegrees: 22 + Acceleration: 1.4 + Revolutions: 3 + TestStop: 0 + HasAnimationFinished: 0 +--- !u!136 &136198643086790308 +CapsuleCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1398239229547404} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!136 &136219199934553144 +CapsuleCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1231201304909340} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!136 &136328024180615728 +CapsuleCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1181617332219464} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!136 &136847326206026894 +CapsuleCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1689662205721340} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!136 &136848310280590160 +CapsuleCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1918846182316446} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + m_Radius: 0.5 + m_Height: 2 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab.meta new file mode 100644 index 00000000000..7ef91e1007a --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Progress/RotatingOrbs.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 8769cb43fa542914f8aaceee4736c815 +timeCreated: 1518560609 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text.meta b/Assets/HoloToolkit/UX/Prefabs/Text.meta new file mode 100644 index 00000000000..a817333dc28 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 59c43794cfe522246aaa1d4a04cadf68 +folderAsset: yes +timeCreated: 1525804722 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab new file mode 100644 index 00000000000..0a49820aaa7 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab @@ -0,0 +1,95 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextPrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingOrder: 0 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab.meta new file mode 100644 index 00000000000..ae34382cfd5 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextPrefab.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 2702ecab89b993642b714ec200597bbb +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab new file mode 100644 index 00000000000..96b1a98afbe --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextSelawik + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab.meta new file mode 100644 index 00000000000..4ffda4d88c2 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawik.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: adce165054b90864492ee4f57710e214 +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab new file mode 100644 index 00000000000..ec93018013e --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextSelawikBold + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 471809e7fc7f6c343814ec3b12e90cdc, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab.meta new file mode 100644 index 00000000000..39616928507 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikBold.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 92c82c17afbf2754393680f3ab0a1849 +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab new file mode 100644 index 00000000000..b72c70d7c17 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextSelawikLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: c1bfa29de167757468fd4c7f153501db, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: b8a8324793a77d14fad6ef1dc06c55ed, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab.meta new file mode 100644 index 00000000000..45e60cf4839 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikLight.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4b130d74b0f8d5549b85e26ef52813fc +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab new file mode 100644 index 00000000000..d4b799b7268 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextSelawikSemibold + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 6b26d37dd442201449bb09494a97bc40, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab.meta new file mode 100644 index 00000000000..9658a74ac08 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemibold.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c3180659337f41c4c9f172bb44b0f867 +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab new file mode 100644 index 00000000000..da6388e826f --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab @@ -0,0 +1,98 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000013198843976} + m_IsPrefabParent: 1 +--- !u!1 &1000013198843976 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4000010330146594} + - component: {fileID: 23000013318538408} + - component: {fileID: 102000010767390410} + m_Layer: 0 + m_Name: 3DTextSelawikSemilight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4000010330146594 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23000013318538408 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 647cbe3177036874ab98760939fc4ad0, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!102 &102000010767390410 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000013198843976} + m_Text: 3D Text Prefab + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 1 + m_TabSize: 4 + m_FontSize: 48 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: 98d9db324dda3a44e93fbf3b7ce9eca9, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab.meta new file mode 100644 index 00000000000..497dea69ed5 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/3DTextSelawikSemilight.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c07f18faebebb2d409b2f26d63cad856 +timeCreated: 1480372998 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab new file mode 100644 index 00000000000..a43ecfd621b --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab @@ -0,0 +1,180 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextPrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 2 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab.meta new file mode 100644 index 00000000000..f442a501845 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextPrefab.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f2e93466807054f4d84502470fe921c0 +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab new file mode 100644 index 00000000000..4c90d643cd9 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab @@ -0,0 +1,181 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextSelawik + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: 1017ef825d041c749bab30bf03aca0d3, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 86574c70442309b45be5a1c37a37a40b, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab.meta new file mode 100644 index 00000000000..b283cca3ac2 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawik.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 7ea8eb39469b42d4faf18a5d262f6d66 +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab new file mode 100644 index 00000000000..9a0db06d1e0 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab @@ -0,0 +1,181 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextSelawikBold + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: 5904280e1a4bfb34faa0f5c2d6fac671, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 2a056e2bb89e0134daaf49e5f183e5dc, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab.meta new file mode 100644 index 00000000000..d2466445fe8 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikBold.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1e4e5794f301cf54481a9551940961cb +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab new file mode 100644 index 00000000000..2f723d9c195 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab @@ -0,0 +1,181 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextSelawikLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: 149bd8b5fae79644fa52ce4c145affa3, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: b8a8324793a77d14fad6ef1dc06c55ed, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab.meta new file mode 100644 index 00000000000..e7b5aec494b --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikLight.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6ff8b82e3bd96854bb810f387edfe000 +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab new file mode 100644 index 00000000000..24ba71b082d --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab @@ -0,0 +1,181 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextSelawikSemibold + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: ec2997a7cadd75d4aafbb0afdb6e72ec, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab.meta new file mode 100644 index 00000000000..9b2bf8e2e7a --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemibold.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4dc7c4982b8b66f45a374ad4fbf5b0da +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab new file mode 100644 index 00000000000..ead0d82801e --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab @@ -0,0 +1,181 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1000011327985922} + m_IsPrefabParent: 1 +--- !u!1 &1000011327985922 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000011042862180} + - component: {fileID: 223000013180475572} + - component: {fileID: 114000011891169664} + - component: {fileID: 114000011733207730} + m_Layer: 5 + m_Name: UITextSelawikSemilight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1000014098139846 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 224000014204859762} + - component: {fileID: 222000010219370930} + - component: {fileID: 114000010164638790} + m_Layer: 5 + m_Name: Text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &114000010164638790 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 2100000, guid: 58bdba2aa5e08be48bd69508580f4eda, type: 2} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, + Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + m_FontData: + m_Font: {fileID: 12800000, guid: 98d9db324dda3a44e93fbf3b7ce9eca9, type: 3} + m_FontSize: 48 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 150 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: UI Text Prefab +--- !u!114 &114000011733207730 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &114000011891169664 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} + m_Name: + m_EditorClassIdentifier: + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 2 +--- !u!222 &222000010219370930 +CanvasRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} +--- !u!223 &223000013180475572 +Canvas: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_AdditionalShaderChannelsFlag: 25 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!224 &224000011042862180 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000011327985922} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.0005, y: 0.0005, z: 0.0005} + m_Children: + - {fileID: 224000014204859762} + m_Father: {fileID: 0} + m_RootOrder: 0 + 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: 1, y: 1} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!224 &224000014204859762 +RectTransform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1000014098139846} + 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_Children: [] + m_Father: {fileID: 224000011042862180} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 500, y: 200} + m_Pivot: {x: 0.5, y: 0.5} diff --git a/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab.meta new file mode 100644 index 00000000000..c472a80fd05 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/Text/UITextSelawikSemilight.prefab.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fa5b294186aedf84bb82749c797e1821 +timeCreated: 1480372996 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab b/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab new file mode 100644 index 00000000000..756a411d554 --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab @@ -0,0 +1,667 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1001 &100100000 +Prefab: + m_ObjectHideFlags: 1 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: [] + m_RemovedComponents: [] + m_ParentPrefab: {fileID: 0} + m_RootGameObject: {fileID: 1963181076315932} + m_IsPrefabParent: 1 +--- !u!1 &1159203306281736 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4992329056269614} + m_Layer: 0 + m_Name: Anchor + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1669469392401874 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4838603517195600} + m_Layer: 0 + m_Name: ContentParent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1670758749238574 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4265888144028786} + - component: {fileID: 23359360151598834} + - component: {fileID: 102388150973355850} + m_Layer: 0 + m_Name: Label + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1692073572347358 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4268129604402540} + - component: {fileID: 114299401014778236} + m_Layer: 0 + m_Name: Pivot + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1866436118204410 +GameObject: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4877995955028244} + - component: {fileID: 33147709546586604} + - component: {fileID: 23479976745827762} + - component: {fileID: 114352942641531646} + - component: {fileID: 114969983881809412} + - component: {fileID: 65676605674985514} + m_Layer: 0 + m_Name: TipBackground + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!1 &1963181076315932 +GameObject: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + serializedVersion: 5 + m_Component: + - component: {fileID: 4958700347904618} + - component: {fileID: 114697570813435190} + - component: {fileID: 114262839923521372} + - component: {fileID: 114065498733854586} + - component: {fileID: 114608972520619298} + - component: {fileID: 114560166902750794} + m_Layer: 0 + m_Name: ToolTip + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4265888144028786 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1670758749238574} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.005, y: 0.005, z: 0.005} + m_Children: [] + m_Father: {fileID: 4838603517195600} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4268129604402540 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1692073572347358} + 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_Children: + - {fileID: 4838603517195600} + m_Father: {fileID: 4958700347904618} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4838603517195600 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1669469392401874} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.2, y: 0.2, z: 0.2} + m_Children: + - {fileID: 4265888144028786} + - {fileID: 4877995955028244} + m_Father: {fileID: 4268129604402540} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4877995955028244 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.182, y: 0.028, z: 1} + m_Children: [] + m_Father: {fileID: 4838603517195600} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &4958700347904618 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 15.419085, y: 15.419087, z: 15.419087} + m_Children: + - {fileID: 4992329056269614} + - {fileID: 4268129604402540} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 18.61, z: 0} +--- !u!4 &4992329056269614 +Transform: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1159203306281736} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0.0298, y: 0.01750001, z: 0.02860002} + m_LocalScale: {x: 0.0025, y: 0.0025, z: 0.0025} + m_Children: [] + m_Father: {fileID: 4958700347904618} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!23 &23359360151598834 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1670758749238574} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!23 &23479976745827762 +MeshRenderer: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_Materials: + - {fileID: 2100000, guid: 151c96065fff785478dd7e3d33953d55, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 1 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + 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 +--- !u!33 &33147709546586604 +MeshFilter: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!65 &65676605674985514 +BoxCollider: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Size: {x: 1, y: 1, z: 0.001} + m_Center: {x: 0, y: 0, z: 0} +--- !u!102 &102388150973355850 +TextMesh: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1670758749238574} + m_Text: I am a Tool Tip + m_OffsetZ: 0 + m_CharacterSize: 1 + m_LineSpacing: 1 + m_Anchor: 4 + m_Alignment: 0 + m_TabSize: 4 + m_FontSize: 30 + m_FontStyle: 0 + m_RichText: 1 + m_Font: {fileID: 12800000, guid: e3d8348b7d66bae4aa4b1f3ada3ef5fd, type: 3} + m_Color: + serializedVersion: 2 + rgba: 4294967295 +--- !u!114 &114065498733854586 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bec4b46028f8fb94c9b03b88fca37bd6, type: 3} + m_Name: + m_EditorClassIdentifier: + LineStartClamp: 0 + LineEndClamp: 1 + RotationType: 1 + FlipUpVector: 0 + OriginOffset: {x: 0, y: 0, z: 0} + ManualUpVectorBlend: 0 + ManualUpVectors: + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + VelocitySearchRange: 0.02 + VelocityBlend: 0.5 + DistortionType: 0 + DistortionStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + UniformDistortionStrength: 1 + distorters: [] + loops: 0 + Start: {x: 0.029800002, y: 0.01750001, z: 0.02860002} + End: {x: 0, y: 0, z: 0} +--- !u!114 &114262839923521372 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c83ed6c999201214ea3faae09b7325a8, type: 3} + m_Name: + m_EditorClassIdentifier: + toolTip: {fileID: 114697570813435190} + backgroundTransform: {fileID: 4877995955028244} + BackgroundRenderer: {fileID: 23479976745827762} +--- !u!114 &114299401014778236 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1692073572347358} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ac8d5b128a1d8204fb76c86f47b75912, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &114352942641531646 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_Enabled: 0 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3b92ef91b40f8354ca95d136161548ec, type: 3} + m_Name: + m_EditorClassIdentifier: + LineStartClamp: 0 + LineEndClamp: 1 + RotationType: 1 + FlipUpVector: 0 + OriginOffset: {x: 0, y: 0, z: 0} + ManualUpVectorBlend: 0 + ManualUpVectors: + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + - {x: 0, y: 1, z: 0} + VelocitySearchRange: 0.02 + VelocityBlend: 0.5 + DistortionType: 0 + DistortionStrength: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + UniformDistortionStrength: 1 + distorters: [] + loops: 1 + points: + - {x: -0.5, y: 0.5, z: -0.00075} + - {x: 0, y: 0.5, z: -0.00075} + - {x: 0.5, y: 0.5, z: -0.00075} + - {x: 0.5, y: 0, z: -0.00075} + - {x: 0.5, y: -0.5, z: -0.00075} + - {x: 0, y: -0.5, z: -0.00075} + - {x: -0.5, y: -0.5, z: -0.00075} + - {x: -0.5, y: 0, z: -0.00075} + xSize: 1 + ySize: 1 + zOffset: -0.00075 +--- !u!114 &114560166902750794 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 95fc46e61b058e54ab022d6f28b0ec6c, type: 3} + m_Name: + m_EditorClassIdentifier: + target: {fileID: 0} + toolTip: {fileID: 114697570813435190} + connectorFollowType: 0 + pivotMode: 0 + pivotDirection: 1 + pivotDirectionOrient: 0 + manualPivotDirection: {x: 0, y: 1, z: 0} + manualPivotLocalPosition: {x: 0, y: 1, z: 0} + pivotDistance: 0.25 +--- !u!114 &114608972520619298 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9a4d6e2d0d55194788e9a2df9c0261f, type: 3} + m_Name: + m_EditorClassIdentifier: + source: {fileID: 114065498733854586} + LineColor: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, 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_NumColorKeys: 2 + m_NumAlphaKeys: 2 + LineWidth: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + WidthMultiplier: 0.05 + ColorOffset: 0 + WidthOffset: 0 + RotationOffset: 0 + StepMode: 0 + NumLineSteps: 10 + InterpolationMode: 1 + StepLength: 0.05 + MaxLineSteps: 2048 + StepLengthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: -0.5 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.5 + inSlope: -0.5 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + LineMaterial: {fileID: 0} + RoundedEdges: 1 + RoundedCaps: 1 + lineRenderer: {fileID: 0} +--- !u!114 &114697570813435190 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1963181076315932} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 23a70f6672029144c8d4c44a6fb6b213, type: 3} + m_Name: + m_EditorClassIdentifier: + buttonState: 4 + buttonPressFilter: 1 + requireGaze: 1 + showBackground: 1 + showOutline: 0 + showConnector: 1 + tipState: 1 + groupTipState: 0 + masterTipState: 0 + anchor: {fileID: 1159203306281736} + pivot: {fileID: 1692073572347358} + label: {fileID: 1670758749238574} + contentParent: {fileID: 1669469392401874} + toolTipText: + backgroundPadding: {x: 0, y: 0} + backgroundOffset: {x: 0, y: 0, z: 0} + contentScale: 0.2 + fontSize: 30 + attachPointType: 9 + toolTipLine: {fileID: 114065498733854586} +--- !u!114 &114969983881809412 +MonoBehaviour: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1866436118204410} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f9a4d6e2d0d55194788e9a2df9c0261f, type: 3} + m_Name: + m_EditorClassIdentifier: + source: {fileID: 114352942641531646} + LineColor: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, 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_NumColorKeys: 2 + m_NumAlphaKeys: 2 + LineWidth: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.05 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + WidthMultiplier: 0.25 + ColorOffset: 0 + WidthOffset: 0 + RotationOffset: 0 + StepMode: 0 + NumLineSteps: 10 + InterpolationMode: 1 + StepLength: 0.05 + MaxLineSteps: 2048 + StepLengthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 2 + time: 0 + value: 1 + inSlope: 0 + outSlope: -0.5 + tangentMode: 0 + - serializedVersion: 2 + time: 1 + value: 0.5 + inSlope: -0.5 + outSlope: 0 + tangentMode: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + LineMaterial: {fileID: 0} + RoundedEdges: 1 + RoundedCaps: 1 + lineRenderer: {fileID: 0} diff --git a/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab.meta b/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab.meta new file mode 100644 index 00000000000..0ce544755ee --- /dev/null +++ b/Assets/HoloToolkit/UX/Prefabs/ToolTip.prefab.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 3b2729a90daf689408e97dcbcc8e8a4e +timeCreated: 1520446870 +licenseType: Free +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/README.md b/Assets/HoloToolkit/UX/README.md index 2e07fae92be..f8861293de8 100644 --- a/Assets/HoloToolkit/UX/README.md +++ b/Assets/HoloToolkit/UX/README.md @@ -2,76 +2,34 @@ Useful common UX controls that you can leverage in your application. -### [Materials](Materials) - -Materials used in prefabs - -#### 3DTextSegoeUI.mat - -Material for 3DTextPrefab with occlusion support. Requires 3DTextShader.shader - -![Default Font material vs 3DTextSegoeUI material](../../../External/ReadMeImages/TextPrefabInstructions06.png) - -### [Prefabs](Prefabs) - -Common useful UI prefabs - -#### 3DTextPrefab.prefab - -3D Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please read the instructions below) - -#### UITextPrefab.prefab - -UI Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please read the instructions below) - -**IMPORTANT: Text Prefab uses open source font 'Selawik'. To use Text Prefab with different font, please import font file and follow the instruction below. Below example shows how to use 'Segoe UI' font with Text Prefab.** - -![Importing Segoe UI font file](../../../External/ReadMeImages/TextPrefabInstructions01.png) - -1. Assign font texture to 3DTextSegoeUI.mat material. -![Assigning font texture](External/ReadMeImages/TextPrefabInstructions02.png) - -2. On 3DTextSegoeUI.mat material, select the shader Custom/3DTextShader.shader. -![Assigning shader](../../../External/ReadMeImages/TextPrefabInstructions03.png) - -3. Assign Segoe UI font and 3DTextSegoeUI material to the text components in the prefabs. -![Assigning font file and material](../../../External/ReadMeImages/TextPrefabInstructions04.png) - -4. Follow the same steps for the sample text layout prefabs in [HoloToolkit-Examples\Text](../../HoloToolkit-Examples/UX/Prefabs) -![Sample layout prefabs](../../../External/ReadMeImages/TextPrefabInstructions05.png) - -**Working with Fonts in Unity** - -When adding a new 3D TextMesh to a scene in Unity there are two issues that are visually apparent. One, the font appears very large and two, the font appears very blurry. It is also interesting to notice that the default Font Size value is set to zero in the Inspector. Replacing this zero value with 13 will show no difference in size, because 13 is actually the default value. - -Unity assumes all new elements added to a scene is 1 Unity Unit in size, or 100% Transform scale, which translates to about 1 meter on the HoloLens. In the case of fonts, the bounding box for a 3D TextMesh comes in, by default at about 1 meter in height. - -**Font Scale and Font Sizes** - -Most visual designers use Points to define font sizes in the real world, as well as their design programs. There are about 2835 (2,834.645666399962) points in 1 meter. Based on the point system conversion to 1 meter and Unity's default TextMesh Font Size of 13, the simple math of 13 divided by 2835 equals 0.0046 (0.004586111116 to be exact) provides a good standard scale to start with, though some may wish to round to 0.005. - -Either way, scaling the Text object or container to these values will not only allow for the 1:1 conversion of font sizes from a design program, but also provides a standard to maintain consistency throughout the application or game. - -**UI Text** - -When adding a UI or canvas based Text element to a scene, the size disparity is greater still. The differences in the two sizes is about 1000%, which would bring the scale factor for UI based Text components to 0.00046 (0.0004586111116 to be exact) or 0.0005 for the rounded value. - -**Disclaimer**: The default value of any font may be effected by the texture size of that font or how the font was imported into Unity. These tests were performed based on the default Arial font in Unity, as well as one other imported font. - -![Font size with scaling factors](../../../External/ReadMeImages/TextPrefabInstructions07.png) - -### [Scripts](Scripts) - - - +## Examples - UI controls and building blocks +| [![Bounding Box and App Bar](/External/ReadMeImages/MRTK_AppBar_BoundingBox.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) [Bounding Box and App Bar](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) | [![Interactable Objects](/External/ReadMeImages/MRTK_InteractableObject_HolographicButton.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) [Interactable Objects](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) | [![Object Collection](/External/ReadMeImages/MRTK_ObjectCollection.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) [Object Collection](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) |[![Keyboard](/External/ReadMeImages/MRTK_Keyboard.jpg)](/Assets/HoloToolkit-Examples) [Keyboard](/Assets/HoloToolkit-Examples) | +|:--- | :--- | :--- | :--- | +| Standard UI for manipulating objects in 3D space | Modular script for making objects interactable with visual states, including Holographic button | Script for lay out an array of objects in a three-dimensional shape | System style keyboard prefab for Unity projects | +| ![Dialog and Progress](/External/ReadMeImages/MRTK_DialogProgress.jpg) [Dialog](/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md) / [Progress](/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md) | [![Solver system](/External/ReadMeImages/MRTK_SolverSystem.jpg)](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) [Solver system](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) | [![Interactive button demos](/External/ReadMeImages/MRTK_InteractiveButtons.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) [Interactive button demos](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) | [![ToolTip & Label](/External/ReadMeImages/MRTK_Tooltip.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) [ToolTip & Label](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) | +| Standard UI for notification, approval, or additional information from the user / Data loading indicator | Scripts for various behavious such as tag-along, billboarding, body-lock, constant view size and surface magnetism | UWP style UI controls including radio, toggle and checkboxes | Annotation UI with flexible anchor/pivot system which can be used for labeling motion controllers and object. | + + +## [Audio](Audio) +Audio files used in Mixed Reality Toolkit. + +## [Fonts](Fonts) +Open-source fonts used in Mixed Reality Toolkit. Selawik is Microsoft's open-source font. Please see [Text Prefab README](/Assets/HoloToolkit/UX/README_TextPrefab.md) for more information about optimized text. + +## [Materials](Materials) +Materials used in prefabs. You can find default color materials made with MixedRealityToolkit/Standard shader. + +## [Scripts](Scripts) +Scripts for UI controls and building blocks. This folder includes the scripts for Bounding Box & App Bar, Interactable Object(Compound Button series), Object Collections, Interaction Receivers, Distorters, Lines and Tooltip. Please see example scenes for the detailed usage. + +## [Prefabs](Prefabs) +### AppBar +Prefabs for [App Bar](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) +### BoundingBoxes +Prefabs for [Bounding Box](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) +### Buttons +Prefabs for [Interactable Object](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) +This folder includes [Holographic Button Prefab](/Assets/HoloToolkit/UX/Prefabs/Buttons/HolographicButton.prefab) +![Holographic Button](/External/ReadMeImages/MRTK_InteractableObject_HolographicButton.jpg) ### [Shaders](Shaders) - -Materials used in prefabs - -#### 3DTextShader.shader - -Shader for 3DTextPrefab with occlusion support. - ---- -##### [Go back up to the table of contents.](../../../README.md) ---- +Shaders used in prefabs diff --git a/Assets/HoloToolkit/UX/README_TextPrefab.md b/Assets/HoloToolkit/UX/README_TextPrefab.md new file mode 100644 index 00000000000..6e61d0bc9ca --- /dev/null +++ b/Assets/HoloToolkit/UX/README_TextPrefab.md @@ -0,0 +1,62 @@ +# Text Prefab +These prefabs are optimized for the rendering quality in Windows Mixed Reality. For more information, please read the guideline [Text in Unity](https://docs.microsoft.com/en-us/windows/mixed-reality/text-in-unity) on Microsoft Windows Dev Center. + +#### [3DTextPrefab.prefab](/Assets/HoloToolkit/UX/Prefabs/3DTextPrefab.prefab) + +3D Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please read the instructions below) + +#### [UITextPrefab.prefab](/Assets/HoloToolkit/UX/Prefabs/UITextPrefab.prefab) + +UI Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please read the instructions below) + +#### [Fonts](/Assets/HoloToolkit/UX/Fonts) + +Open-source fonts included in Mixed Reality Toolkit. + + +**IMPORTANT: Text Prefab uses open source font 'Selawik'. To use Text Prefab with different font, please import font file and follow the instruction below. Below example shows how to use 'Segoe UI' font with Text Prefab.** + +![Importing Segoe UI font file](/External/ReadMeImages/TextPrefabInstructions01.png) + +1. Assign font texture to 3DTextSegoeUI.mat material. +![Assigning font texture](/External/ReadMeImages/TextPrefabInstructions02.png) + +2. On 3DTextSegoeUI.mat material, select the shader Custom/3DTextShader.shader. +![Assigning shader](/External/ReadMeImages/TextPrefabInstructions03.png) + +3. Assign Segoe UI font and 3DTextSegoeUI material to the text components in the prefabs. +![Assigning font file and material](/External/ReadMeImages/TextPrefabInstructions04.png) + +4. Follow the same steps for the sample text layout prefabs in [HoloToolkit-Examples\Text](/Assets/HoloToolkit-Examples/UX/Prefabs) +![Sample layout prefabs](/External/ReadMeImages/TextPrefabInstructions05.png) + +**Working with Fonts in Unity** + +When adding a new 3D TextMesh to a scene in Unity there are two issues that are visually apparent. One, the font appears very large and two, the font appears very blurry. It is also interesting to notice that the default Font Size value is set to zero in the Inspector. Replacing this zero value with 13 will show no difference in size, because 13 is actually the default value. + +Unity assumes all new elements added to a scene is 1 Unity Unit in size, or 100% Transform scale, which translates to about 1 meter on the HoloLens. In the case of fonts, the bounding box for a 3D TextMesh comes in, by default at about 1 meter in height. + +**Font Scale and Font Sizes** + +Most visual designers use Points to define font sizes in the real world, as well as their design programs. There are about 2835 (2,834.645666399962) points in 1 meter. Based on the point system conversion to 1 meter and Unity's default TextMesh Font Size of 13, the simple math of 13 divided by 2835 equals 0.0046 (0.004586111116 to be exact) provides a good standard scale to start with, though some may wish to round to 0.005. + +Either way, scaling the Text object or container to these values will not only allow for the 1:1 conversion of font sizes from a design program, but also provides a standard to maintain consistency throughout the application or game. + +**UI Text** + +When adding a UI or canvas based Text element to a scene, the size disparity is greater still. The differences in the two sizes is about 1000%, which would bring the scale factor for UI based Text components to 0.00046 (0.0004586111116 to be exact) or 0.0005 for the rounded value. + +**Disclaimer**: The default value of any font may be effected by the texture size of that font or how the font was imported into Unity. These tests were performed based on the default Arial font in Unity, as well as one other imported font. + +![Font size with scaling factors](/External/ReadMeImages/TextPrefabInstructions07.png) + +### [3DTextSelawik.mat](/Assets/HoloToolkit/UX/Fonts/3DTextSelawik.mat) + +Material for 3DTextPrefab with occlusion support. Requires 3DTextShader.shader + +![Default Font material vs 3DTextSegoeUI material](/External/ReadMeImages/TextPrefabInstructions06.png) + + +### [3DTextShader.shader](/Assets/HoloToolkit/UX/Shaders/3DTextShader.shader) + +Shader for 3DTextPrefab with occlusion support. diff --git a/Assets/HoloToolkit/UX/README_TextPrefab.md.meta b/Assets/HoloToolkit/UX/README_TextPrefab.md.meta new file mode 100644 index 00000000000..2bdf0635f97 --- /dev/null +++ b/Assets/HoloToolkit/UX/README_TextPrefab.md.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 9d2c6c44d71ff4d43abfd29577397fe7 +timeCreated: 1525213509 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxGizmoHandle.cs b/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxGizmoHandle.cs index 7445f5c8e71..7a2bf7acb30 100644 --- a/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxGizmoHandle.cs +++ b/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxGizmoHandle.cs @@ -368,14 +368,17 @@ public void OnInputUp(InputEventData eventData) public void OnSourceDetected(SourceStateEventData eventData) { } + public void OnSourceLost(SourceStateEventData eventData) { - if (eventData.SourceId == inputDownEventData.SourceId) + if ((inputDownEventData != null) && + (eventData.SourceId == inputDownEventData.SourceId)) { inputDownEventData = null; ResetRigHandles(); + + eventData.Use(); } - eventData.Use(); } } } \ No newline at end of file diff --git a/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs b/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs index a744634d68c..0f2fcb75d13 100644 --- a/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs +++ b/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using HoloToolkit.Unity.UX; +using HoloToolkit.Unity.InputModule; using System.Collections.Generic; using UnityEngine; @@ -130,11 +130,13 @@ public Material InteractingMaterial public void Activate() { + InputManager.Instance.RaiseBoundingBoxRigActivated(gameObject); ShowRig = true; } public void Deactivate() { + InputManager.Instance.RaiseBoundingBoxRigDeactivated(gameObject); ShowRig = false; } diff --git a/Assets/HoloToolkit/UX/Scripts/Buttons/Button.cs b/Assets/HoloToolkit/UX/Scripts/Buttons/Button.cs index 5f92fb408d1..afcf0f185da 100644 --- a/Assets/HoloToolkit/UX/Scripts/Buttons/Button.cs +++ b/Assets/HoloToolkit/UX/Scripts/Buttons/Button.cs @@ -286,7 +286,7 @@ public void OnSourceLost(SourceStateEventData eventData) if (sourceInfo == InteractionSourceInfo.Hand) { _handCount--; - _bHandVisible = _handCount <= 0; + _bHandVisible = _handCount > 0; } } } diff --git a/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs new file mode 100644 index 00000000000..b95c18d89d3 --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace HoloToolkit.UX.Dialog +{ + /// + /// Enum describing the style (caption) of button on a Dialog. + /// + public enum DialogButtonType + { + None = 0, + Close = 1, + Confirm = 2, + Cancel = 4, + Accept = 8, + Yes = 16, + No = 32, + OK = 64, + } +} diff --git a/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs.meta b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs.meta new file mode 100644 index 00000000000..809dd519792 --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonEnums/DialogButtonTypeEnum.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 65fca729d71847549a6db5adbed4ffc3 +timeCreated: 1523299759 +licenseType: Pro +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonIconProfileTexture.cs b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonIconProfileTexture.cs index 61ee02a29c5..2854fe9bf15 100644 --- a/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonIconProfileTexture.cs +++ b/Assets/HoloToolkit/UX/Scripts/Buttons/ButtonIconProfileTexture.cs @@ -1,7 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -using HoloToolkit.Unity; using System.Collections.Generic; using UnityEngine; @@ -120,7 +119,7 @@ private void Initialize() // Store all icons in iconLookup via reflection #if ENABLE_WINMD_SUPPORT && !UNITY_EDITOR - var fields = GetType().GetTypeInfo().DeclaredFields; + var fields = GetType().GetTypeInfo().DeclaredFields; #else var fields = this.GetType().GetFields(); #endif @@ -168,19 +167,22 @@ public override string DrawIconSelectField(string iconName) } [UnityEditor.CustomEditor(typeof(ButtonIconProfileTexture))] - public class CustomEditor : ProfileInspector { - protected override void DrawCustomFooter() { - + public class CustomEditor : ProfileInspector + { + protected override void DrawCustomFooter() + { ButtonIconProfileTexture iconProfile = (ButtonIconProfileTexture)target; UnityEditor.EditorGUILayout.LabelField("Custom Icons", UnityEditor.EditorStyles.boldLabel); - for (int i = 0; i < iconProfile.CustomIcons.Length; i++) { + for (int i = 0; i < iconProfile.CustomIcons.Length; i++) + { Texture2D icon = iconProfile.CustomIcons[i]; icon = (Texture2D)UnityEditor.EditorGUILayout.ObjectField(icon != null ? icon.name : "(Empty)", icon, typeof(Texture2D), false, GUILayout.MaxHeight(textureSize)); iconProfile.CustomIcons[i] = icon; } - if (GUILayout.Button("Add custom icon")) { + if (GUILayout.Button("Add custom icon")) + { System.Array.Resize(ref iconProfile.CustomIcons, iconProfile.CustomIcons.Length + 1); } } diff --git a/Assets/HoloToolkit/UX/Scripts/CapsLockHighlight.cs b/Assets/HoloToolkit/UX/Scripts/CapsLockHighlight.cs index 8d81c39aabb..3c09ecb5978 100644 --- a/Assets/HoloToolkit/UX/Scripts/CapsLockHighlight.cs +++ b/Assets/HoloToolkit/UX/Scripts/CapsLockHighlight.cs @@ -6,51 +6,51 @@ namespace HoloToolkit.UI.Keyboard { - public class CapsLockHighlight : MonoBehaviour - { - /// - /// The highlight image to turn on and off. - /// - [SerializeField] - private Image m_Highlight = null; + public class CapsLockHighlight : MonoBehaviour + { + /// + /// The highlight image to turn on and off. + /// + [SerializeField] + private Image m_Highlight = null; - /// - /// The keyboard to check for caps locks - /// - private Keyboard m_Keyboard; - - /// - /// Unity Start method. - /// - private void Start() - { - m_Keyboard = this.GetComponentInParent(); - UpdateState(); - } + /// + /// The keyboard to check for caps locks + /// + private Keyboard m_Keyboard; - /// - /// Unity update method. - /// - private void Update() - { - UpdateState(); - } + /// + /// Unity Start method. + /// + private void Start() + { + m_Keyboard = this.GetComponentInParent(); + UpdateState(); + } - /// - /// Updates the visual state of the shift highlight. - /// - private void UpdateState() - { - bool isCapsLock = false; - if (m_Keyboard != null) - { - isCapsLock = m_Keyboard.IsCapsLocked; - } + /// + /// Unity update method. + /// + private void Update() + { + UpdateState(); + } - if (m_Highlight != null) - { - m_Highlight.enabled = isCapsLock; - } - } - } + /// + /// Updates the visual state of the shift highlight. + /// + private void UpdateState() + { + bool isCapsLock = false; + if (m_Keyboard != null) + { + isCapsLock = m_Keyboard.IsCapsLocked; + } + + if (m_Highlight != null) + { + m_Highlight.enabled = isCapsLock; + } + } + } } diff --git a/Assets/HoloToolkit/UX/Scripts/Dialog.meta b/Assets/HoloToolkit/UX/Scripts/Dialog.meta new file mode 100644 index 00000000000..419db77f388 --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Dialog.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 8ef79887fea2c9646968ec573af44135 +folderAsset: yes +timeCreated: 1518054636 +licenseType: Free +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs b/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs new file mode 100644 index 00000000000..7570c007179 --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs @@ -0,0 +1,188 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.Receivers; +using System; +using System.Collections; +using UnityEngine; + +namespace HoloToolkit.UX.Dialog +{ + /// + /// Used to tell simple dialogs which buttons to create + /// And to tell whatever launched the dialog which button was pressed + /// Can be extended to include more information for dialog construction + /// (eg detailed messages, button names, colors etc) + /// + public abstract class Dialog : InteractionReceiver + { + /// + /// Where the instantiated buttons will be placed + /// + [SerializeField] + protected Transform buttonParent; + + protected DialogResult result; + + protected DialogState state = DialogState.Uninitialized; + public DialogState State + { + get + { + return state; + } + set + { + state = value; + } + } + + /// + /// Called after user has clicked a button and the dialog has finished closing + /// + public Action OnClosed; + + /// + /// Can be used to monitor result instead of events + /// + public DialogResult Result + { + get + { + return result; + } + } + + protected void Launch(DialogResult newResult) + { + if (State != DialogState.Uninitialized) + { + return; + } + + result = newResult; + StartCoroutine(RunDialogOverTime()); + } + + /// + /// Opens dialog, waits for input, then closes + /// + /// + protected IEnumerator RunDialogOverTime() + { + // Create our buttons and set up our message + GenerateButtons(); + SetTitleAndMessage(); + FinalizeLayout(); + + // Open dialog + State = DialogState.Opening; + yield return StartCoroutine(OpenDialog()); + State = DialogState.WaitingForInput; + // Wait for input + while (State == DialogState.WaitingForInput) + { + UpdateDialog(); + yield return null; + } + // Close dialog + State = DialogState.Closing; + yield return StartCoroutine(CloseDialog()); + State = DialogState.Closed; + // Callback + if (OnClosed != null) + { + OnClosed(result); + } + // Wait a moment to give scripts a chance to respond + yield return null; + // Destroy ourselves + GameObject.Destroy(gameObject); + yield break; + } + + /// + /// Opens the dialog - state must be set to WaitingForInput afterwards + /// Overridden in inherited class. + /// + /// + protected virtual IEnumerator OpenDialog() + { + yield break; + } + + /// + /// Closes the dialog - state must be set to Closed afterwards + /// + /// + protected virtual IEnumerator CloseDialog() + { + yield break; + } + + /// + /// Perform any updates (animation, tagalong, etc) here + /// This will be called every frame while waiting for input + /// + protected virtual void UpdateDialog() + { + return; + } + + /// + /// Generates buttons - Must parent them under buttonParent! + /// + protected abstract void GenerateButtons(); + + /// + /// Lays out the buttons on the dialog + /// Eg using an ObjectCollection + /// + protected abstract void FinalizeLayout(); + + /// + /// Set the title and message using the result + /// Eg using TextMesh components + /// + protected abstract void SetTitleAndMessage(); + + /// + /// Instantiates a dialog and passes it a result + /// + /// + /// + /// + public static Dialog Open(GameObject dialogPrefab, DialogResult result) + { + GameObject dialogGo = GameObject.Instantiate(dialogPrefab) as GameObject; + Dialog dialog = dialogGo.GetComponent(); + + dialog.Launch(result); + return dialog; + } + + /// + /// Instantiates a dialog and passes a generated result + /// + /// + /// + /// + /// + /// + public static Dialog Open(GameObject dialogPrefab, DialogButtonType buttons, string title, string message) + { + GameObject dialogGameObject = GameObject.Instantiate(dialogPrefab) as GameObject; + Dialog dialog = dialogGameObject.GetComponent(); + + DialogResult result = new DialogResult + { + Buttons = buttons, + Title = title, + Message = message + }; + + dialog.Launch(result); + return dialog; + } + } +} \ No newline at end of file diff --git a/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs.meta b/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs.meta new file mode 100644 index 00000000000..1ffc7ae31a1 --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Dialog/Dialog.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3623ebd52648a174cbb020e6cc0bd0b4 +timeCreated: 1517338861 +licenseType: Free +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/HoloToolkit/UX/Scripts/Dialog/DialogButton.cs b/Assets/HoloToolkit/UX/Scripts/Dialog/DialogButton.cs new file mode 100644 index 00000000000..214b3cf355a --- /dev/null +++ b/Assets/HoloToolkit/UX/Scripts/Dialog/DialogButton.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.Buttons; +using HoloToolkit.UX.Dialog; +using UnityEngine; + +namespace HoloToolkit.UX.Buttons +{ + /// + /// Handling click event and dismiss dialog + /// + public class DialogButton : MonoBehaviour + { + private Button buttonComponent; + + private DialogShell parentDialog; + + /// + /// A reference to the Dialog that this button is on. + /// + public DialogShell ParentDialog + { + get + { + return parentDialog; + } + set + { + parentDialog = value; + } + } + + /// + /// The type description of the button + /// + public Dialog.DialogButtonType ButtonTypeEnum; + + private void OnEnable() + { + buttonComponent = GetComponent [Tooltip("Specifies the axis about which the object will rotate.")] + [SerializeField] private PivotAxis pivotAxis = PivotAxis.XY; public PivotAxis PivotAxis { @@ -40,6 +41,7 @@ public PivotAxis PivotAxis /// The target we will orient to. If no target is specified, the main camera will be used. /// [Tooltip("Specifies the target we will orient to. If no target is specified, the main camera will be used.")] + [SerializeField] private Transform targetTransform; public Transform TargetTransform { @@ -76,12 +78,12 @@ private void Update() { case PivotAxis.X: directionToTarget.x = 0.0f; - targetUpVector = Vector3.up; + targetUpVector = transform.up; break; case PivotAxis.Y: directionToTarget.y = 0.0f; - targetUpVector = Vector3.up; + targetUpVector = transform.up; break; case PivotAxis.Z: @@ -90,7 +92,7 @@ private void Update() break; case PivotAxis.XY: - targetUpVector = Vector3.up; + targetUpVector = transform.up; break; case PivotAxis.XZ: diff --git a/Assets/HoloToolkit/Utilities/Scripts/Editor/EditorGUIExtensions.cs b/Assets/HoloToolkit/Utilities/Scripts/Editor/EditorGUIExtensions.cs index 4a152b25139..90ac723ecaf 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/Editor/EditorGUIExtensions.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/Editor/EditorGUIExtensions.cs @@ -116,7 +116,11 @@ public static T ObjectField(Rect position, GUIContent label, T value, bool al { if (valueType.GetCustomAttributes(typeof(FlagsAttribute), true).Length > 0) { +#if UNITY_2017_3_OR_NEWER + objValue = EditorGUI.EnumFlagsField(position, label, (Enum)objValue); +#else objValue = EditorGUI.EnumMaskField(position, label, (Enum)objValue); +#endif } else { diff --git a/Assets/HoloToolkit/Utilities/Scripts/Editor/ProjectSettingsWindow.cs b/Assets/HoloToolkit/Utilities/Scripts/Editor/ProjectSettingsWindow.cs index d7d71896350..a7fee56bc40 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/Editor/ProjectSettingsWindow.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/Editor/ProjectSettingsWindow.cs @@ -16,6 +16,9 @@ namespace HoloToolkit.Unity /// public class ProjectSettingsWindow : AutoConfigureWindow { + private const int SpatialMappingLayerId = 31; + private const string SpatialMappingLayerName = "Spatial Mapping"; + private const string SharingServiceURL = "https://raw.githubusercontent.com/Microsoft/MixedRealityToolkit-Unity/master/External/HoloToolkit/Sharing/Server/SharingService.exe"; /// @@ -64,13 +67,14 @@ public class ProjectSettingsWindow : AutoConfigureWindow @@ -78,7 +82,7 @@ public enum ProjectSetting /// private enum AxisType { - KeyOrMouseButton, + KeyOrMouseButton = 0, MouseMovement, JoystickAxis }; @@ -135,7 +139,7 @@ protected override void ApplySettings() protected override void LoadSettings() { - for (int i = (int)ProjectSetting.BuildWsaUwp; i <= (int)ProjectSetting.DotNetScriptingBackend; i++) + for (int i = (int)ProjectSetting.BuildWsaUwp; i <= (int)ProjectSetting.SetDefaultSpatialMappingLayer; i++) { switch ((ProjectSetting)i) { @@ -143,6 +147,7 @@ protected override void LoadSettings() case ProjectSetting.WsaEnableXR: case ProjectSetting.WsaUwpBuildToD3D: case ProjectSetting.DotNetScriptingBackend: + case ProjectSetting.SetDefaultSpatialMappingLayer: Values[(ProjectSetting)i] = true; break; case ProjectSetting.TargetOccludedDevices: @@ -351,6 +356,23 @@ private void UpdateSettings(BuildTarget currentBuildTarget) ? ScriptingImplementation.WinRTDotNET : ScriptingImplementation.IL2CPP); + if (Values[ProjectSetting.SetDefaultSpatialMappingLayer]) + { + if (SetSpatialMappingLayer()) + { + // Setting the Spatial Mapping layer implies the need for the Spatial Perception capability. + PlayerSettings.WSA.SetCapability(PlayerSettings.WSACapability.SpatialPerception, true); + } + else + { + EditorUtility.DisplayDialog("Attention!", + "Unable to set the Spatial Mapping layer.\n\n" + + "This likely means that layer " + SpatialMappingLayerId.ToString() + " is already in use.\n\n" + + "Please check your project's Tags && Layers settings in the Inspector.", + "Ok"); + } + } + AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate); Close(); } @@ -411,6 +433,14 @@ protected override void LoadStrings() Descriptions[ProjectSetting.DotNetScriptingBackend] = "Recommended\n\n" + "If you have the .NET unity module installed this will update the backend scripting profile, otherwise the scripting backend will be IL2CPP."; + + Names[ProjectSetting.SetDefaultSpatialMappingLayer] = "Set Default Spatial Mapping Layer"; + Descriptions[ProjectSetting.SetDefaultSpatialMappingLayer] = + "Recommended\n\n" + + "Sets the default Spatial Mapping physics layer.\n\n" + + "On HoloLens, this enables specifying the Spatial Mapping mesh for collision detection and raycasting.\n\n" + + "Note: Selecting \"Set Default Spatial Mapping Layer\" implies the project will be using Spatial Mapping. " + + "The Spatial Perception capability is automatically enabled for you."; } protected override void OnEnable() @@ -539,5 +569,49 @@ private void RefreshLocalAxesList() axisNames.Add(axesProperty.GetArrayElementAtIndex(i).displayName); } } + + /// + /// Attempts to set or clear the Spatial Mapping physics layer. + /// + /// + /// True if the target layer as successfully changed. + /// + private bool SetSpatialMappingLayer() + { + UnityEngine.Object[] tagAssets = AssetDatabase.LoadAllAssetsAtPath("ProjectSettings/TagManager.asset"); + if ((tagAssets == null) || + (tagAssets.Length == 0)) + { + return false; + } + + SerializedObject tagsManager = new SerializedObject(tagAssets); + if (tagsManager == null) + { + return false; + } + + SerializedProperty layers = tagsManager.FindProperty("layers"); + if (layers == null) + { + return false; + } + + SerializedProperty spatialMappingLayer = layers.GetArrayElementAtIndex(SpatialMappingLayerId); + if (spatialMappingLayer.stringValue == SpatialMappingLayerName) + { + // Spatial Mapping layer already set + return true; + } + else if (spatialMappingLayer.stringValue != string.Empty) + { + // Target layer in use and may be being used for something other than Spatial Mapping + return false; + } + + // Set the layer name. + spatialMappingLayer.stringValue = SpatialMappingLayerName; + return tagsManager.ApplyModifiedProperties(); + } } } diff --git a/Assets/HoloToolkit/Utilities/Scripts/FpsDisplay.cs b/Assets/HoloToolkit/Utilities/Scripts/FpsDisplay.cs index 8ea080094c5..97f981ba24b 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/FpsDisplay.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/FpsDisplay.cs @@ -9,19 +9,28 @@ namespace HoloToolkit.Unity /// /// Simple Behaviour which calculates the average frames per second over a number of frames and shows the FPS in a referenced Text control. /// - [RequireComponent(typeof(TextMesh))] public class FpsDisplay : MonoBehaviour { + /// + /// Reference to TextMesh component where the FPS should be displayed. + /// [Tooltip("Reference to TextMesh component where the FPS should be displayed.")] [SerializeField] private TextMesh textMesh; + /// + /// Reference to uGUI text component where the FPS should be displayed. + /// [Tooltip("Reference to uGUI text component where the FPS should be displayed.")] [SerializeField] private Text uGUIText; + /// + /// How many frames should we consider into our average calculation? + /// [Tooltip("How many frames should we consider into our average calculation?")] [SerializeField] + [Range(1, 300)] private int frameRange = 60; private int averageFps; @@ -43,19 +52,22 @@ public class FpsDisplay : MonoBehaviour "90", "91", "92", "93", "94", "95", "96", "97", "98", "99" }; - private void Update() + private void Start() { - if (fpsBuffer == null || fpsBuffer.Length != frameRange || textMesh == null) - { - InitBuffer(); - } + InitBuffer(); + } + private void Update() + { UpdateFrameBuffer(); CalculateFps(); UpdateTextDisplay(averageFps); } + /// + /// Initializes the frame timing buffer and gets attached text components. + /// private void InitBuffer() { if (textMesh == null) @@ -77,6 +89,10 @@ private void InitBuffer() fpsBufferIndex = 0; } + /// + /// Updates the available text components to display the calculated frame rate. + /// + /// The currently calculated FPS. private void UpdateTextDisplay(int fps) { string displayString = StringsFrom00To99[Mathf.Clamp(fps, 0, 99)]; @@ -92,6 +108,9 @@ private void UpdateTextDisplay(int fps) } } + /// + /// Updates the contents of the frame timing buffer. + /// private void UpdateFrameBuffer() { fpsBuffer[fpsBufferIndex++] = (int)(1f / Time.unscaledDeltaTime); @@ -102,6 +121,9 @@ private void UpdateFrameBuffer() } } + /// + /// Calculates the frame rate from the frame timing buffer. + /// private void CalculateFps() { int sum = 0; diff --git a/Assets/HoloToolkit/Utilities/Scripts/GLTF/Scripts/Extensions/SchemaExtensions.cs b/Assets/HoloToolkit/Utilities/Scripts/GLTF/Scripts/Extensions/SchemaExtensions.cs index 739627767fb..d1a1378e000 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/GLTF/Scripts/Extensions/SchemaExtensions.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/GLTF/Scripts/Extensions/SchemaExtensions.cs @@ -53,55 +53,55 @@ public static void GetTRSProperties(GLTF.Math.Matrix4x4 mat, out Vector3 positio } #if false - public static SamplerId GetSamplerId(this GLTFRoot root, UnityEngine.Texture textureObj) - { - for (var i = 0; i < root.Samplers.Count; i++) - { - bool filterIsNearest = root.Samplers[i].MinFilter == MinFilterMode.Nearest - || root.Samplers[i].MinFilter == MinFilterMode.NearestMipmapNearest - || root.Samplers[i].MinFilter == MinFilterMode.LinearMipmapNearest; - - bool filterIsLinear = root.Samplers[i].MinFilter == MinFilterMode.Linear - || root.Samplers[i].MinFilter == MinFilterMode.NearestMipmapLinear; - - bool filterMatched = textureObj.filterMode == FilterMode.Point && filterIsNearest - || textureObj.filterMode == FilterMode.Bilinear && filterIsLinear - || textureObj.filterMode == FilterMode.Trilinear && root.Samplers[i].MinFilter == MinFilterMode.LinearMipmapLinear; - - bool wrapMatched = + public static SamplerId GetSamplerId(this GLTFRoot root, UnityEngine.Texture textureObj) + { + for (var i = 0; i < root.Samplers.Count; i++) + { + bool filterIsNearest = root.Samplers[i].MinFilter == MinFilterMode.Nearest + || root.Samplers[i].MinFilter == MinFilterMode.NearestMipmapNearest + || root.Samplers[i].MinFilter == MinFilterMode.LinearMipmapNearest; + + bool filterIsLinear = root.Samplers[i].MinFilter == MinFilterMode.Linear + || root.Samplers[i].MinFilter == MinFilterMode.NearestMipmapLinear; + + bool filterMatched = textureObj.filterMode == FilterMode.Point && filterIsNearest + || textureObj.filterMode == FilterMode.Bilinear && filterIsLinear + || textureObj.filterMode == FilterMode.Trilinear && root.Samplers[i].MinFilter == MinFilterMode.LinearMipmapLinear; + + bool wrapMatched = textureObj.wrapMode == TextureWrapMode.Clamp && root.Samplers[i].WrapS == GLTFSerialization.WrapMode.ClampToEdge - || textureObj.wrapMode == TextureWrapMode.Repeat && root.Samplers[i].WrapS != GLTFSerialization.WrapMode.ClampToEdge; - - if(filterMatched && wrapMatched) - { - return new SamplerId - { - Id = i, - Root = root - }; - } - } - - return null; - } - - //todo blgross unity - public static ImageId GetImageId(this GLTFRoot root, UnityEngine.Texture textureObj) - { - for (var i = 0; i < Images.Count; i++) - { - if (Images[i].Contents == textureObj) - { - return new ImageId - { - Id = i, - Root = this - }; - } - } - - return null; - } + || textureObj.wrapMode == TextureWrapMode.Repeat && root.Samplers[i].WrapS != GLTFSerialization.WrapMode.ClampToEdge; + + if(filterMatched && wrapMatched) + { + return new SamplerId + { + Id = i, + Root = root + }; + } + } + + return null; + } + + //todo blgross unity + public static ImageId GetImageId(this GLTFRoot root, UnityEngine.Texture textureObj) + { + for (var i = 0; i < Images.Count; i++) + { + if (Images[i].Contents == textureObj) + { + return new ImageId + { + Id = i, + Root = this + }; + } + } + + return null; + } #endif public static Vector3 GetColumn(this GLTF.Math.Matrix4x4 mat, uint columnNum) diff --git a/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTiming.cs b/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTiming.cs index c7276227b72..070c667c7fb 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTiming.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTiming.cs @@ -8,81 +8,81 @@ namespace HoloToolkit.Unity { - /// - /// Encapsulates access to GPU timing methods. - /// - public static class GpuTiming - { - [DllImport("GpuTiming")] - private static extern IntPtr GetRenderEventFunc(); + /// + /// Encapsulates access to GPU timing methods. + /// + public static class GpuTiming + { + [DllImport("GpuTiming")] + private static extern IntPtr GetRenderEventFunc(); - [DllImport("GpuTiming")] - private static extern double GetLastFrameGPUTime(int eventId); + [DllImport("GpuTiming")] + private static extern double GetLastFrameGPUTime(int eventId); - private const int BaseBeginEventId = 1000; - private const int BaseEndEventId = 2000; + private const int BaseBeginEventId = 1000; + private const int BaseEndEventId = 2000; - private static int nextAvailableEventId = 0; - private static Stack currentEventId = new Stack(); - private static Dictionary eventIds = new Dictionary(); - /// - /// Gets the latest available sample time for the given event. - /// - /// Name of the event. - /// Time in milliseconds. - public static double GetTime(string eventId) - { - int eventValue; - if (eventIds.TryGetValue(eventId, out eventValue)) - { - return GetLastFrameGPUTime(eventValue); - } + private static int nextAvailableEventId = 0; + private static Stack currentEventId = new Stack(); + private static Dictionary eventIds = new Dictionary(); + /// + /// Gets the latest available sample time for the given event. + /// + /// Name of the event. + /// Time in milliseconds. + public static double GetTime(string eventId) + { + int eventValue; + if (eventIds.TryGetValue(eventId, out eventValue)) + { + return GetLastFrameGPUTime(eventValue); + } - return -1; - } - /// - /// Begins sampling GPU time. - /// - /// Name of the event. - /// Returns true if a BeginSample with the same event name was last added. - public static bool BeginSample(string eventId) - { - int eventValue; - if (!eventIds.TryGetValue(eventId, out eventValue)) - { - if (nextAvailableEventId == BaseEndEventId) - { - return false; - } + return -1; + } + /// + /// Begins sampling GPU time. + /// + /// Name of the event. + /// Returns true if a BeginSample with the same event name was last added. + public static bool BeginSample(string eventId) + { + int eventValue; + if (!eventIds.TryGetValue(eventId, out eventValue)) + { + if (nextAvailableEventId == BaseEndEventId) + { + return false; + } - eventValue = nextAvailableEventId; - eventIds.Add(eventId, nextAvailableEventId++); - } + eventValue = nextAvailableEventId; + eventIds.Add(eventId, nextAvailableEventId++); + } - if (currentEventId.Contains(eventValue)) - { - Debug.LogWarning("BeginSample() is being called without a corresponding EndSample() call."); - return false; - } + if (currentEventId.Contains(eventValue)) + { + Debug.LogWarning("BeginSample() is being called without a corresponding EndSample() call."); + return false; + } - currentEventId.Push(eventValue); + currentEventId.Push(eventValue); - // Begin measuring GPU time - int eventFunctionId = eventValue + BaseBeginEventId; - GL.IssuePluginEvent(GetRenderEventFunc(), eventFunctionId); - return true; - } - /// - /// Ends the GPU sample currently in flight. - /// - public static void EndSample() - { - if (currentEventId.Count > 0) - { - // End measuring GPU frame time - int eventId = currentEventId.Pop() + BaseEndEventId; - GL.IssuePluginEvent(GetRenderEventFunc(), eventId); - } - } - } + // Begin measuring GPU time + int eventFunctionId = eventValue + BaseBeginEventId; + GL.IssuePluginEvent(GetRenderEventFunc(), eventFunctionId); + return true; + } + /// + /// Ends the GPU sample currently in flight. + /// + public static void EndSample() + { + if (currentEventId.Count > 0) + { + // End measuring GPU frame time + int eventId = currentEventId.Pop() + BaseEndEventId; + GL.IssuePluginEvent(GetRenderEventFunc(), eventId); + } + } + } } diff --git a/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTimingCamera.cs b/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTimingCamera.cs index 95ce827515b..0633fe82683 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTimingCamera.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/GpuTiming/GpuTimingCamera.cs @@ -1,39 +1,40 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. + using UnityEngine; namespace HoloToolkit.Unity { - /// - /// Tracks the GPU time spent rendering a camera. - /// For stereo rendering sampling is made from the beginning of the left eye to the end of the right eye. - /// - public class GpuTimingCamera : MonoBehaviour - { - public string TimingTag = "Frame"; + /// + /// Tracks the GPU time spent rendering a camera. + /// For stereo rendering sampling is made from the beginning of the left eye to the end of the right eye. + /// + public class GpuTimingCamera : MonoBehaviour + { + public string TimingTag = "Frame"; - private Camera timingCamera; + private Camera timingCamera; - private void Start() - { - timingCamera = GetComponent(); - Debug.Assert(timingCamera, "GpuTimingComponent must be attached to a Camera."); - } + private void Start() + { + timingCamera = GetComponent(); + Debug.Assert(timingCamera, "GpuTimingComponent must be attached to a Camera."); + } - protected void OnPreRender() - { - if (timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Left || timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Mono) - { - GpuTiming.BeginSample(TimingTag); - } - } + protected void OnPreRender() + { + if (timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Left || timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Mono) + { + GpuTiming.BeginSample(TimingTag); + } + } - protected void OnPostRender() - { - if (timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Right || timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Mono) - { - GpuTiming.EndSample(); - } - } - } + protected void OnPostRender() + { + if (timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Right || timingCamera.stereoActiveEye == Camera.MonoOrStereoscopicEye.Mono) + { + GpuTiming.EndSample(); + } + } + } } \ No newline at end of file diff --git a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverBodyLock.cs b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverBodyLock.cs index 9d48c6e8651..3489b179b1b 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverBodyLock.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverBodyLock.cs @@ -1,16 +1,13 @@ -// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -// + using UnityEngine; -using System.Collections; -using System.Collections.Generic; namespace HoloToolkit.Unity { /// /// SolverBodyLock provides a solver that follows the TrackedObject/TargetTransform. Adjusting "LerpTime" - /// properties changes how quickly the object moves to the TracketObject/TargetTransform's position. + /// properties changes how quickly the object moves to the TrackedObject/TargetTransform's position. /// public class SolverBodyLock : Solver { @@ -28,7 +25,6 @@ public enum OrientationReference } #endregion - #region public members [Tooltip("The desired orientation of this object. Default sets the object to face the TrackedObject/TargetTransform. CameraFacing sets the object to always face the user.")] public OrientationReference Orientation = OrientationReference.Default; @@ -36,14 +32,13 @@ public enum OrientationReference public Vector3 offset; [Tooltip("RotationTether snaps the object to be in front of TrackedObject regardless of the object's local rotation.")] public bool RotationTether = false; - [Tooltip("TetherAngleSteps is the divison of steps this object can tether to. Higher the number, the more snapple steps.")] + [Tooltip("TetherAngleSteps is the division of steps this object can tether to. Higher the number, the more snapple steps.")] [Range(4, 12)] public int TetherAngleSteps = 6; #endregion public override void SolverUpdate() { - Vector3 desiredPos = base.solverHandler.TransformTarget != null ? base.solverHandler.TransformTarget.position + offset : Vector3.zero; Quaternion desiredRot = Quaternion.identity; if (RotationTether) @@ -62,10 +57,10 @@ public override void SolverUpdate() desiredRot = Quaternion.Euler(0f, tetherYRotation, 0f); } - desiredPos = solverHandler.TransformTarget.position + (desiredRot * offset); + Vector3 desiredPos = solverHandler.TransformTarget != null ? solverHandler.TransformTarget.position + (desiredRot * offset) : Vector3.zero; - this.GoalPosition = desiredPos; - this.GoalRotation = desiredRot; + GoalPosition = desiredPos; + GoalRotation = desiredRot; UpdateWorkingPosToGoal(); UpdateWorkingRotToGoal(); diff --git a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverMomentumizer.cs b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverMomentumizer.cs index 56c0a1624c0..bf5f5004c77 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverMomentumizer.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverMomentumizer.cs @@ -1,101 +1,99 @@ -// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -// + using UnityEngine; -using System.Collections; namespace HoloToolkit.Unity { - /// - /// Momentumizer solver applies accel/velocity/friction to simulate momentum for an object being moved by other solvers/components - /// - public class SolverMomentumizer : Solver - { - [Tooltip("Friction to slow down the current velocity")] - public float resistance = 0.99f; - [Tooltip("Apply more resistance when going faster- applied resistance is resistance * (velocity ^ reisistanceVelPower)")] - public float resistanceVelPower = 1.5f; - [Tooltip("Accelerate to goal position at this rate")] - public float accelRate = 10f; - [Tooltip("Apply more acceleration if farther from target- applied accel is accelRate + springiness * distance")] - public float springiness = 0; + /// + /// Momentumizer solver applies acceleration/velocity/friction to simulate momentum for an object being moved by other solvers/components + /// + public class SolverMomentumizer : Solver + { + [Tooltip("Friction to slow down the current velocity")] + public float resistance = 0.99f; + [Tooltip("Apply more resistance when going faster- applied resistance is resistance * (velocity ^ reisistanceVelPower)")] + public float resistanceVelPower = 1.5f; + [Tooltip("Accelerate to goal position at this rate")] + public float accelRate = 10f; + [Tooltip("Apply more acceleration if farther from target- applied acceleration is accelRate + springiness * distance")] + public float springiness = 0; - [Tooltip("Instantly maintain a constant depth from the view point instead of simulating Z-velocity")] - public bool SnapZ = true; + [Tooltip("Instantly maintain a constant depth from the view point instead of simulating Z-velocity")] + public bool SnapZ = true; - private Vector3 velocity; + private Vector3 velocity; - public override void SolverUpdate() - { - CalculateMomentum(); - } + public override void SolverUpdate() + { + CalculateMomentum(); + } - public override void SnapTo(Vector3 position, Quaternion rotation) - { - base.SnapTo(position, rotation); - velocity = Vector3.zero; - } + public override void SnapTo(Vector3 position, Quaternion rotation) + { + base.SnapTo(position, rotation); + velocity = Vector3.zero; + } - protected override void OnEnable() - { - base.OnEnable(); + protected override void OnEnable() + { + base.OnEnable(); - velocity = Vector3.zero; - } + velocity = Vector3.zero; + } - private void CalculateMomentum() - { - // Start with SnapZ - if (SnapZ) - { - // Snap the current depth to the goal depth - var refPos = getRefPos(); - float goalDepth = (solverHandler.GoalPosition - refPos).magnitude; - Vector3 currentDelta = transform.position - refPos; - float currentDeltaLen = currentDelta.magnitude; - if (!Mathf.Approximately(currentDeltaLen, 0)) - { - Vector3 currentDeltaNorm = currentDelta / currentDeltaLen; - transform.position += currentDeltaNorm * (goalDepth - currentDeltaLen); - } - } + private void CalculateMomentum() + { + // Start with SnapZ + if (SnapZ) + { + // Snap the current depth to the goal depth + var refPos = getRefPos(); + float goalDepth = (solverHandler.GoalPosition - refPos).magnitude; + Vector3 currentDelta = transform.position - refPos; + float currentDeltaLen = currentDelta.magnitude; + if (!Mathf.Approximately(currentDeltaLen, 0)) + { + Vector3 currentDeltaNorm = currentDelta / currentDeltaLen; + transform.position += currentDeltaNorm * (goalDepth - currentDeltaLen); + } + } - // Determine and apply accel - Vector3 delta = solverHandler.GoalPosition - transform.position; - float deltaLen = delta.magnitude; - if (deltaLen > 0.01f) - { - Vector3 deltaNorm = delta / deltaLen; + // Determine and apply accel + Vector3 delta = solverHandler.GoalPosition - transform.position; + float deltaLen = delta.magnitude; + if (deltaLen > 0.01f) + { + Vector3 deltaNorm = delta / deltaLen; - velocity += deltaNorm * (solverHandler.DeltaTime * (accelRate + springiness * deltaLen)); - } + velocity += deltaNorm * (solverHandler.DeltaTime * (accelRate + springiness * deltaLen)); + } - // Resistance - float velMag = velocity.magnitude; - if (!Mathf.Approximately(velMag, 0)) - { - Vector3 velNormal = velocity / velMag; - float powFactor = velMag > 1f ? Mathf.Pow(velMag, resistanceVelPower) : velMag; - velocity -= velNormal * (powFactor * resistance * solverHandler.DeltaTime); - } + // Resistance + float velMag = velocity.magnitude; + if (!Mathf.Approximately(velMag, 0)) + { + Vector3 velNormal = velocity / velMag; + float powFactor = velMag > 1f ? Mathf.Pow(velMag, resistanceVelPower) : velMag; + velocity -= velNormal * (powFactor * resistance * solverHandler.DeltaTime); + } - if (velocity.sqrMagnitude < 0.001f) - { - velocity = Vector3.zero; - } + if (velocity.sqrMagnitude < 0.001f) + { + velocity = Vector3.zero; + } - // Apply vel to the solver... no wait, the actual transform - transform.position += velocity * solverHandler.DeltaTime; - } + // Apply vel to the solver... no wait, the actual transform + transform.position += velocity * solverHandler.DeltaTime; + } - private Vector3 getRefPos() - { - if (solverHandler.TransformTarget == null) - { - return Vector3.zero; - } - return solverHandler.TransformTarget.position; - } - } + private Vector3 getRefPos() + { + if (solverHandler.TransformTarget == null) + { + return Vector3.zero; + } + return solverHandler.TransformTarget.position; + } + } } diff --git a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverSurfaceMagnetism.cs b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverSurfaceMagnetism.cs index d98213cb8b6..e16ea9d4a8a 100644 --- a/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverSurfaceMagnetism.cs +++ b/Assets/HoloToolkit/Utilities/Scripts/Solvers/SolverSurfaceMagnetism.cs @@ -1,12 +1,10 @@ -// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. -// + using UnityEngine; namespace HoloToolkit.Unity { - /// /// SurfaceMagnetism casts rays to Surfaces in the world align the object to the surface. /// @@ -147,16 +145,16 @@ Vector3 GetRaycastOrigin() return Vector3.zero; } return solverHandler.TransformTarget.position; - } - - /// - /// Which point should the ray cast toward? Not really the 'end' of the ray. The ray may be cast along - /// the head facing direction, from the eye to the object, or to the solver's linked position (working from - /// the previous solvers) - /// - /// Vector3, a point on the ray besides the origin - Vector3 GetRaycastEndPoint() - { + } + + /// + /// Which point should the ray cast toward? Not really the 'end' of the ray. The ray may be cast along + /// the head facing direction, from the eye to the object, or to the solver's linked position (working from + /// the previous solvers) + /// + /// Vector3, a point on the ray besides the origin + Vector3 GetRaycastEndPoint() + { Vector3 ret = Vector3.forward; switch (raycastDirection) { @@ -172,18 +170,18 @@ Vector3 GetRaycastEndPoint() ret = solverHandler.GoalPosition; break; } - return ret; - } - - /// - /// Calculate the raycast direction based on the two ray points - /// - /// Vector3, the direction of the raycast - Vector3 GetRaycastDirection() - { - Vector3 ret = Vector3.forward; - if (raycastDirection == RaycastDirectionEnum.CameraFacing) - { + return ret; + } + + /// + /// Calculate the raycast direction based on the two ray points + /// + /// Vector3, the direction of the raycast + Vector3 GetRaycastDirection() + { + Vector3 ret = Vector3.forward; + if (raycastDirection == RaycastDirectionEnum.CameraFacing) + { if (solverHandler.TransformTarget) { @@ -234,45 +232,45 @@ Quaternion CalculateMagnetismOrientation(Vector3 rayDir, Vector3 surfaceNormal) default: return Quaternion.identity; } - } - - /// - /// Checks if a normal is nearly vertical - /// - /// - /// bool - bool IsNormalVertical(Vector3 normal) - { - return 1f - Mathf.Abs(normal.y) < 0.01f; - } - - /// - /// A constant scale override may be specified for volumetric raycasts, oherwise uses the current value of the solver link's alt scale - /// - /// float - float GetScaleOverride() - { - if (UseLinkedAltScaleOverride) - { - return solverHandler.AltScale.Current.magnitude; - } - return VolumeCastSizeOverride; - } - - public override void SolverUpdate() - { - // Pass-through by default - this.GoalPosition = WorkingPos; - this.GoalRotation = WorkingRot; - - // Determine raycast params - Ray ray = new Ray(GetRaycastOrigin(), GetRaycastDirection()); - - // Skip if there's no valid direction - if (ray.direction == Vector3.zero) - { - return; - } + } + + /// + /// Checks if a normal is nearly vertical + /// + /// + /// bool + bool IsNormalVertical(Vector3 normal) + { + return 1f - Mathf.Abs(normal.y) < 0.01f; + } + + /// + /// A constant scale override may be specified for volumetric raycasts, oherwise uses the current value of the solver link's alt scale + /// + /// float + float GetScaleOverride() + { + if (UseLinkedAltScaleOverride) + { + return solverHandler.AltScale.Current.magnitude; + } + return VolumeCastSizeOverride; + } + + public override void SolverUpdate() + { + // Pass-through by default + this.GoalPosition = WorkingPos; + this.GoalRotation = WorkingRot; + + // Determine raycast params + Ray ray = new Ray(GetRaycastOrigin(), GetRaycastDirection()); + + // Skip if there's no valid direction + if (ray.direction == Vector3.zero) + { + return; + } float ScaleOverride = GetScaleOverride(); float len; @@ -312,7 +310,7 @@ public override void SolverUpdate() break; case RaycastModeEnum.Box: - + Vector3 scale = transform.lossyScale; if (ScaleOverride > 0) { @@ -387,210 +385,210 @@ public override void SolverUpdate() break; } - // Do frame to frame updates of transform, smoothly toward the goal, if desired - UpdateWorkingPosToGoal(); - UpdateWorkingRotToGoal(); - } - - /// - /// Calculates a plane from all raycast hit locations upon which the object may align - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - private static void FindPlacementPlane(Vector3 origin, Vector3 direction, Vector3[] positions, Vector3[] normals, bool[] hits, float assetWidth, float maxNormalVariance, bool constrainVertical, bool bUseClosestDistance, out Plane plane, out float closestDistance) - { - bool debugEnabled = RaycastHelper.DebugEnabled; - - int numRays = positions.Length; - - Vector3 originalDirection = direction; - if (constrainVertical) - { - direction.y = 0.0f; - direction = direction.normalized; - } - - // go through all the points and find the closest distance - int closestPoint = -1; - closestDistance = float.PositiveInfinity; - float farthestDistance = 0f; - int numHits = 0; - Vector3 averageNormal = Vector3.zero; - - for (int i = 0; i < numRays; i++) - { - if (hits[i] != false) - { - float dist = Vector3.Dot(direction, positions[i] - origin); - - if (dist < closestDistance) - { - closestPoint = i; - closestDistance = dist; - } - if (dist > farthestDistance) - { - farthestDistance = dist; - } - - averageNormal += normals[i]; - ++numHits; - } - } - averageNormal /= numHits; - - // Calculate variance of all normals - float variance = 0; - for (int i = 0; i < numRays; ++i) - { - if (hits[i] != false) - { - variance += (normals[i] - averageNormal).magnitude; - } - } - variance /= numHits; - - // If variance is too high, I really don't want to deal with this surface - // And if we don't even have enough rays, I'm not confident about this at all - if (variance > maxNormalVariance || numHits < numRays / 4) - { - plane = new Plane(-direction, positions[closestPoint]); - return; - } - - // go through all the points and find the most orthagonal plane - float lowAngle = float.PositiveInfinity; - int lowIndex = -1; - float highAngle = float.NegativeInfinity; - int highIndex = -1; - - for (int i = 0; i < numRays; i++) - { - if (hits[i] == false || i == closestPoint) - { - continue; - } - - Vector3 diff = (positions[i] - positions[closestPoint]); - if (constrainVertical) - { - diff.y = 0.0f; - diff.Normalize(); - - if (diff == Vector3.zero) - { - continue; - } - } - else - { - diff.Normalize(); - } - - float angle = Vector3.Dot(direction, diff); - - if (angle < lowAngle) - { - lowAngle = angle; - lowIndex = i; - } - } - - if (!constrainVertical && lowIndex != -1) - { - for (int i = 0; i < numRays; i++) - { - if (hits[i] == false || i == closestPoint || i == lowIndex) - { - continue; - } - - float dot = Mathf.Abs(Vector3.Dot((positions[i] - positions[closestPoint]).normalized, (positions[lowIndex] - positions[closestPoint]).normalized)); - if (dot > maxDot) - { - continue; - } - - Vector3 normal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], positions[i] - positions[closestPoint]).normalized; - - float nextAngle = Mathf.Abs(Vector3.Dot(direction, normal)); - - if (nextAngle > highAngle) - { - highAngle = nextAngle; - highIndex = i; - } - } - } - - Vector3 placementNormal; - if (lowIndex != -1) - { - if (debugEnabled) - { - Debug.DrawLine(positions[closestPoint], positions[lowIndex], Color.red); - } - - if (highIndex != -1) - { - if (debugEnabled) - { - Debug.DrawLine(positions[closestPoint], positions[highIndex], Color.green); - } - placementNormal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], positions[highIndex] - positions[closestPoint]).normalized; - } - else - { - Vector3 planeUp = Vector3.Cross(positions[lowIndex] - positions[closestPoint], direction); - placementNormal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], constrainVertical ? Vector3.up : planeUp).normalized; - } - - if (debugEnabled) - { - Debug.DrawLine(positions[closestPoint], positions[closestPoint] + placementNormal, Color.blue); - } - } - else - { - placementNormal = direction * -1.0f; - } - - if (Vector3.Dot(placementNormal, direction) > 0.0f) - { - placementNormal *= -1.0f; - } - - plane = new Plane(placementNormal, positions[closestPoint]); - - if (debugEnabled) - { - Debug.DrawRay(positions[closestPoint], placementNormal, Color.cyan); - } - - // Figure out how far the plane should be. - if (!bUseClosestDistance && closestPoint >= 0) - { - float centerPlaneDistance; - Ray centerPlaneRay = new Ray(origin, originalDirection); - if (plane.Raycast(centerPlaneRay, out centerPlaneDistance) || centerPlaneDistance != 0) - { - // When the plane is nearly parallel to the user, we need to clamp the distance to where the raycasts hit. - closestDistance = Mathf.Clamp(centerPlaneDistance, closestDistance, farthestDistance + assetWidth * 0.5f); - } - else - { - Debug.LogError("FindPlacementPlane: Not expected to have the center point not intersect the plane."); - } - } - } - } + // Do frame to frame updates of transform, smoothly toward the goal, if desired + UpdateWorkingPosToGoal(); + UpdateWorkingRotToGoal(); + } + + /// + /// Calculates a plane from all raycast hit locations upon which the object may align + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + private static void FindPlacementPlane(Vector3 origin, Vector3 direction, Vector3[] positions, Vector3[] normals, bool[] hits, float assetWidth, float maxNormalVariance, bool constrainVertical, bool bUseClosestDistance, out Plane plane, out float closestDistance) + { + bool debugEnabled = RaycastHelper.DebugEnabled; + + int numRays = positions.Length; + + Vector3 originalDirection = direction; + if (constrainVertical) + { + direction.y = 0.0f; + direction = direction.normalized; + } + + // go through all the points and find the closest distance + int closestPoint = -1; + closestDistance = float.PositiveInfinity; + float farthestDistance = 0f; + int numHits = 0; + Vector3 averageNormal = Vector3.zero; + + for (int i = 0; i < numRays; i++) + { + if (hits[i] != false) + { + float dist = Vector3.Dot(direction, positions[i] - origin); + + if (dist < closestDistance) + { + closestPoint = i; + closestDistance = dist; + } + if (dist > farthestDistance) + { + farthestDistance = dist; + } + + averageNormal += normals[i]; + ++numHits; + } + } + averageNormal /= numHits; + + // Calculate variance of all normals + float variance = 0; + for (int i = 0; i < numRays; ++i) + { + if (hits[i] != false) + { + variance += (normals[i] - averageNormal).magnitude; + } + } + variance /= numHits; + + // If variance is too high, I really don't want to deal with this surface + // And if we don't even have enough rays, I'm not confident about this at all + if (variance > maxNormalVariance || numHits < numRays / 4) + { + plane = new Plane(-direction, positions[closestPoint]); + return; + } + + // go through all the points and find the most orthagonal plane + float lowAngle = float.PositiveInfinity; + int lowIndex = -1; + float highAngle = float.NegativeInfinity; + int highIndex = -1; + + for (int i = 0; i < numRays; i++) + { + if (hits[i] == false || i == closestPoint) + { + continue; + } + + Vector3 diff = (positions[i] - positions[closestPoint]); + if (constrainVertical) + { + diff.y = 0.0f; + diff.Normalize(); + + if (diff == Vector3.zero) + { + continue; + } + } + else + { + diff.Normalize(); + } + + float angle = Vector3.Dot(direction, diff); + + if (angle < lowAngle) + { + lowAngle = angle; + lowIndex = i; + } + } + + if (!constrainVertical && lowIndex != -1) + { + for (int i = 0; i < numRays; i++) + { + if (hits[i] == false || i == closestPoint || i == lowIndex) + { + continue; + } + + float dot = Mathf.Abs(Vector3.Dot((positions[i] - positions[closestPoint]).normalized, (positions[lowIndex] - positions[closestPoint]).normalized)); + if (dot > maxDot) + { + continue; + } + + Vector3 normal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], positions[i] - positions[closestPoint]).normalized; + + float nextAngle = Mathf.Abs(Vector3.Dot(direction, normal)); + + if (nextAngle > highAngle) + { + highAngle = nextAngle; + highIndex = i; + } + } + } + + Vector3 placementNormal; + if (lowIndex != -1) + { + if (debugEnabled) + { + Debug.DrawLine(positions[closestPoint], positions[lowIndex], Color.red); + } + + if (highIndex != -1) + { + if (debugEnabled) + { + Debug.DrawLine(positions[closestPoint], positions[highIndex], Color.green); + } + placementNormal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], positions[highIndex] - positions[closestPoint]).normalized; + } + else + { + Vector3 planeUp = Vector3.Cross(positions[lowIndex] - positions[closestPoint], direction); + placementNormal = Vector3.Cross(positions[lowIndex] - positions[closestPoint], constrainVertical ? Vector3.up : planeUp).normalized; + } + + if (debugEnabled) + { + Debug.DrawLine(positions[closestPoint], positions[closestPoint] + placementNormal, Color.blue); + } + } + else + { + placementNormal = direction * -1.0f; + } + + if (Vector3.Dot(placementNormal, direction) > 0.0f) + { + placementNormal *= -1.0f; + } + + plane = new Plane(placementNormal, positions[closestPoint]); + + if (debugEnabled) + { + Debug.DrawRay(positions[closestPoint], placementNormal, Color.cyan); + } + + // Figure out how far the plane should be. + if (!bUseClosestDistance && closestPoint >= 0) + { + float centerPlaneDistance; + Ray centerPlaneRay = new Ray(origin, originalDirection); + if (plane.Raycast(centerPlaneRay, out centerPlaneDistance) || centerPlaneDistance != 0) + { + // When the plane is nearly parallel to the user, we need to clamp the distance to where the raycasts hit. + closestDistance = Mathf.Clamp(centerPlaneDistance, closestDistance, farthestDistance + assetWidth * 0.5f); + } + else + { + Debug.LogError("FindPlacementPlane: Not expected to have the center point not intersect the plane."); + } + } + } + } } diff --git a/Assets/csc.rsp b/Assets/csc.rsp new file mode 100644 index 00000000000..46ef8438d5f --- /dev/null +++ b/Assets/csc.rsp @@ -0,0 +1 @@ +-unsafe \ No newline at end of file diff --git a/Assets/csc.rsp.meta b/Assets/csc.rsp.meta new file mode 100644 index 00000000000..a4d0240a681 --- /dev/null +++ b/Assets/csc.rsp.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: ffa4d35690ed02c4ba94553dce3a1a2b +timeCreated: 1526410723 +licenseType: Pro +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1e333ea7896..936b6f8318d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,10 +6,11 @@ If you have any questions, please reach out on the [HoloLens forums](https://for # Process 1. [Make a proposal](https://github.com/Microsoft/HoloToolkit-Unity/issues) (either new, or for one of the elements in our backlog) -2. Implement the proposal and its tests. -3. Rebase commits to tell a compelling story. -4. Start a pull request & address comments. -5. Merge. +2. Identify the appropriate development branch +3. Implement the proposal and its tests. +4. Ensure that your implementation meets the [coding guidelines](CodingGuidelines.md). +5. Start a pull request & address comments. +6. Merge. # Proposal @@ -21,6 +22,21 @@ This will let us have a brief discussion about the problem and, hopefully, ident Note: If you wish to work on something that already exists on our backlog, you can use that work item as your proposal. +# Identifing the development branch + +The master branch does not accept direct pull requests. Each change must be submitted through an appropriate developement branch. Each upcoming MRTK release has its own development branch (ex: may18_dev). + +To identify the appropriate development branch: + +1. Navigate to the MRTK [Projects](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects) page +2. Find the next Mixed Reality Toolkit project (generally, by closest date) +3. If the **Status** is not **Accepting changes**, select the next release +4. Note the **Development branch** for Pull Request submission. + +Any pull request made directly to master will be retargetted to a development branches by a project maintainer. + +NOTE: A project maintainer may retarget your PR to a different development branch based on the release priorities. + # Implementation 1. Fork the repository. Click on the "Fork" button on the top right of the page and follow the flow. @@ -32,26 +48,9 @@ Note: If you wish to work on something that already exists on our backlog, you 7. Ensure you update the [README](https://github.com/Microsoft/HoloToolkit-Unity/blob/master/README.md) with additional documentation as needed. 8. Also update the [HoloToolkit-Unity wiki](https://github.com/Microsoft/HoloToolkit-Unity/wiki) if you think it will be useful for other developers. -# Rebase commits - -The commits in your pull request should tell a story about how the code got from point A to point B. -Good stories are edited, so you'll want to rebase your commits so that they tell a good story. - -Each commit should build and pass all of the tests. -If you want to add new tests for functionality that's not yet written, ensure the tests are added disabled. - -Don't forget to run git diff --check to catch those annoying whitespace changes. - -Please follow the established [Git convention for commit messages](https://www.git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#Commit-Guidelines). -The first line is a summary in the imperative, about 50 characters or less, and should not end with a period. -An optional, longer description must be preceded by an empty line and should be wrapped at around 72 characters. -This helps with various outputs from Git or other tools. - -You can update message of local commits you haven't pushed yet using git commit --amend or git rebase --interactivewith reword command. - # Pull request -Start a GitHub pull request to merge your topic branch into the [main repository's Dev_Working_Branch](https://github.com/Microsoft/HoloToolkit-Unity/tree/Dev_Working_Branch). +Start a GitHub pull request to merge your topic branch into the release's development branch (as identified above). (If you are a Microsoft employee and are not a member of the [Microsoft organization on GitHub](https://github.com/Microsoft) yet, please link your Microsoft and GitHub accounts on corpnet by visiting [Open Source at Microsoft](https://opensource.microsoft.com/) before you start your pull request. There's some process stuff you'll need to do ahead of time.) If you haven't contributed to a Microsoft project before, you may be asked to sign a [contribution license agreement](https://cla.microsoft.com/). A comment in the PR will let you know if you do. @@ -61,4 +60,4 @@ Address any review comments, force push to your topic branch, and post a comment # Merge -If the pull request review goes well, a project maintainer will merge your changes. Thank you for helping improve HoloToolkit! +If the pull request review goes well, a project maintainer will merge your changes. Thank you for helping improve the Mixed Reality Toolkit! diff --git a/CodingGuidelines.md b/CodingGuidelines.md new file mode 100644 index 00000000000..3916a59edac --- /dev/null +++ b/CodingGuidelines.md @@ -0,0 +1,516 @@ +# Coding Guidelines + +This document outlines the recommended coding guidelines for the Mixed Reality Toolkit. The majority of these suggestions follow the [recommended standards from MSDN](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/coding-conventions). + +--- + +## Script license information headers + +All scripts posted to the MRTK should have the standard License header attached, exactly as shown below: + +``` +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. +``` + +Any script files submitted without the license header will be rejected + +## Function / Method summary headers + +All public classes, structs, enums, functions, properties, fields posted to the MRTK should be described as to it's purpose and use, exactly as shown below: + +``` + /// + /// The Controller definition defines the Controller as defined by the SDK / Unity. + /// + public struct Controller + { + /// + /// The ID assigned to the Controller + /// + public string ID; + } +``` + +This ensures documentation is properly generated and disseminated for all all classes, methods, and properties. + +>Any script files submitted without proper summary tags will be rejected. + +## MRTK namespace rules + +The vNext structure adheres to a strict namespace culture of mapping the namespace 1-1 with the folder structure of the project. This ensures that classes are easy to discover and maintain. It also ensures the dependencies of any class are laid out in the beginning usings of the file. + +### Do: +``` +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +namespace HoloToolkit.Unity.InputSystem +{ + /// + /// The ButtonAction defines the set of actions exposed by a controller. + /// Denoting the available buttons / interactions that a controller supports. + /// + public enum ButtonAction + { + } +} +``` + +Absolutely no class / struct / enum or other definition should be entered in to the project without the appropriate namespace definition. + +## Spaces vs Tabs +Please be sure to use 4 spaces instead of tabs when contributing to this project. + +Additionally, ensure that spaces are added for conditional / loop functions like if / while / for + +### Don't: + +``` +private Foo() +{ + if(Bar==null) // <- no space between if and () + { + DoThing(); + } + + while(true) // <- no space between while and () + { + Do(); + } +} +``` + +### Do: + + ``` +private Foo() +{ + if (Bar==null) + { + DoThing(); + } + + while (true) + { + Do(); + } +} + ``` + +## Naming Conventions + +Always use `PascalCase` for public / protected / virtual properties, and `camelCase` for private properties and fields. +>The only exception to this is for data structures that require the fields to be serialized by the `JsonUtility`. + +### Don't: + +``` +public string myProperty; // <- Starts with a lower case letter +private string MyProperty; // <- Starts with an uppercase case letter +``` + +### Do: + + ``` +public string MyProperty; +protected string MyProperty; +private string myProperty; + ``` + +## Access Modifiers + +Always declare an access modifier for all fields, properties and methods. + +>All Unity API Methods should be `private` by default, unless you need to override them in a derived class. In this case `protected` should be used. + +### Don't: + +``` +// No public / private access modifiers +void Foo() { } +void Bar() { } +``` + +### Do: + + ``` +private void Foo() { } +public void Bar() { } +protected virtual void FooBar() { } + ``` + +## Use Braces + +Always use braces after each statement block, and place them on the next line. + +### Don't: + +``` +private Foo() +{ + if (Bar==null) // <- missing braces surrounding if action + DoThing(); + else + DoTheOtherThing(); +} +``` + +### Don't: + +``` +private Foo() { // <- Open bracket on same line + if (Bar==null) DoThing(); <- if action on same line with no surrounding brackets + else DoTheOtherThing(); +} +``` + +### Do: + +``` +private Foo() +{ + if (Bar==true) + { + DoThing(); + } + else + { + DoTheOtherThing(); + } +} +``` + +## Public classes, structs, and enums should all go in their own files. + +If the class, struct, or enum can be made private then it's okay to be included in the same file. This avoid compilations issues with Unity and ensure that proper code abstraction occurs, it also reduces conflicts and breaking changes when code needs to change. + +### Don't: + +``` +public class MyClass +{ + public struct MyStruct() { } + public enum MyEnumType() { } + public class MyNestedClass() { } +} +``` + +### Do: + + ``` + // Private references for use inside the class only +public class MyClass +{ + private struct MyStruct() { } + private enum MyEnumType() { } + private class MyNestedClass() { } +} + ``` + + ### Do: + + ``` + // Public Struct / Enum definitions for use in your class. Try to make them generic for reuse. +MyStruct.cs +public struct MyStruct +{ + public string Var1; + public string Var2; +} +``` + +``` +MyEnumType.cs +public enum MuEnumType +{ + Value1, + Value2 // <- note, no "," on last value to denote end of list. +} +``` + +``` +MyClass.cs +public class MyClass +{ + private MyStruct myStructreference; + private MyEnumType myEnumReference; +} + ``` + +## Initilise Enums. + +To ensure all Enum's are initialized correctly starting at 0, .NET gives you a tidy shortcut to automatically initilize the enum by just adding the first (starter) value. + +> E.G. Value 1 = 0 (Remaining values are not required) + +### Don't: + +``` +public enum MyEnum +{ + Value1, <- no initializer + Value2, + Value3 +} +``` + +### Do: + + ``` +public enum MyEnum +{ + Value1 = 0, + Value2, + Value3 +} + ``` + +## Order Enums for appropriate extension. + +It is critical that if an Enum is likely to be extended in the future, to order defaults at the top of the Enum, this ensures Enum indexes are not affected with new additions. + +### Don't: + +``` +public enum AudioFormat +{ + PCM, + MP3, + Ogg, + None, <- default value not at start + Other <- anonymous value left to end of enum +} +``` + +### Do: + + ``` + /// + /// AudioFormat lists the supported / known formats of audio data + /// + public enum AudioFormat + { + /// + /// No specified format + /// + None = 0, + /// + /// Undefined format. + /// + Other, + /// + /// PCM + /// + PCM, + /// + /// MP3. + /// + MP3, + /// + /// Ogg Vorbis + /// + Ogg + } +``` + +## Review Enum use for Bitfields. + +If there is a possibility for an enum to require multiple states as a value, e.g. Handedness = Left & Right. Then the Enum needs to be decorated correctly with BitFlags to enable it to be used correctly + +> The Handedness.cs file has a concrete implementation for this + +### Don't: + +``` +public enum MyEnum +{ + None, + Left, + Right +} +``` + +### Do: + + ``` +[flags] +public enum MyEnum +{ + None = 1 << 0, + Left = 1 << 1, + Right = 1 << 2, + Both = Left | Right +} + ``` + + +## Best Practices, including Unity recommendations + +Some of the target platforms of this project require us to take performance into consideration. With this in mind we should always be careful of allocating memory in frequently called code in tight update loops or algorithms. + +## Encapsulation + +Always use private fields and public properties if access to the field is needed from outside the class or struct. Be sure to co-locate the private field and the public property. This makes it easier to see, at a glance, what backs the property and that the field is modifiable by script. + +If you need to have the ability to edit your field in the inspector, it's best practice to follow the rules for Encapsulation and serialize your backing field. + +>The only exception to this is for data structures that require the fields to be serialized by the `JsonUtility`, where a data class is required to have all public fields for the serialization to work. + +### Don't: + +``` +public float MyValue; +``` + +### Do: + + ``` + /// + /// A value that is accessible within script only (it is not serialized in Unity for visibility in the Inspector) + /// + private float myValue; + ``` + +### Do: + + ``` + /// + /// A value that is serialized in Unity for setting via the Inspector (not modifiable from other scripts) + /// + [Tooltip("A value that is serialized in Unity for setting via the Inspector (not modifiable from other scripts)")] + [SerializeField] + private float myValue; + ``` + +--- + + ### Don't: + + ``` +private float myValue1; +private float myValue2; + +public float MyValue1 +{ + get{ return myValue1; } + set{ myValue1 = value } +} + +public float MyValue2 +{ + get{ return myValue2; } + set{ myValue2 = value } +} +``` + + ### Do: + + ``` +/// +/// A value that is serialized in Unity for setting via the Inspector and is modifiable from other scripts +/// +[Tooltip("A value that is serialized in Unity for setting via the Inspector and is modifiable from other scripts")] +[SerializeField] +private float myValue; // <- Notice we co-located the backing field above our corrisponding property. +public float MyValue +{ + get{ return myValue; } + set{ myValue = value } +} +``` + +## Use `for` instead of `foreach` when possible. + +In some cases a foreach is required, e.g. when looping over an IEnumerable. But for performance benefit, avoid foreach when you can. + +### Don't: + +``` +foreach(var item in items) +``` + +### Do: + + ``` +int length = items.length; // cache reference to list/array length +for(int i=0; i < length; i++) + ``` + +## Cache values and serialize them in the scene/prefab whenever possible. + +With the HoloLens in mind, it's best to optimize for performance and cache references in the scene or prefab to limit runtime memory allocations. + +### Don't: + +``` +void Update() +{ + gameObject.GetComponent().Foo(Bar); +} +``` + +### Do: + + ``` +[SerializeField] // To enable setting the reference in the inspector. +private Renderer myRenderer; + +private void Awake() +{ + // If you didn't set it in the inspector, then we cache it on awake. + if (myRenderer == null) + { + myRenderer = gameObject.GetComponent(); + } +} + +private void Update() +{ + myRenderer.Foo(Bar); +} + ``` + +## Cache references to materials, do not call the ".material" each time. + +Unity will create a new material each time you use ".material", which will cause a memory leak if not cleaned up properly. + +### Don't: + +``` +public class MyClass +{ + void Update() + { + Material myMaterial = GetComponent().material; + myMaterial.SetColor("_Color", Color.White); + } +} +``` + +### Do: + + ``` + // Private references for use inside the class only +public class MyClass +{ + private Material cachedMaterial; + + private void Awake() + { + cachedMaterial = GetComponent().material; + } + + void Update() + { + cachedMaterial.SetColor("_Color", Color.White); + } + + private void OnDestroy() + { + Destroy(cachedMaterial); + } +} + ``` + +>Alternatively, use Unity's "SharedMaterial" property which does not create a new material each time it is referenced. diff --git a/External/ReadMeImages/MRTK_BuildingBlocks.png b/External/ReadMeImages/MRTK_BuildingBlocks.png new file mode 100644 index 00000000000..e719f32d15a Binary files /dev/null and b/External/ReadMeImages/MRTK_BuildingBlocks.png differ diff --git a/External/ReadMeImages/MRTK_Dialog.jpg b/External/ReadMeImages/MRTK_Dialog.jpg new file mode 100644 index 00000000000..527d48d3ede Binary files /dev/null and b/External/ReadMeImages/MRTK_Dialog.jpg differ diff --git a/External/ReadMeImages/MRTK_Dialog_Devices.jpg b/External/ReadMeImages/MRTK_Dialog_Devices.jpg new file mode 100644 index 00000000000..dc32422aa8f Binary files /dev/null and b/External/ReadMeImages/MRTK_Dialog_Devices.jpg differ diff --git a/External/ReadMeImages/MRTK_Dialog_Inspector.jpg b/External/ReadMeImages/MRTK_Dialog_Inspector.jpg new file mode 100644 index 00000000000..a0ff9b381b2 Binary files /dev/null and b/External/ReadMeImages/MRTK_Dialog_Inspector.jpg differ diff --git a/External/ReadMeImages/MRTK_InputManagerTest.jpg b/External/ReadMeImages/MRTK_InputManagerTest.jpg index 751a5ae0d57..5252cdf678e 100644 Binary files a/External/ReadMeImages/MRTK_InputManagerTest.jpg and b/External/ReadMeImages/MRTK_InputManagerTest.jpg differ diff --git a/External/ReadMeImages/MRTK_MotionControllerTest.jpg b/External/ReadMeImages/MRTK_MotionControllerTest.jpg index 40321a975c7..3a1c664bd9e 100644 Binary files a/External/ReadMeImages/MRTK_MotionControllerTest.jpg and b/External/ReadMeImages/MRTK_MotionControllerTest.jpg differ diff --git a/External/ReadMeImages/MRTK_SpatialMapping.jpg b/External/ReadMeImages/MRTK_SpatialMapping.jpg new file mode 100644 index 00000000000..5b1ea0b3c8b Binary files /dev/null and b/External/ReadMeImages/MRTK_SpatialMapping.jpg differ diff --git a/External/ReadMeImages/MRTK_SpatialProcessing.jpg b/External/ReadMeImages/MRTK_SpatialProcessing.jpg new file mode 100644 index 00000000000..e2a9242a205 Binary files /dev/null and b/External/ReadMeImages/MRTK_SpatialProcessing.jpg differ diff --git a/External/ReadMeImages/MRTK_SpatialUnderstanding.jpg b/External/ReadMeImages/MRTK_SpatialUnderstanding.jpg new file mode 100644 index 00000000000..101f7d3db37 Binary files /dev/null and b/External/ReadMeImages/MRTK_SpatialUnderstanding.jpg differ diff --git a/External/ReadMeImages/MRTK_SpeechInput.jpg b/External/ReadMeImages/MRTK_SpeechInput.jpg new file mode 100644 index 00000000000..fa14ce8fd20 Binary files /dev/null and b/External/ReadMeImages/MRTK_SpeechInput.jpg differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism.jpg b/External/ReadMeImages/MRTK_SurfaceMagnetism.jpg new file mode 100644 index 00000000000..e638ec6a194 Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism.jpg differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism1.png b/External/ReadMeImages/MRTK_SurfaceMagnetism1.png new file mode 100644 index 00000000000..5f9d12a9ef9 Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism1.png differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism2.png b/External/ReadMeImages/MRTK_SurfaceMagnetism2.png new file mode 100644 index 00000000000..08d90a943fa Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism2.png differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism3.png b/External/ReadMeImages/MRTK_SurfaceMagnetism3.png new file mode 100644 index 00000000000..4216c075ed3 Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism3.png differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism4.png b/External/ReadMeImages/MRTK_SurfaceMagnetism4.png new file mode 100644 index 00000000000..747ae1ed738 Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism4.png differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism5.png b/External/ReadMeImages/MRTK_SurfaceMagnetism5.png new file mode 100644 index 00000000000..e54bb3b6e8a Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism5.png differ diff --git a/External/ReadMeImages/MRTK_SurfaceMagnetism6.png b/External/ReadMeImages/MRTK_SurfaceMagnetism6.png new file mode 100644 index 00000000000..8e560a17d19 Binary files /dev/null and b/External/ReadMeImages/MRTK_SurfaceMagnetism6.png differ diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index c78477cf0d1..50bc7a80531 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -127,7 +127,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 2017.2.1.2 + bundleVersion: 2017.4.0.0 preloadedAssets: [] metroInputSource: 0 m_HolographicPauseOnTrackingLoss: 0 @@ -619,7 +619,7 @@ PlayerSettings: m_RenderingPath: 1 m_MobileRenderingPath: 1 metroPackageName: MixedRealityToolkit-Unity - metroPackageVersion: 2017.2.1.2 + metroPackageVersion: 2017.4.0.0 metroCertificatePath: Assets/WSATestCertificate.pfx metroCertificatePassword: metroCertificateSubject: Microsoft diff --git a/README.md b/README.md index 284a39fc721..ff5cfb898cf 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ _Note: The latest release should work for both HoloLens and Windows Mixed Realit [unity-version-badge]: https://img.shields.io/badge/Current%20Unity%20Editor%20Version-2017.2.1p2-green.svg [![Github Release][unity-version-badge]][unity-download] -> Check out the MRTK [Roadmap](/Roadmap.md) for Unity. +> Check out the MRTK-Unity [Roadmap](/Roadmap.md). > > Check out the updates from the [Fall Creators update](/FallCreatorsUpdate.md) for Windows Mixed Reality. > @@ -60,11 +60,20 @@ To get up and going as quickly as possible, here are some guides to help you get | [![Bounding Box and App Bar](External/ReadMeImages/MRTK_AppBar_BoundingBox.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) [Bounding Box and App Bar](/Assets/HoloToolkit-Examples/UX/Readme/README_BoundingBoxGizmoExample.md) | [![Interactable Objects](External/ReadMeImages/MRTK_InteractableObject_HolographicButton.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) [Interactable Objects](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractableObjectExample.md) | [![Object Collection](External/ReadMeImages/MRTK_ObjectCollection.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) [Object Collection](/Assets/HoloToolkit-Examples/UX/Readme/README_ObjectCollection.md) |[![Keyboard](External/ReadMeImages/MRTK_Keyboard.jpg)](/Assets/HoloToolkit-Examples) [Keyboard](/Assets/HoloToolkit-Examples) | |:--- | :--- | :--- | :--- | | Standard UI for manipulating objects in 3D space | Modular script for making objects interactable with visual states, including Holographic button | Script for lay out an array of objects in a three-dimensional shape | System style keyboard prefab for Unity projects | -| ![Dialog and Progress](External/ReadMeImages/MRTK_DialogProgress.jpg) [Dialog](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_DialogsExample.md) / [Progress](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_ProgressExample.md) | [![Solver system](External/ReadMeImages/MRTK_SolverSystem.jpg)](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) [Solver system](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) | [![Interactive button demos](External/ReadMeImages/MRTK_InteractiveButtons.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) [Interactive button demos](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) | [![ToolTip & Label](External/ReadMeImages/MRTK_Tooltip.jpg)](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_TooltipExample.md) [ToolTip & Label](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/Dev_Working_Branch/Assets/MixedRealityToolkit-Examples/UX/Readme/README_TooltipExample.md) | -| (Available in Dev branch) Standard UI for notification, approval, or additional information from the user / Data loading indicator | Scripts for various behavious such as tag-along, billboarding, body-lock, constant view size and surface magnetism | UWP style UI controls including radio, toggle and checkboxes | (Available in Dev branch) Annotation UI with flexible anchor/pivot system which can be used for labeling motion controllers and object. | +| ![Dialog and Progress](External/ReadMeImages/MRTK_DialogProgress.jpg) [Dialog](/Assets/HoloToolkit-Examples/UX/Readme/README_DialogsExample.md) / [Progress](/Assets/HoloToolkit-Examples/UX/Readme/README_ProgressExample.md) | [![Solver system](External/ReadMeImages/MRTK_SolverSystem.jpg)](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) [Solver system](/Assets/HoloToolkit-Examples/Utilities/Readme/README_SolverSystem.md) | [![Interactive button demos](External/ReadMeImages/MRTK_InteractiveButtons.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) [Interactive button demos](/Assets/HoloToolkit-Examples/UX/Readme/README_InteractiveButtonComponents.md) | [![ToolTip & Label](External/ReadMeImages/MRTK_Tooltip.jpg)](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) [ToolTip & Label](/Assets/HoloToolkit-Examples/UX/Readme/README_TooltipExample.md) | +| Standard UI for notification, approval, or additional information from the user / Data loading indicator | Scripts for various behavious such as tag-along, billboarding, body-lock, constant view size and surface magnetism | UWP style UI controls including radio, toggle and checkboxes | Annotation UI with flexible anchor/pivot system which can be used for labeling motion controllers and object. | + +# Examples - Surface reconstruction +|[![Spatial Mapping](External/ReadMeImages/MRTK_SpatialMapping.jpg)](/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialMappingExample.unity) [Spatial Mapping](/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialMappingExample.unity) | [![Spatial Processing](External/ReadMeImages/MRTK_SpatialProcessing.jpg)](/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessing.unity) [Spatial Processing](/Assets/HoloToolkit-Examples/SpatialMapping/Scenes/SpatialProcessing.unity) | [![Spatial Understanding](External/ReadMeImages/MRTK_SpatialUnderstanding.jpg)](/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity) [Spatial Understanding](/Assets/HoloToolkit-Examples/SpatialUnderstanding/Scenes/SpatialUnderstandingExample.unity) | [![Surface Magnetism](External/ReadMeImages/MRTK_SurfaceMagnetism.jpg)](/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md) [Surface Magnetism](/Assets/HoloToolkit-Examples/SpatialMapping/SpatialProcessingSurfaceMagnetism.md) | +|:--- | :--- | :--- | :--- | +| Example of visualizing and accessing spatial mapping data. | Example of processing the raw spatial mapping data, finding and creating planes based on spatial mapping meshes. | Examples of the room scanning and accessing identified surfaces such as walls, floors, ceilings and platforms. | Example of making an object smoothly align with physical surfaces using SolverSurfaceMagnetism | + Check out the [Examples](/Assets/HoloToolkit-Examples) folder for more details. +Check out the article ["Open-Source Building Blocks for Windows Mixed Reality Experiences"](https://medium.com/@dongyoonpark/open-source-building-blocks-for-windows-mixed-reality-experiences-hololens-mixedrealitytoolkit-28a0a16ebb61) +[![MRTK Building Blocks](/External/ReadMeImages/MRTK_BuildingBlocks.png)](https://medium.com/@dongyoonpark/open-source-building-blocks-for-windows-mixed-reality-experiences-hololens-mixedrealitytoolkit-28a0a16ebb61) + **External\How To** docs folder is meant to help everyone with migrating forward or any simple doubts they might have about the process. Please feel free to grow all these sections. We can't wait to see your additions! diff --git a/Roadmap.md b/Roadmap.md index 3ad096cbd22..6ade17f3ccf 100644 --- a/Roadmap.md +++ b/Roadmap.md @@ -1,17 +1,44 @@ # Roadmap -### Master branch -| Target Unity release | Release timeframe | Master release tag | Toolkit release features | +### Upcoming releases +| Release | Development branch | Timeline | Project board | | --- | --- | --- | --- | -| 2017.2.0 | COMPLETED | v1.2017.2.0 |
  • Updated master with Windows Mixed Reality support (xR namespace).
  • RI Dev_Unity_2017.2.0 into master.
  • Toolkit will work on both HoloLens and immersive headsets.
  • Windows Mixed Reality motion controller support.
| -| 2018.1.0 | May 2018 | 2018.1.0 |
  • Mixed Reality Toolkit Version Next.
| +| 2017.4.0.0 | may18_dev | May 2018 | [May 2018](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects/8) | +| 2017.4.1.0 | june18_dev | June 2018 | [June 2018](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects/9) | +| [vNext](#mrtk-version-next) | MRTK-Version-Next | Summer 2018 | [MRTK vNext](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects/5) | + +### Most recent releases +| Release | Branch | Tag | Project board | Tested Unity Versions | +| --- | --- | --- | --- | --- | +| [2017.2.1.4](https://github.com/Microsoft/MixedRealityToolkit-Unity/releases/tag/2017.2.1.4) | master | 2017.2.1.4 | [2017.2.1.4](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects/7) | 5.6.5 - 2017.4.1 | + +# Master branch +Releases from [master](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master) are targeted, primarily at the 2017 LTS release from Unity and support Windows Mixed Reality ([Microsoft HoloLens](https://www.microsoft.com/en-us/hololens) and [Immersive](https://docs.microsoft.com/en-us/windows/mixed-reality/immersive-headset-hardware-details)) devices. The MRTK team strives to maintain compatibility for older versions of Unity (2017.1 and newer). It is expected that newer releases (2018.1 and newer) will continue to work. + +Please file [issues](https://github.com/Microsoft/MixedRealityToolkit-Unity/issues) if you encounter issues with specific versions of Unity. + +## Release cadence +The master branch is on a monthly release cadence (ex: 2017.2.1.4 in April 2018, 2017.4.0.0 in May 2018, etc.). Precice timing within the month may vary based on planned features and number of issues being addressed. + +As needed, patch and hot fix releases will be released between the sceduled cadence. + +### Note on version numbers +Starting with the May 2018 release, the MRTK version numbers are adopting [Semantic versioning](https://semver.org/) rather than aligning with a specific Unity release. + +The MRTK will use the first two version fields (2017.4) to indicate the recommended version is the Unity 2017 LTS version. The third field will indicate the MRTK revision number (ex: 2017.4.2). The fourth will always be zero (2017.4.2.0). + +## Development branches +For the [master](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master) branch releases, there is a unique developement / stabilization branch for each release. Please refer to the [Upcoming releases table](#upcoming-releases), or the [Projects](https://github.com/Microsoft/MixedRealityToolkit-Unity/projects) page for specifics. + +Please see [Branch management plan](#branch-management-plan) for more details. + # MRTK Version Next -This new version of the MixedRealityToolkit aims to further extend the capabilities of the toolkit and also introduce new features, including the capability to support more VR/AR/XR platforms beyond Microsoft's own Mixed Reality setup. +MixedRealityToolkit Version Next aims to further extend the capabilities of the toolkit and also introduce new features, including the capability to support more VR/AR/XR platforms beyond Microsoft's own Windows Mixed Reality platform. The vNext branch is taking all the best lessons learned from the original Mixed Reality Toolkit and refactoring / restructuring it to both: -Support a wider audience, allowing solutions to be built that will run on multiple VR / AR / XR platforms such as Mixed Reality, Steam/Open VR and OpenXR (initially) +Support a wider audience, allowing solutions to be built that will run on multiple VR / AR / XR platforms such as Windows Mixed Reality, Steam/Open VR and OpenXR (initially) Provide an easier to use SDK, to enable rapid prototyping and ease adoption for new users (or users of previous frameworks) @@ -21,42 +48,59 @@ Ensure an extensive framework for advanced integrators, with the ability to swap > Learn more about the approach behind the [Windows Mixed Reality - vNext SDK](https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/MRTK-Version-Next/MRTK-SDK.md) here. +## Release cadence +Following the Alpha release (June 2018), releases (beta and official) are planned to be released on a monthly cadence. + +## Milestones +The current plan for the development of Version Next is detailed in the following table. Please note that releases and dates are subject to change. + +| Release | Development branch | Timeline | Project board | +| --- | --- | --- | --- | +| Alpha (2018.6.0.0) | MRTK-Version-Next | June 2018 | tbd | +| Beta 1 (2018.7.0.0) | development_MRTK | July 2018 | tbd | +| Beta 2 (2017.8.0.0) | development_MRTK | August 2018 | tbd | +| 2018.9.0.0 | development_MRTK | September 2018 | tbd | + +## Development branches +During the Alpha milestone, the development branch will be MRTK-Version-Next. + +Post-alpha releases will share a development branch with each release having a unique stabilization branch. + +Please see [Branch management plan](#branch-management-plan) for more details. + +### Versioning + +The MRTK Version Next is adopting [Semantic versioning](https://semver.org/) rather than aligning with a specific Unity release. + +Version Next will use the first two version fields to indicate the release year and month (ex: 2018.6). The third field will indicate the MRTK revision number (ex: 2018.6.1). The fourth will always be zero (2018.6.1.0). + +# Branch mangement plan + +## Pre-Version Next release +Prior to the release of Version Next, the repository's default branch is [master](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master). + +Each release based on [master](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master) will have a unique development / stabilization branch where work will be performed and from which release candidates will be created. + +While the Version Next Alpha release is being developed, there will be a single [vNext branch](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/MRTK-Version-Next). + +At the time that feature complete is declared for the Alpha release, three new branches will be created: +- release_MRTK (replaces MRTK-Version-Next) +- development_MRTK (single development branch for future MRTK work) +- alpha (stabilization branch for the Alpha release) + +Once the branches are created, MRTK-Version-Next will be deleted and [Dev_Working_Branch](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/Dev_Working_Branch) will be locked (no Pull Requests accepted). + +## Post-Version Next release +With the release of Version Next, the default branch for the repository will change to release_MRTK and [master](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/master) will be branched to become HoloToolkit_SustainedEngineering. At the time of the branching, master will be deleted. + +### Sustained engineering +As appropriate (critical, wide impace issues) HoloToolkit_SustainedEngineering will be branched for development and stabilization of a hotfix. + + # Future work planning - Automated build for MRTK-Unity. -- Building a plan for cross-device/platform VR support. -- Adding 'Standalone' folder containing legacy toolkit scripts that don't depend on the toolkit input module to address developer feedback. - Unity packages for each release will be published to the Unity asset store. -- Unity packages for each feature area like Input/SpatialMapping will also be added to the release notes. More work needs to happen to ensure feature areas don't have cross dependencies. +- Investigate using the Unity Package Manager to modularize the MRTK. - [Academy content](https://github.com/Microsoft/HolographicAcademy) will be updated with each major toolkit release. -- Updating API documentation using tools like Doxygen and not writing them manually. This is something we will work with all of you on. -- Update Wiki to host API documentation instead. -- Move reusable features from [Mixed Reality Design Labs](https://github.com/Microsoft/MRDesignLabs_Unity) project into toolkit. +- Updating API documentation using tools like DocFx and not writing them manually. This is something we will work with all of you on. - Improved samples and test cases - -# Release cadence -### Master branch -- **No direct PR's into master branch.** It will be locked and only merges from stable development branches will be taken. -- Exception will be major bug fixes on a case by case basis. -- Please use the [working development branch](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/Dev_Working_Branch) for daily feature work. -- [Working development branch](https://github.com/Microsoft/MixedRealityToolkit-Unity/tree/Dev_Working_Branch) will be snapshot every 3 weeks for stabilization into a separate branch. Working branch will still be open for contributions. -- That stabilization branch will be worked on for at least 1 week. -- Only bug fixes will be accepted in the stabilization branch before being merged into master. - -- **Master branch releases** will align with **major Unity releases marking a release following Unity cadence**. Please read the [Unity roadmap](https://unity3d.com/unity/roadmap). -- Each release will be marked as a GitHub [release tag](https://github.com/Microsoft/HoloToolkit-Unity/releases). You can consume this release by: - - Using the zip file available in the release notes - - Unity packages available in the release notes - - Syncing to the specific git tag you would like to lock on. -- Release tag name convention: ..Iteration number - - For example: For Unity version 2017.1.0 our release tag would be **2017.1.0.0** - - If we marked another release with the same Unity version: **2017.1.0.1** - - -### Development branches -- Development branches are great for incubating features before they make their way into master. -- These branches can be feature work or experimental features. -- Development branches might not be on the same Unity versions as master. -- For being merged into Master the dev branch will have to follow the cadence laid out for master. -- Development branches might choose to mark releases on a faster cadence based on customer/project needs. -- Recommend marking a development branch tag every 2-3 weeks as needed to ensure stability before making up to master. -- Development branches might be deleted once merged into master. If more work is pending, it's ok to continue working in them. diff --git a/UpgradeGuide.md b/UpgradeGuide.md index a9262d7f9e1..3e20590175b 100644 --- a/UpgradeGuide.md +++ b/UpgradeGuide.md @@ -1,37 +1,29 @@ -# General Release Guidelines - -When updating the Mixed Reality Toolkit for Unity in your project always be sure to completely remove all the folders and assets of the toolkit before importing the unity package. Unity does not handle assets that have been deleted, removed, or renamed. - -General releases will list [breaking changes](/BreakingChanges.md) in their descriptions. - -## 2017.2 Upgrade Guide for Window Mixed Reality - -### What you'll need - -- [Unity Editor 2017.2.0p1 MRTP4](http://beta.unity3d.com/download/b1565bfe4a0c/download.html) or later -- Running the Windows Fall Creator's Update Build 1709 or later -- Visual Studio 2017 build 15.3 or later -- Window 10 SDK 10.0.16299.0 or later - -### List of breaking changes -- None to date. See [Unity's upgrade guide](https://docs.unity3d.com/Manual/UpgradeGuide20172.html) for Unity Specific changes. - -## 2017.1 Upgrade Guide - -### What you'll need - -- [Unity Editor 2017.1.2f1](https://unity3d.com/unity/whats-new/unity-2017.1.2) or later -- Window Build 1603 or later -- Visual Studio 2015 or later -- Windows 10 SDKs 10.0.10240.0 though 10.0.15063.0 - -### List of breaking changes -- `TryGetPosition` is now `TryGetPointerPosition` -- `TryGetOrientation` is now `TryGetPointerRotation` -- `SpeechKeywordRecognizedEventData` is now `SpeechEventData` -- All other changes should throw `Obsolete` warnings with suggested updates. -- Renamed feature folders -- Merged Test and Example folders -- Removed `MicStream` scripts and libraries until they pass WACK -- `GameObjects` that utilize the `WorldAnchorStore` need to have unique names. -- `SetGlobalListeners` now registers/unregisters during OnEnable/OnDisable. +# General Release Information + +This release is targeted for the Unity 2017.x products +- The recommended Unity version is [2017.4](https://unity3d.com/unity/qa/lts-releases?_ga=2.10765437.818138280.1527115303-289721018.1521153098) + - The recommended **minimum** Unity version is 2017.1 + - We will investigate reported issues on Unity 5.6, please file them in [GitHub](https://github.com/Microsoft/MixedRealityToolkit-Unity/issues) and tag them with "Unity 5.6 +- Unity 2017.2 and newer is required for Immersive headset support + - Unity 2017.1 can be used for HoloLens projects +- Windows SDK 10.0.16299 is required for Unity 2017.2 and newer +- Visual Studio 2017 (15.3 or newer) is required. +- Windows 10 Fall Creators Update (1709) or newer is required. + - Windows 10 April 2018 Update (1803) is recommended + +``` +Note: When upgrading the toolkit in your project, delete the following before importing the new package. +- Assets\HoloToolkit +- Assets\HoloToolkit-Examples (if present) +``` + +# Testing notes + +The Mixed Reality Toolkit team tests on the recommended and the recommended minimum Unity versions. +- A small amount of testing is performed on other Unity releases +- HoloToolkit-Examples scenes are used for the majority of testing +- Compile testing is performed in the Master configuration for: + - .NET Scripting + - IL2CPP + +Please see each the [release notes](https://github.com/Microsoft/MixedRealityToolkit-Unity/releases/latest) for information regarding new features, fixes, breaking changes and known issues. \ No newline at end of file