修复VR版bug
This commit is contained in:
parent
591b558f2b
commit
fe1f8fa83b
@ -596,7 +596,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 2.41
|
||||
near clip plane: 3.2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -643,6 +643,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 4319845310448798838}
|
||||
rightCamera: {fileID: 7916350301946161488}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -655,24 +658,7 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 3344223064141647530}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
--- !u!114 &5497114332070106473
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1037,7 +1023,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 2.41
|
||||
near clip plane: 0.4
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
@ -1749,7 +1735,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 2.41
|
||||
near clip plane: 0.4
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
|
||||
@ -1,659 +0,0 @@
|
||||
%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: 9
|
||||
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.18028378, g: 0.22571412, b: 0.30692285, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 1
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 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: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
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
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &551861169
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 551861173}
|
||||
- component: {fileID: 551861172}
|
||||
- component: {fileID: 551861171}
|
||||
- component: {fileID: 551861170}
|
||||
m_Layer: 0
|
||||
m_Name: Plane
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!64 &551861170
|
||||
MeshCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 551861169}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 5
|
||||
m_Convex: 0
|
||||
m_CookingOptions: 30
|
||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!23 &551861171
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 551861169}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 257
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: d4e944a8ccecb1f459425f645cf53888, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &551861172
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 551861169}
|
||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!4 &551861173
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 551861169}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.14996788, y: 0.06667602, z: 0.1987732}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &940455323
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 940455325}
|
||||
- component: {fileID: 940455324}
|
||||
- component: {fileID: 940455326}
|
||||
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 &940455324
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 940455323}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 10
|
||||
m_Type: 1
|
||||
m_Shape: 0
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
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_CullingMatrixOverride:
|
||||
e00: 1
|
||||
e01: 0
|
||||
e02: 0
|
||||
e03: 0
|
||||
e10: 0
|
||||
e11: 1
|
||||
e12: 0
|
||||
e13: 0
|
||||
e20: 0
|
||||
e21: 0
|
||||
e22: 1
|
||||
e23: 0
|
||||
e30: 0
|
||||
e31: 0
|
||||
e32: 0
|
||||
e33: 1
|
||||
m_UseCullingMatrixOverride: 0
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingLayerMask: 1
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_UseBoundingSphereOverride: 0
|
||||
m_UseViewFrustumForShadowCasterCull: 1
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
--- !u!4 &940455325
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 940455323}
|
||||
serializedVersion: 2
|
||||
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_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!114 &940455326
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 940455323}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Version: 3
|
||||
m_UsePipelineSettings: 1
|
||||
m_AdditionalLightsShadowResolutionTier: 2
|
||||
m_LightLayerMask: 1
|
||||
m_RenderingLayers: 1
|
||||
m_CustomShadowLayers: 0
|
||||
m_ShadowLayerMask: 1
|
||||
m_ShadowRenderingLayers: 1
|
||||
m_LightCookieSize: {x: 1, y: 1}
|
||||
m_LightCookieOffset: {x: 0, y: 0}
|
||||
m_SoftShadowQuality: 0
|
||||
--- !u!1 &1530345571
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1530345575}
|
||||
- component: {fileID: 1530345574}
|
||||
- component: {fileID: 1530345573}
|
||||
- component: {fileID: 1530345572}
|
||||
- component: {fileID: 1530345576}
|
||||
m_Layer: 0
|
||||
m_Name: Cube
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!65 &1530345572
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1530345571}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!23 &1530345573
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1530345571}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 257
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 4f8e450c14c468540975fe39a799bd18, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &1530345574
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1530345571}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!4 &1530345575
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1530345571}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.79, y: 0.5, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1530345576
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1530345571}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e65ac38766cf16646ac69b142fd7540c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
dragTargetButton: 0
|
||||
--- !u!1 &1979093110
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1979093114}
|
||||
- component: {fileID: 1979093113}
|
||||
- component: {fileID: 1979093112}
|
||||
- component: {fileID: 1979093111}
|
||||
- component: {fileID: 1979093115}
|
||||
m_Layer: 0
|
||||
m_Name: Capsule
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!136 &1979093111
|
||||
CapsuleCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1979093110}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Radius: 0.5
|
||||
m_Height: 2
|
||||
m_Direction: 1
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!23 &1979093112
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1979093110}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 257
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: da375d21db2c643488e6dbe630d02773, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!33 &1979093113
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1979093110}
|
||||
m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!4 &1979093114
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1979093110}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -0.7567266, y: 1, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1979093115
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1979093110}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e65ac38766cf16646ac69b142fd7540c, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
dragTargetButton: 0
|
||||
--- !u!1001 &1191689905575555449
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 2823787777299435728, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: TuringUIRoot
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 5925789499923357028, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_Enabled
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6541928711621635503, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 2e782d7cb70e31f4aa2f1ca034e229c5, type: 3}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 940455325}
|
||||
- {fileID: 1530345575}
|
||||
- {fileID: 1979093114}
|
||||
- {fileID: 551861173}
|
||||
- {fileID: 1191689905575555449}
|
||||
@ -1,109 +0,0 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="StylusVibrationFeedback.cs" ProjectName="Turing 3D Core">
|
||||
// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved.
|
||||
// </copyright>
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
using Turing.Core.Utility;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
|
||||
namespace Turing.Samples
|
||||
{
|
||||
// public class StylusVibrationFeedback : MonoBehaviour,
|
||||
// IPointerEnterHandler, IPointerExitHandler
|
||||
// {
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // Inspector Fields
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// public VibrationTypeEnum VibrationType;
|
||||
// public float VibrationIntensity;
|
||||
//
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // Enumerators
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// public enum VibrationTypeEnum
|
||||
// {
|
||||
// Constant,
|
||||
// FastPulse,
|
||||
// MediumPulse,
|
||||
// SlowPulse
|
||||
// }
|
||||
//
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // MonoBehaviour Callbacks
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// private void Start()
|
||||
// {
|
||||
// if (TuringProvider.IsInitialized)
|
||||
// {
|
||||
// // this._stylusTarget = TuringProvider.StylusTarget;
|
||||
// this._stylusTarget.IsVibrationEnabled = true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Debug.LogWarning("ZProvider can not initialize.\n Stylus" +
|
||||
// "vibration and LED light feedback will not be experienced.");
|
||||
//
|
||||
// Destroy(this);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // Public Methods
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// public void OnPointerEnter(PointerEventData eventData)
|
||||
// {
|
||||
// this.Vibrate();
|
||||
// }
|
||||
//
|
||||
// public void OnPointerExit(PointerEventData eventData)
|
||||
// {
|
||||
// this._stylusTarget.StopVibration();
|
||||
// }
|
||||
//
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // Private Methods
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// private void Vibrate()
|
||||
// {
|
||||
// switch (this.VibrationType)
|
||||
// {
|
||||
// case StylusVibrationFeedback.VibrationTypeEnum.Constant:
|
||||
// this._stylusTarget.StartVibration(
|
||||
// 1.0f, 0.0f, 100, this.VibrationIntensity);
|
||||
// break;
|
||||
//
|
||||
// case StylusVibrationFeedback.VibrationTypeEnum.FastPulse:
|
||||
// this._stylusTarget.StartVibration(
|
||||
// 0.1f, 0.1f, 100, this.VibrationIntensity);
|
||||
// break;
|
||||
//
|
||||
// case StylusVibrationFeedback.VibrationTypeEnum.MediumPulse:
|
||||
// this._stylusTarget.StartVibration(
|
||||
// 0.3f, 0.3f, 100, this.VibrationIntensity);
|
||||
// break;
|
||||
//
|
||||
// case StylusVibrationFeedback.VibrationTypeEnum.SlowPulse:
|
||||
// this._stylusTarget.StartVibration(
|
||||
// 0.6f, 0.6f, 100, this.VibrationIntensity);
|
||||
// break;
|
||||
//
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
// // Private Members
|
||||
// ////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// // private ZTarget _stylusTarget;
|
||||
// }
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71ee6d600cb7486408ec782da7d19140
|
||||
guid: 1f42a55df7ccd3e43a3805076c4ffad3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df2e337b25d2a0649b03722ffef741fc
|
||||
guid: f0c7b73a8e98e7e4d802e4a9cdf24a76
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 094ef066ccea0204c94381d289aae54a
|
||||
guid: d4e944a8ccecb1f459425f645cf53888
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4452f0e780f87f74ebd79a9f14fc5535
|
||||
guid: 4f8e450c14c468540975fe39a799bd18
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8d96716216e18c9429f51f9b62be9b4d
|
||||
guid: da375d21db2c643488e6dbe630d02773
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b81b770a5a4693d47b117a3b014a9c3a
|
||||
guid: 25a3b8d9efcdce4459352c2781b5ee3e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 79d24610ff4985241a9a9f97447414e9
|
||||
guid: 47b20c9fcafff2a4cba00ff97f0ad08a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74382b74e0ea3f04da150046b3d3106a
|
||||
guid: c4caa7306331c814eb9220d0c422983e
|
||||
ModelImporter:
|
||||
serializedVersion: 23
|
||||
fileIDToRecycleName:
|
||||
@ -1315,8 +1315,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &540998337
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2398,7 +2396,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 4.01
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2588,7 +2586,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 053bdd518bc177d44a08336ff25e3412, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
sceneIndex: 0
|
||||
--- !u!1 &1173208205
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2652,7 +2649,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 4.01
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -3546,6 +3543,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 1134884185}
|
||||
rightCamera: {fileID: 1173208207}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -3558,24 +3558,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 2029899703}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &1648037291
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -3623,7 +3608,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 4.01
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -3812,10 +3797,7 @@ MonoBehaviour:
|
||||
m_Text: 'Press Key A/S Change Camera Field Of View.Press Key Q/W Change Sample
|
||||
Scene.
|
||||
|
||||
Press keypad +/- Change camera near clip.Press P Capture ScreenShot.
|
||||
|
||||
On
|
||||
debug mode:Press Z change eye tracking.Press Ctrl+G inverse left right.'
|
||||
Press keypad +/- Change camera near clip.'
|
||||
--- !u!222 &1685866092
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
File diff suppressed because it is too large
Load Diff
@ -262,7 +262,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1150,7 +1150,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1303,6 +1303,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 836871355}
|
||||
rightCamera: {fileID: 265073021}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -1315,24 +1318,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 1474024830}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &949549024
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1380,7 +1368,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2191,8 +2179,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1737764537
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -262,7 +262,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -345,7 +345,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -602,6 +602,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -614,24 +617,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -679,7 +667,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1734,8 +1722,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!222 &221963337280905155
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -433,7 +433,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -516,7 +516,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -726,6 +726,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -738,24 +741,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -803,7 +791,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1914,8 +1902,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!224 &212524258530231220
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -669,7 +669,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -752,7 +752,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1265,6 +1265,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -1277,24 +1280,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1342,7 +1330,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -3465,8 +3453,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2116526160
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -547,7 +547,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -630,7 +630,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -874,6 +874,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -886,24 +889,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -951,7 +939,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2357,8 +2345,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1791594958388889549
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -475,7 +475,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -558,7 +558,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -802,6 +802,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -814,24 +817,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -879,7 +867,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2763,8 +2751,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1823722442980678047
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -336,7 +336,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -419,7 +419,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -751,6 +751,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -763,24 +766,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -828,7 +816,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2007,8 +1995,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1678294399499447456
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -186,7 +186,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -269,7 +269,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -872,6 +872,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 345097447}
|
||||
rightCamera: {fileID: 335536147}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -884,24 +887,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 493324516}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!4 &890265149
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -949,7 +937,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.15
|
||||
near clip plane: 3
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -2115,8 +2103,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1167437887970375271
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -536,7 +536,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -586,8 +586,6 @@ MonoBehaviour:
|
||||
m_Script: {fileID: 11500000, guid: 7ed4f620e95c4d343bb3f09008eb64e6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PointOffet: {x: 0, y: 0, z: 0}
|
||||
m_hatOffset: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1104754054
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1084,7 +1082,7 @@ Camera:
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1135,6 +1133,9 @@ MonoBehaviour:
|
||||
monoToStereoDuration: 1
|
||||
leftCamera: {fileID: 619871688}
|
||||
rightCamera: {fileID: 2064087744}
|
||||
cameraMaskLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
debugMode: 0
|
||||
showGizmos: 1
|
||||
viewDistance: 0.5
|
||||
@ -1147,24 +1148,9 @@ MonoBehaviour:
|
||||
useStereobasis: 1
|
||||
ignoreHeadRotation: 1
|
||||
trueScreenSize: 0
|
||||
VirtualScreenWidth: 20
|
||||
FrustumSyncEnable: 1
|
||||
NearClamp: 0.4
|
||||
ExitBypass2DSwitch: 0
|
||||
ClearScreenWhileSwitch: 0
|
||||
GrayScreenColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
ScriptsToCopy: []
|
||||
curHeadMoveCompensationParam: 0.5
|
||||
StereoRigs: {fileID: 1335456486}
|
||||
HoldBeforeSwitch3DOn: 0
|
||||
screenCapType: 0
|
||||
_antiAliasing: 1
|
||||
SmoothedHeadTilt: 0
|
||||
NoneSmoothedHeadTilt: 0
|
||||
eyeTrackingMethod: 1
|
||||
usedShader: 10
|
||||
trackingDevice: 2
|
||||
EyeTrackingSwitch: 0
|
||||
NearClamp: 0.2
|
||||
isZ3D: 0
|
||||
isLR3D: 0
|
||||
--- !u!81 &1529030710
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1683,7 +1669,7 @@ Camera:
|
||||
y: 0
|
||||
width: 0.5
|
||||
height: 1
|
||||
near clip plane: 0.1
|
||||
near clip plane: 2
|
||||
far clip plane: 1000
|
||||
field of view: 30
|
||||
orthographic: 0
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: be1e7298d21476a4c81c51bf2f451cbb
|
||||
guid: 4c391f383b4a8c8448efa4bb85e11f76
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c9a3d1d14a3e12c42b2f18530dc97f59
|
||||
guid: df28229448a1ca742854edcb2b8c9a27
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -6,7 +6,6 @@
|
||||
|
||||
using Turing.Core.EventSystems;
|
||||
using Turing.Core.TuringInput;
|
||||
using Turing.Core.Utility;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
@ -18,7 +17,7 @@ namespace Turing.Samples
|
||||
{
|
||||
[Tooltip("Change Drag Button")]
|
||||
public PointerEventData.InputButton dragTargetButton = PointerEventData.InputButton.Left;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Private Members
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@ -26,13 +25,7 @@ namespace Turing.Samples
|
||||
private Vector3 _initialGrabOffset = Vector3.zero;
|
||||
private Quaternion _initialGrabRotation = Quaternion.identity;
|
||||
private bool _isKinematic = false;
|
||||
|
||||
private Transform originParent;
|
||||
|
||||
private Transform grab;
|
||||
private Transform grabRotate;
|
||||
|
||||
private float distance;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Public Methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
@ -68,39 +61,16 @@ namespace Turing.Samples
|
||||
|
||||
if (pointerEventData.button == dragTargetButton)
|
||||
{
|
||||
if (pointerEventData.Pointer is TuringStylus)
|
||||
{
|
||||
Pose pose = pointerEventData.Pointer.EndPointWorldPose;
|
||||
this._initialGrabOffset =
|
||||
Quaternion.Inverse(this.transform.rotation) *
|
||||
(this.transform.position - pose.position);
|
||||
// this._initialGrabRotation = this.transform.localRotation;
|
||||
grab = new GameObject("Grab").GetComponent<Transform>();
|
||||
grabRotate = new GameObject("GrabRotate").GetComponent<Transform>();
|
||||
grabRotate.position = pose.position;
|
||||
grabRotate.rotation *= TuringProvider.CurrentFrame.DisplayAligner.transform.rotation;
|
||||
grab.position = pose.position;
|
||||
originParent = transform.parent;
|
||||
grab.LookAt(pointerEventData.Pointer.transform);
|
||||
distance = Vector3.Distance(grab.position, pointerEventData.Pointer.transform.position);
|
||||
transform.SetParent(grabRotate);
|
||||
grabRotate.SetParent(grab);
|
||||
this._initialGrabRotation = grabRotate.localRotation;
|
||||
}
|
||||
else
|
||||
{
|
||||
Pose pose = pointerEventData.Pointer.EndPointWorldPose;
|
||||
Pose pose = pointerEventData.Pointer.EndPointWorldPose;
|
||||
|
||||
// Cache the initial grab state.
|
||||
this._initialGrabOffset =
|
||||
Quaternion.Inverse(this.transform.rotation) *
|
||||
(this.transform.position - pose.position);
|
||||
|
||||
this._initialGrabRotation =
|
||||
Quaternion.Inverse(pose.rotation) *
|
||||
this.transform.rotation;
|
||||
}
|
||||
// Cache the initial grab state.
|
||||
this._initialGrabOffset =
|
||||
Quaternion.Inverse(this.transform.rotation) *
|
||||
(this.transform.position - pose.position);
|
||||
|
||||
this._initialGrabRotation =
|
||||
Quaternion.Inverse(pose.rotation) *
|
||||
this.transform.rotation;
|
||||
|
||||
// If the grabbable object has a rigidbody component,
|
||||
// mark it as kinematic during the grab.
|
||||
@ -128,21 +98,9 @@ namespace Turing.Samples
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (pointerEventData.button == dragTargetButton)
|
||||
{
|
||||
if (pointerEventData.Pointer is TuringStylus)
|
||||
{
|
||||
TuringStylus stylus = (TuringStylus)pointerEventData.Pointer;
|
||||
grabRotate.localRotation = _initialGrabRotation * Quaternion.Euler(stylus.StylueEulerAngle);
|
||||
// Debug.Log("------------"+_initialGrabRotation.eulerAngles+" "+stylus.StylueEulerAngle);
|
||||
grab.transform.position = pointerEventData.Pointer.transform.position + (stylus._target.Points[0] - stylus._target.Points[1]).normalized * distance;
|
||||
grab.LookAt(pointerEventData.Pointer.transform);
|
||||
}
|
||||
else
|
||||
{
|
||||
HandleLeftDrag(pointerEventData);
|
||||
}
|
||||
HandleLeftDrag(pointerEventData);
|
||||
}
|
||||
}
|
||||
|
||||
@ -156,10 +114,10 @@ namespace Turing.Samples
|
||||
|
||||
// Update the grab object's position.
|
||||
this.transform.position =
|
||||
pose.position +
|
||||
pose.position +
|
||||
(this.transform.rotation * this._initialGrabOffset);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public virtual void OnEndDrag(PointerEventData eventData)
|
||||
{
|
||||
@ -170,24 +128,6 @@ namespace Turing.Samples
|
||||
return;
|
||||
}
|
||||
|
||||
Debug.Log("EndDrag");
|
||||
|
||||
if (pointerEventData.Pointer is TuringStylus)
|
||||
{
|
||||
// Pose pose = pointerEventData.Pointer.EndPointWorldPose;
|
||||
// this._initialGrabOffset =
|
||||
// Quaternion.Inverse(this.transform.rotation) *
|
||||
// (this.transform.position - pose.position);
|
||||
// grab = new GameObject("Grab").GetComponent<Transform>();
|
||||
// grab.transform.position = pose.position;
|
||||
// originParent = transform.parent;
|
||||
// grab.LookAt(pointerEventData.Pointer.transform);
|
||||
// transform.SetParent(grab);
|
||||
transform.SetParent(originParent);
|
||||
Destroy(grab.gameObject);
|
||||
Destroy(grabRotate.gameObject);
|
||||
}
|
||||
|
||||
// Release the pointer.
|
||||
pointerEventData.Pointer.CapturePointer(null);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e65ac38766cf16646ac69b142fd7540c
|
||||
guid: a81babe27d53fb14988805b547e10aa6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c3016650b860aa4795acecbb255b542
|
||||
guid: b49620eca939e7c48a9b100b6e6b4004
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca24579d8155c3e4ebb4075ae7470406
|
||||
guid: 98accf12d9a0c1743a00e95a664c15fd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88e107cbb7b4ddb44b9b0a572cacdc2b
|
||||
guid: 6c33dc21b63d51b4ebd673ecfc8b4004
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 728292c6fd7862840a5259774cc3578a
|
||||
guid: 4ca7b6943c5a91b44862856281b6b37b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b78b45b13b665d24d8b06ef9e872d1e6
|
||||
guid: d23bfb46879813342ba81cf141c2dfe0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44356574a21e44f4d9e0f3a536a56784
|
||||
guid: 90b64dc1b59d8d24884e69225a414a27
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -80,33 +80,7 @@ namespace Turing.Samples
|
||||
{
|
||||
turingCamera.NearClipPlaneAdj = -0.05f * turingCamera.NearClamp / 10;
|
||||
}
|
||||
|
||||
//
|
||||
if (Input.GetKeyDown(KeyCode.P))
|
||||
{
|
||||
turingCamera.screenCapType = 1;
|
||||
turingCamera.Camera.Render();
|
||||
}
|
||||
|
||||
//
|
||||
if (TuringCamera.enableDebugging)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Z))
|
||||
{
|
||||
turingCamera.EyeTrackingSwitch = !turingCamera.EyeTrackingSwitch;
|
||||
turingCamera.SetEyeTrackingEnable(!turingCamera.EyeTrackingSwitch);
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.T))
|
||||
{
|
||||
turingCamera.ForceSwitchScreenWeaving();
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.G) && Input.GetKey(KeyCode.LeftControl))
|
||||
{
|
||||
turingCamera.LRInterleaveSwitch();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void LoadScene(GameObject button)
|
||||
@ -31,17 +31,14 @@ namespace Turing.Samples
|
||||
// this._stylusTarget = TuringProvider.StylusTarget;
|
||||
|
||||
if (TuringProvider.DisplaySize !=
|
||||
TuringDisplay.GetSize(TuringDisplay.Profile.Size24InchAspect16x9))
|
||||
TuringDisplay.GetSize(TuringDisplay.Profile.Size27UHD))
|
||||
{
|
||||
Debug.LogWarning("AIO model hardware not detected.\n " +
|
||||
"Stylus vibration and LED light feedback will not " +
|
||||
"be experienced.");
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning("ZProvider can not initialize.\n Stylus" +
|
||||
"LED light feedback will not be experienced.");
|
||||
|
||||
|
||||
Destroy(this);
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9525aca3a6defad46b42758ef7551f36
|
||||
guid: 92c0f098b387aa04d8b79b4ec4d8a186
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -0,0 +1,110 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// <copyright file="StylusVibrationFeedback.cs" ProjectName="Turing 3D Core">
|
||||
// Copyright (c) Beijing HiteVision Turing Intelligent Technology Co.,Ltd. All rights reserved.
|
||||
// </copyright>
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
using Turing.Core.TuringInput;
|
||||
using Turing.Core.Utility;
|
||||
using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
|
||||
namespace Turing.Samples
|
||||
{
|
||||
public class StylusVibrationFeedback : MonoBehaviour,
|
||||
IPointerEnterHandler, IPointerExitHandler
|
||||
{
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Inspector Fields
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public VibrationTypeEnum VibrationType;
|
||||
public float VibrationIntensity;
|
||||
|
||||
private TuringTarget _stylusTarget;
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Enumerators
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public enum VibrationTypeEnum
|
||||
{
|
||||
Constant,
|
||||
FastPulse,
|
||||
MediumPulse,
|
||||
SlowPulse
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// MonoBehaviour Callbacks
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
private void Start()
|
||||
{
|
||||
if (TuringProvider.IsInitialized)
|
||||
{
|
||||
// this._stylusTarget = TuringProvider.StylusTarget;
|
||||
this._stylusTarget.IsVibrationEnabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning("TuringProvider can not initialize.\n Stylus" +
|
||||
"vibration and LED light feedback will not be experienced.");
|
||||
|
||||
Destroy(this);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Public Methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public void OnPointerEnter(PointerEventData eventData)
|
||||
{
|
||||
this.Vibrate();
|
||||
}
|
||||
|
||||
public void OnPointerExit(PointerEventData eventData)
|
||||
{
|
||||
this._stylusTarget.StopVibration();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Private Methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
private void Vibrate()
|
||||
{
|
||||
switch (this.VibrationType)
|
||||
{
|
||||
case StylusVibrationFeedback.VibrationTypeEnum.Constant:
|
||||
this._stylusTarget.StopVibration();
|
||||
break;
|
||||
|
||||
case StylusVibrationFeedback.VibrationTypeEnum.FastPulse:
|
||||
this._stylusTarget.StartVibration(
|
||||
Core.TuringInput.VibrationIntensity.high, 0.2f);
|
||||
break;
|
||||
|
||||
case StylusVibrationFeedback.VibrationTypeEnum.MediumPulse:
|
||||
this._stylusTarget.StartVibration(
|
||||
Core.TuringInput.VibrationIntensity.middle, 0.2f);
|
||||
break;
|
||||
|
||||
case StylusVibrationFeedback.VibrationTypeEnum.SlowPulse:
|
||||
this._stylusTarget.StartVibration(
|
||||
Core.TuringInput.VibrationIntensity.low,0.2f);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Private Members
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// private ZTarget _stylusTarget;
|
||||
}
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f2ecd5afd92e6e4d967a57d1fe1b360
|
||||
guid: 54f5e7bf3e556234caefc3e66c34da40
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -3,6 +3,7 @@ using QFramework.Example;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Turing.Core.TuringInput;
|
||||
using Turing.Samples;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
@ -26,11 +27,54 @@ public class Body3DObjItem : MonoBehaviour
|
||||
TypeEventSystem.Global.Register<OnChangeMat>(OnChangeMatEvent).UnRegisterWhenGameObjectDestroyed(this);
|
||||
#if VR
|
||||
#if Turing
|
||||
gameObject.GetOrAddComponent<Draggable>();
|
||||
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnButtonPressed.AddListener(OnButtonPressed);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnButtonReleased.AddListener(OnButtonReleased);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnObjectEntered.AddListener(OnEnter);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnObjectExited.AddListener(OnExit);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnButtonPressed.AddListener(OnButtonPressed);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnButtonReleased.AddListener(OnButtonReleased);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnObjectEntered.AddListener(OnEnter);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnObjectExited.AddListener(OnExit);
|
||||
|
||||
gameObject.GetOrAddComponent<TuringDraggableEx>();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
#if Turing
|
||||
bool isEnter = false;
|
||||
private void OnExit(TuringPointer arg0, GameObject arg1)
|
||||
{
|
||||
if (arg1 == gameObject)
|
||||
{
|
||||
isEnter = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnEnter(TuringPointer arg0, GameObject arg1)
|
||||
{
|
||||
if (arg1 == gameObject)
|
||||
{
|
||||
isEnter = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnButtonReleased(TuringPointer arg0, int arg1)
|
||||
{
|
||||
if (arg1 == 0 && isEnter)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private void OnButtonPressed(TuringPointer arg0, int arg1)
|
||||
{
|
||||
if (arg1 == 0 && isEnter)
|
||||
{
|
||||
OnMouseDown();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
private void OnChangeMatEvent(OnChangeMat t)
|
||||
{
|
||||
|
||||
|
||||
@ -2,6 +2,7 @@ using QFramework;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Turing.Core.TuringInput;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
@ -16,7 +17,52 @@ public class ObjectToggle : MonoBehaviour
|
||||
private void Awake()
|
||||
{
|
||||
TypeEventSystem.Global.Register<OnLock>(OnLockEvent).UnRegisterWhenDisabled(this);
|
||||
|
||||
#if Turing
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnButtonPressed.AddListener(OnButtonPressed);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnButtonReleased.AddListener(OnButtonReleased);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnObjectEntered.AddListener(OnEnter);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<TuringStylus>().OnObjectExited.AddListener(OnExit);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnButtonPressed.AddListener(OnButtonPressed);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnButtonReleased.AddListener(OnButtonReleased);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnObjectEntered.AddListener(OnEnter);
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<TuringMouse>().OnObjectExited.AddListener(OnExit);
|
||||
#endif
|
||||
}
|
||||
#if Turing
|
||||
bool isEnter = false;
|
||||
private void OnExit(TuringPointer arg0, GameObject arg1)
|
||||
{
|
||||
if (arg1 == gameObject)
|
||||
{
|
||||
isEnter = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnEnter(TuringPointer arg0, GameObject arg1)
|
||||
{
|
||||
if (arg1 == gameObject)
|
||||
{
|
||||
isEnter = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void OnButtonReleased(TuringPointer arg0, int arg1)
|
||||
{
|
||||
if (arg1 == 0 && isEnter)
|
||||
{
|
||||
OnMouseUp();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnButtonPressed(TuringPointer arg0, int arg1)
|
||||
{
|
||||
if (arg1 == 0 && isEnter)
|
||||
{
|
||||
OnMouseDown();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
private void OnLockEvent(OnLock islock)
|
||||
{
|
||||
|
||||
@ -10,7 +10,7 @@ using DG.Tweening;
|
||||
public class TuringDraggableEx : Draggable, IObjDrag
|
||||
{
|
||||
bool isOn = false;
|
||||
UnityEvent<GameObject> OnDragEnd;
|
||||
UnityEvent<GameObject> OnDragEnd;
|
||||
bool IObjDrag.isOn { get => isOn; set => isOn = value; }
|
||||
|
||||
Vector3 beginPos;
|
||||
@ -30,6 +30,7 @@ public class TuringDraggableEx : Draggable, IObjDrag
|
||||
Vector3 startPosition;
|
||||
private void Start()
|
||||
{
|
||||
isOn = false;
|
||||
startPosition = gameObject.transform.position;
|
||||
}
|
||||
public override void OnBeginDrag(PointerEventData eventData)
|
||||
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bf0c5616c5204c148a7021b627412be1
|
||||
guid: d7eeeb7757eea9b46b9b28508f76bb60
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"com.turing.3dcore": "file:../SDK/com.turing.3dcore-1.0.0.0.tgz",
|
||||
"com.turing.3dcore": "file:C:/Users/Admin/Downloads/com.turing.3dcore-1.0.1.3.tgz",
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.tilemap": "1.0.0",
|
||||
"com.unity.collab-proxy": "2.2.0",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"com.turing.3dcore": {
|
||||
"version": "file:../SDK/com.turing.3dcore-1.0.0.0.tgz",
|
||||
"version": "file:C:/Users/Admin/Downloads/com.turing.3dcore-1.0.1.3.tgz",
|
||||
"depth": 0,
|
||||
"source": "local-tarball",
|
||||
"dependencies": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user