remove SteamVR
This commit is contained in:
parent
1acdf7ecea
commit
16ee791407
1494 changed files with 301 additions and 261197 deletions
|
@ -1,9 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ContentModelStore">
|
<component name="ContentModelStore">
|
||||||
<e p="C:\Users\Cylvester\.Rider2019.2\system\extResources" t="IncludeRecursive" />
|
<e p="C:\Users\chikashi\.Rider2019.2\system\extResources" t="IncludeRecursive" />
|
||||||
<e p="C:\Users\Cylvester\.Rider2019.2\system\resharper-host\local\Transient\ReSharperHost\v192\SolutionCaches\_UnityProject.442702191.00" t="ExcludeRecursive" />
|
<e p="C:\Users\chikashi\.Rider2019.2\system\resharper-host\local\Transient\ReSharperHost\v192\SolutionCaches\_UnityProject.1346624737.00" t="ExcludeRecursive" />
|
||||||
<e p="D:\SoundVision_Repo\Soundvision\UnityProject" t="IncludeRecursive">
|
<e p="C:\Users\chikashi\Development\Soundvision\UnityProject" t="IncludeRecursive">
|
||||||
<e p="Assembly-CSharp-Editor.csproj" t="IncludeRecursive" />
|
<e p="Assembly-CSharp-Editor.csproj" t="IncludeRecursive" />
|
||||||
<e p="Assembly-CSharp.csproj" t="IncludeRecursive" />
|
<e p="Assembly-CSharp.csproj" t="IncludeRecursive" />
|
||||||
<e p="Assets" t="Include">
|
<e p="Assets" t="Include">
|
||||||
|
@ -23,24 +23,6 @@
|
||||||
<e p="UnitTest_SpectrumGeneratorPlayMode.cs" t="Include" />
|
<e p="UnitTest_SpectrumGeneratorPlayMode.cs" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
</e>
|
</e>
|
||||||
<e p="MaxP" t="Include">
|
|
||||||
<e p="Shaders" t="Include">
|
|
||||||
<e p="_Source" t="Include">
|
|
||||||
<e p="Shaders" t="Include">
|
|
||||||
<e p="Resources" t="Include">
|
|
||||||
<e p="Blur.shader" t="Include" />
|
|
||||||
<e p="DirtyLensFlare.shader" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="DirtyLensFlare.cs" t="Include" />
|
|
||||||
<e p="Editor" t="Include">
|
|
||||||
<e p="DirtyLensFlareEditor.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="Resources" t="Include">
|
<e p="Resources" t="Include">
|
||||||
<e p="buildNumber.txt" t="Include" />
|
<e p="buildNumber.txt" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
|
@ -77,6 +59,11 @@
|
||||||
<e p="Texture" t="Include">
|
<e p="Texture" t="Include">
|
||||||
<e p="TextureMapper.cs" t="Include" />
|
<e p="TextureMapper.cs" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
|
<e p="TimbreID" t="Include">
|
||||||
|
<e p="script" t="Include">
|
||||||
|
<e p="idtotext.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
<e p="VisualEffectGraph" t="Include">
|
<e p="VisualEffectGraph" t="Include">
|
||||||
<e p="script" t="Include">
|
<e p="script" t="Include">
|
||||||
<e p="FlareBind.cs" t="Include" />
|
<e p="FlareBind.cs" t="Include" />
|
||||||
|
@ -109,6 +96,7 @@
|
||||||
<e p="PdReceiver.cs" t="Include" />
|
<e p="PdReceiver.cs" t="Include" />
|
||||||
<e p="PdSender.cs" t="Include" />
|
<e p="PdSender.cs" t="Include" />
|
||||||
<e p="PdSpectrumBind.cs" t="Include" />
|
<e p="PdSpectrumBind.cs" t="Include" />
|
||||||
|
<e p="PdTimbreIdBind.cs" t="Include" />
|
||||||
<e p="Spectrogram.cs" t="Include" />
|
<e p="Spectrogram.cs" t="Include" />
|
||||||
<e p="SpectrumGeneratorPlayMode.cs" t="Include" />
|
<e p="SpectrumGeneratorPlayMode.cs" t="Include" />
|
||||||
<e p="Waveform.cs" t="Include" />
|
<e p="Waveform.cs" t="Include" />
|
||||||
|
@ -153,175 +141,6 @@
|
||||||
<e p="ReadMe.txt" t="Include" />
|
<e p="ReadMe.txt" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
</e>
|
</e>
|
||||||
<e p="AzureKinectExamples" t="Include">
|
|
||||||
<e p="_Readme" t="Include">
|
|
||||||
<e p="致盗版使用者-ToPiracyUsers.txt" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="KinectDemos" t="Include">
|
|
||||||
<e p="AvatarDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="CameraPitchCorrector.cs" t="Include" />
|
|
||||||
<e p="OffsetNodeMover.cs" t="Include" />
|
|
||||||
<e p="UserAvatarMatcher.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="BackgroundRemovalDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="ColorImageJointOverlayer.cs" t="Include" />
|
|
||||||
<e p="UserImageMover.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="BlobDetectionDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="Blob.cs" t="Include" />
|
|
||||||
<e p="BlobDetector.cs" t="Include" />
|
|
||||||
<e p="CollisionLogger.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="ColliderDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="BallMover.cs" t="Include" />
|
|
||||||
<e p="BallSpawner.cs" t="Include" />
|
|
||||||
<e p="DepthImageViewer.cs" t="Include" />
|
|
||||||
<e p="DepthSpriteViewer.cs" t="Include" />
|
|
||||||
<e p="EggMover.cs" t="Include" />
|
|
||||||
<e p="EggSpawner.cs" t="Include" />
|
|
||||||
<e p="HandColorOverlayer.cs" t="Include" />
|
|
||||||
<e p="JumpTrigger.cs" t="Include" />
|
|
||||||
<e p="SkeletonCollider.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="FittingRoomDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="CategorySelector.cs" t="Include" />
|
|
||||||
<e p="ModelSelector.cs" t="Include" />
|
|
||||||
<e p="UserBodyBlender.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="GestureDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="CubeGestureListener.cs" t="Include" />
|
|
||||||
<e p="CubePresentationScript.cs" t="Include" />
|
|
||||||
<e p="ModelGestureListener.cs" t="Include" />
|
|
||||||
<e p="ModelPresentationScript.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="MocapAnimatorDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="MocapPlayer.cs" t="Include" />
|
|
||||||
<e p="MocapRecorder.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="OverlayDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="JointOverlayer.cs" t="Include" />
|
|
||||||
<e p="SkeletonOverlayer.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="PointCloudDemo" t="Include">
|
|
||||||
<e p="Attribution.txt" t="Include" />
|
|
||||||
<e p="VFX" t="Include">
|
|
||||||
<e p="DownloadMoreVFX.txt" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="PoseDetectionDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="StaticPoseDetector.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="RecorderDemo" t="Include">
|
|
||||||
<e p="Scripts" t="Include">
|
|
||||||
<e p="BodyDataPlayerController.cs" t="Include" />
|
|
||||||
<e p="PlayerDetectorController.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="KinectScripts" t="Include">
|
|
||||||
<e p="AvatarController.cs" t="Include" />
|
|
||||||
<e p="AvatarControllerClassic.cs" t="Include" />
|
|
||||||
<e p="AvatarScaler.cs" t="Include" />
|
|
||||||
<e p="BackgroundColorImage.cs" t="Include" />
|
|
||||||
<e p="BackgroundDepthImage.cs" t="Include" />
|
|
||||||
<e p="BackgroundInfraredImage.cs" t="Include" />
|
|
||||||
<e p="BackgroundRemovalByDist.cs" t="Include" />
|
|
||||||
<e p="BackgroundRemovalManager.cs" t="Include" />
|
|
||||||
<e p="BackgroundUserBodyImage.cs" t="Include" />
|
|
||||||
<e p="BodyDataRecorderPlayer.cs" t="Include" />
|
|
||||||
<e p="CubemanController.cs" t="Include" />
|
|
||||||
<e p="Filters" t="Include">
|
|
||||||
<e p="BoneOrientationConstraints.cs" t="Include" />
|
|
||||||
<e p="MahonyAHRS.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="FollowSensorTransform.cs" t="Include" />
|
|
||||||
<e p="ForegroundToRawImage.cs" t="Include" />
|
|
||||||
<e p="ForegroundToRenderer.cs" t="Include" />
|
|
||||||
<e p="Interfaces" t="Include">
|
|
||||||
<e p="DepthSensorBase.cs" t="Include" />
|
|
||||||
<e p="DepthSensorInterface.cs" t="Include" />
|
|
||||||
<e p="DummyK2Interface.cs" t="Include" />
|
|
||||||
<e p="Kinect2Interface.cs" t="Include" />
|
|
||||||
<e p="Kinect4AzureInterface.cs" t="Include" />
|
|
||||||
<e p="RealSenseInterface.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="KinectGestureManager.cs" t="Include" />
|
|
||||||
<e p="KinectInterop.cs" t="Include" />
|
|
||||||
<e p="KinectManager.cs" t="Include" />
|
|
||||||
<e p="KinectUserManager.cs" t="Include" />
|
|
||||||
<e p="MultiScene" t="Include">
|
|
||||||
<e p="LoadFirstLevel.cs" t="Include" />
|
|
||||||
<e p="LoadLevelWithDelay.cs" t="Include" />
|
|
||||||
<e p="RefreshGestureListeners.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="PhotoShooter.cs" t="Include" />
|
|
||||||
<e p="PortraitBackground.cs" t="Include" />
|
|
||||||
<e p="PoseModelHelper.cs" t="Include" />
|
|
||||||
<e p="PoseModelHelperClassic.cs" t="Include" />
|
|
||||||
<e p="Samples" t="Include">
|
|
||||||
<e p="JointOrientationView.cs" t="Include" />
|
|
||||||
<e p="JointPositionView.cs" t="Include" />
|
|
||||||
<e p="SimpleGestureListener.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="SceneMeshRenderer.cs" t="Include" />
|
|
||||||
<e p="SceneMeshRendererGpu.cs" t="Include" />
|
|
||||||
<e p="UserMeshRenderer.cs" t="Include" />
|
|
||||||
<e p="UserMeshRendererGpu.cs" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="Resources" t="Include">
|
|
||||||
<e p="BackgroundRenderShader.shader" t="Include" />
|
|
||||||
<e p="BlurShader.shader" t="Include" />
|
|
||||||
<e p="ColorDepthShaderK2.compute" t="Include" />
|
|
||||||
<e p="DepthHistImageShader.shader" t="Include" />
|
|
||||||
<e p="DepthTexShader.shader" t="Include" />
|
|
||||||
<e p="DilateShader.shader" t="Include" />
|
|
||||||
<e p="ErodeShader.shader" t="Include" />
|
|
||||||
<e p="ForegroundFiltBodyShader.compute" t="Include" />
|
|
||||||
<e p="ForegroundFiltDistShader.compute" t="Include" />
|
|
||||||
<e p="ForegroundShader.shader" t="Include" />
|
|
||||||
<e p="GradientShader.shader" t="Include" />
|
|
||||||
<e p="InfraredImageShader.shader" t="Include" />
|
|
||||||
<e p="InvertShader.shader" t="Include" />
|
|
||||||
<e p="MedianShader.shader" t="Include" />
|
|
||||||
<e p="PointCloudColorShaderK2.compute" t="Include" />
|
|
||||||
<e p="PointCloudVertexShaderAll.compute" t="Include" />
|
|
||||||
<e p="PointCloudVertexShaderCRK2.compute" t="Include" />
|
|
||||||
<e p="SceneMeshShader.shader" t="Include" />
|
|
||||||
<e p="UserBlendShader.shader" t="Include" />
|
|
||||||
<e p="UserBodyImageShader.shader" t="Include" />
|
|
||||||
<e p="UserHistImageShader.shader" t="Include" />
|
|
||||||
<e p="UserMeshShader.shader" t="Include" />
|
|
||||||
</e>
|
|
||||||
<e p="SDK" t="Include">
|
|
||||||
<e p="Kinect4AzureSDK" t="Include">
|
|
||||||
<e p="AzureKinectSDK_License.txt" t="Include" />
|
|
||||||
<e p="Resources" t="Include">
|
|
||||||
<e p="k4a-resources.txt" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="RealSenseSDK2.0" t="Include">
|
|
||||||
<e p="RealSenseSDK_License.txt" t="Include" />
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
</e>
|
|
||||||
<e p="Editor" t="Include">
|
<e p="Editor" t="Include">
|
||||||
<e p="KinectCopyPluginDataHelper.cs" t="Include" />
|
<e p="KinectCopyPluginDataHelper.cs" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
|
@ -352,6 +171,291 @@
|
||||||
<e p="MultiSourceManager.cs" t="Include" />
|
<e p="MultiSourceManager.cs" t="Include" />
|
||||||
</e>
|
</e>
|
||||||
</e>
|
</e>
|
||||||
|
<e p="SteamVR" t="Include">
|
||||||
|
<e p="Editor" t="Include">
|
||||||
|
<e p="SteamVR_AutoEnableVR.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Editor.asmdef" t="Include" />
|
||||||
|
<e p="SteamVR_Editor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Preferences.cs" t="Include" />
|
||||||
|
<e p="SteamVR_RenderModelEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_SkyboxEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_UnitySettingsWindow.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Update.cs" t="Include" />
|
||||||
|
<e p="SteamVR_UpdateModeEditor.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Extras" t="Include">
|
||||||
|
<e p="SteamVR_ForceSteamVRMode.cs" t="Include" />
|
||||||
|
<e p="SteamVR_GazeTracker.cs" t="Include" />
|
||||||
|
<e p="SteamVR_LaserPointer.cs" t="Include" />
|
||||||
|
<e p="SteamVR_TestThrow.cs" t="Include" />
|
||||||
|
<e p="SteamVR_TestTrackedCamera.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Input" t="Include">
|
||||||
|
<e p="BehaviourUnityEvents" t="Include">
|
||||||
|
<e p="SteamVR_Behaviour_BooleanEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Pose_ConnectedChangedEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Pose_DeviceIndexChangedEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Pose_TrackingChangedEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_PoseEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_SingleEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Skeleton_ConnectedChangedEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Skeleton_TrackingChangedEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_SkeletonEvent.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Vector2Event.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Vector3Event.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Editor" t="Include">
|
||||||
|
<e p="SteamVR_CopyExampleInputFiles.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Boolean_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_GenericPropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_In_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Out_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Pose_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Single_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Skeleton_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Vector2_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Vector3_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Action_Vibration_PropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_ActionManifest_Manager.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_ActionSetPropertyEditor.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Editor.asmdef" t="Include" />
|
||||||
|
<e p="SteamVR_Input_EditorWindow.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Generator.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_LiveWindow.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_PostProcessBuild.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Skeleton_PoserEditor.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="SteamVR_Action.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Boolean.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_In.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Out.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Pose.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Single.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Skeleton.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Vector2.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Vector3.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Action_Vibration.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ActionDirections.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ActionSet.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ActionSet_Manager.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ActivateActionSetOnLoad.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Boolean.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Pose.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Single.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Skeleton.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_SkeletonCustom.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Vector2.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour_Vector3.cs" t="Include" />
|
||||||
|
<e p="SteamVR_DefaultAction.cs" t="Include" />
|
||||||
|
<e p="SteamVR_DefaultActionSet.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_ActionFile.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_ActionScopes.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_ActionSetUsages.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_BindingFile.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Generator_Names.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_References.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Source.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Input_Sources.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Skeleton_Pose.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Skeleton_Poser.cs" t="Include" />
|
||||||
|
<e p="SteamVR_UpdateModes.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="InteractionSystem" t="Include">
|
||||||
|
<e p="Core" t="Include">
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="BodyCollider.cs" t="Include" />
|
||||||
|
<e p="CircularDrive.cs" t="Include" />
|
||||||
|
<e p="ComplexThrowable.cs" t="Include" />
|
||||||
|
<e p="ControllerHoverHighlight.cs" t="Include" />
|
||||||
|
<e p="CustomEvents.cs" t="Include" />
|
||||||
|
<e p="DebugUI.cs" t="Include" />
|
||||||
|
<e p="DestroyOnDetachedFromHand.cs" t="Include" />
|
||||||
|
<e p="DestroyOnParticleSystemDeath.cs" t="Include" />
|
||||||
|
<e p="DestroyOnTriggerEnter.cs" t="Include" />
|
||||||
|
<e p="DistanceHaptics.cs" t="Include" />
|
||||||
|
<e p="DontDestroyOnLoad.cs" t="Include" />
|
||||||
|
<e p="EnumFlags.cs" t="Include" />
|
||||||
|
<e p="Equippable.cs" t="Include" />
|
||||||
|
<e p="FallbackCameraController.cs" t="Include" />
|
||||||
|
<e p="GrabTypes.cs" t="Include" />
|
||||||
|
<e p="Hand.cs" t="Include" />
|
||||||
|
<e p="HandCollider.cs" t="Include" />
|
||||||
|
<e p="HandPhysics.cs" t="Include" />
|
||||||
|
<e p="HapticRack.cs" t="Include" />
|
||||||
|
<e p="HideOnHandFocusLost.cs" t="Include" />
|
||||||
|
<e p="HoverButton.cs" t="Include" />
|
||||||
|
<e p="IgnoreHovering.cs" t="Include" />
|
||||||
|
<e p="InputModule.cs" t="Include" />
|
||||||
|
<e p="Interactable.cs" t="Include" />
|
||||||
|
<e p="InteractableDebug.cs" t="Include" />
|
||||||
|
<e p="InteractableHoverEvents.cs" t="Include" />
|
||||||
|
<e p="ItemPackage.cs" t="Include" />
|
||||||
|
<e p="ItemPackageReference.cs" t="Include" />
|
||||||
|
<e p="ItemPackageSpawner.cs" t="Include" />
|
||||||
|
<e p="LinearAnimation.cs" t="Include" />
|
||||||
|
<e p="LinearAnimator.cs" t="Include" />
|
||||||
|
<e p="LinearAudioPitch.cs" t="Include" />
|
||||||
|
<e p="LinearBlendshape.cs" t="Include" />
|
||||||
|
<e p="LinearDisplacement.cs" t="Include" />
|
||||||
|
<e p="LinearDrive.cs" t="Include" />
|
||||||
|
<e p="LinearMapping.cs" t="Include" />
|
||||||
|
<e p="ModalThrowable.cs" t="Include" />
|
||||||
|
<e p="Player.cs" t="Include" />
|
||||||
|
<e p="PlaySound.cs" t="Include" />
|
||||||
|
<e p="RenderModel.cs" t="Include" />
|
||||||
|
<e p="SeeThru.cs" t="Include" />
|
||||||
|
<e p="SleepOnAwake.cs" t="Include" />
|
||||||
|
<e p="SoundDeparent.cs" t="Include" />
|
||||||
|
<e p="SoundPlayOneshot.cs" t="Include" />
|
||||||
|
<e p="SpawnAndAttachAfterControllerIsTracking.cs" t="Include" />
|
||||||
|
<e p="SpawnAndAttachToHand.cs" t="Include" />
|
||||||
|
<e p="Throwable.cs" t="Include" />
|
||||||
|
<e p="UIElement.cs" t="Include" />
|
||||||
|
<e p="Unparent.cs" t="Include" />
|
||||||
|
<e p="Util.cs" t="Include" />
|
||||||
|
<e p="VelocityEstimator.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Shaders" t="Include">
|
||||||
|
<e p="SeeThru.shader" t="Include" />
|
||||||
|
<e p="Silhouette.shader" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
<e p="Hints" t="Include">
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="ControllerButtonHints.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Shaders" t="Include">
|
||||||
|
<e p="ControllerButtonHints.shader" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
<e p="Longbow" t="Include">
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="ArcheryTarget.cs" t="Include" />
|
||||||
|
<e p="Arrow.cs" t="Include" />
|
||||||
|
<e p="ArrowHand.cs" t="Include" />
|
||||||
|
<e p="ArrowheadRotation.cs" t="Include" />
|
||||||
|
<e p="Balloon.cs" t="Include" />
|
||||||
|
<e p="BalloonColliders.cs" t="Include" />
|
||||||
|
<e p="BalloonHapticBump.cs" t="Include" />
|
||||||
|
<e p="BalloonSpawner.cs" t="Include" />
|
||||||
|
<e p="ExplosionWobble.cs" t="Include" />
|
||||||
|
<e p="FireSource.cs" t="Include" />
|
||||||
|
<e p="Longbow.cs" t="Include" />
|
||||||
|
<e p="SoundBowClick.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
<e p="Samples" t="Include">
|
||||||
|
<e p="BuggyBuddy" t="Include">
|
||||||
|
<e p="Audio" t="Include">
|
||||||
|
<e p="AmbientSound.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="BuggyBuddy.cs" t="Include" />
|
||||||
|
<e p="BuggyController.cs" t="Include" />
|
||||||
|
<e p="LockToPoint.cs" t="Include" />
|
||||||
|
<e p="Materials" t="Include">
|
||||||
|
<e p="LightCone.shader" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="trackCam.cs" t="Include" />
|
||||||
|
<e p="trackObj.cs" t="Include" />
|
||||||
|
<e p="WheelDust.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Grenade" t="Include">
|
||||||
|
<e p="Grenade.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="JoeJeff" t="Include">
|
||||||
|
<e p="JoeJeff.cs" t="Include" />
|
||||||
|
<e p="JoeJeffController.cs" t="Include" />
|
||||||
|
<e p="JoeJeffGestures.cs" t="Include" />
|
||||||
|
<e p="ProceduralHats.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="ButtonEffect.cs" t="Include" />
|
||||||
|
<e p="ButtonExample.cs" t="Include" />
|
||||||
|
<e p="ControllerHintsExample.cs" t="Include" />
|
||||||
|
<e p="CustomSkeletonHelper.cs" t="Include" />
|
||||||
|
<e p="FloppyHand.cs" t="Include" />
|
||||||
|
<e p="FlowerPlanted.cs" t="Include" />
|
||||||
|
<e p="InteractableExample.cs" t="Include" />
|
||||||
|
<e p="Planting.cs" t="Include" />
|
||||||
|
<e p="RenderModelChangerUI.cs" t="Include" />
|
||||||
|
<e p="SkeletonUIOptions.cs" t="Include" />
|
||||||
|
<e p="TargetHitEffect.cs" t="Include" />
|
||||||
|
<e p="TargetMeasurement.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Squishy" t="Include">
|
||||||
|
<e p="SquishyDeform.shader" t="Include" />
|
||||||
|
<e p="SquishyToy.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
<e p="SnapTurn" t="Include">
|
||||||
|
<e p="SnapTurn.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Teleport" t="Include">
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="AllowTeleportWhileAttachedToHand.cs" t="Include" />
|
||||||
|
<e p="ChaperoneInfo.cs" t="Include" />
|
||||||
|
<e p="IgnoreTeleportTrace.cs" t="Include" />
|
||||||
|
<e p="Teleport.cs" t="Include" />
|
||||||
|
<e p="TeleportArc.cs" t="Include" />
|
||||||
|
<e p="TeleportArea.cs" t="Include" />
|
||||||
|
<e p="TeleportMarkerBase.cs" t="Include" />
|
||||||
|
<e p="TeleportPoint.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Shaders" t="Include">
|
||||||
|
<e p="HighlighGlobal.shader" t="Include" />
|
||||||
|
<e p="Highlight.shader" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
|
<e p="link.xml" t="Include" />
|
||||||
|
<e p="Plugins" t="Include">
|
||||||
|
<e p="openvr_api.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="ReadMe.txt" t="Include" />
|
||||||
|
<e p="Resources" t="Include">
|
||||||
|
<e p="SteamVR_AlphaOut.shader" t="Include" />
|
||||||
|
<e p="SteamVR_ClearAll.shader" t="Include" />
|
||||||
|
<e p="SteamVR_ColorOut.shader" t="Include" />
|
||||||
|
<e p="SteamVR_Fade.shader" t="Include" />
|
||||||
|
<e p="SteamVR_SphericalProjection.shader" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="Scripts" t="Include">
|
||||||
|
<e p="SteamVR.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Behaviour.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Camera.cs" t="Include" />
|
||||||
|
<e p="SteamVR_CameraFlip.cs" t="Include" />
|
||||||
|
<e p="SteamVR_CameraMask.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Ears.cs" t="Include" />
|
||||||
|
<e p="SteamVR_EnumEqualityComparer.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Events.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ExternalCamera.cs" t="Include" />
|
||||||
|
<e p="SteamVR_ExternalCamera_LegacyManager.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Fade.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Frustum.cs" t="Include" />
|
||||||
|
<e p="SteamVR_IK.cs" t="Include" />
|
||||||
|
<e p="SteamVR_LoadLevel.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Menu.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Overlay.cs" t="Include" />
|
||||||
|
<e p="SteamVR_PlayArea.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Render.cs" t="Include" />
|
||||||
|
<e p="SteamVR_RenderModel.cs" t="Include" />
|
||||||
|
<e p="SteamVR_RingBuffer.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Settings.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Skybox.cs" t="Include" />
|
||||||
|
<e p="SteamVR_SphericalProjection.cs" t="Include" />
|
||||||
|
<e p="SteamVR_TrackedCamera.cs" t="Include" />
|
||||||
|
<e p="SteamVR_TrackedObject.cs" t="Include" />
|
||||||
|
<e p="SteamVR_TrackingReferenceManager.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Utils.cs" t="Include" />
|
||||||
|
</e>
|
||||||
|
<e p="SteamVR.asmdef" t="Include" />
|
||||||
|
<e p="WindowsHelper" t="Include">
|
||||||
|
<e p="SteamVR_Windows_Editor_Helper.cs" t="Include" />
|
||||||
|
<e p="SteamVR_Windows_EditorHelper.asmdef" t="Include" />
|
||||||
|
</e>
|
||||||
|
</e>
|
||||||
<e p="Windows" t="Include">
|
<e p="Windows" t="Include">
|
||||||
<e p="Data" t="Include">
|
<e p="Data" t="Include">
|
||||||
<e p="PropertyChangedEventArgs.cs" t="Include" />
|
<e p="PropertyChangedEventArgs.cs" t="Include" />
|
||||||
|
@ -437,6 +541,10 @@
|
||||||
</e>
|
</e>
|
||||||
<e p="obj" t="ExcludeRecursive" />
|
<e p="obj" t="ExcludeRecursive" />
|
||||||
<e p="packages" t="ExcludeRecursive" />
|
<e p="packages" t="ExcludeRecursive" />
|
||||||
|
<e p="SteamVR.csproj" t="IncludeRecursive" />
|
||||||
|
<e p="SteamVR_Editor.csproj" t="IncludeRecursive" />
|
||||||
|
<e p="SteamVR_Input_Editor.csproj" t="IncludeRecursive" />
|
||||||
|
<e p="SteamVR_Windows_EditorHelper.csproj" t="IncludeRecursive" />
|
||||||
<e p="Temp\bin" t="ExcludeRecursive" />
|
<e p="Temp\bin" t="ExcludeRecursive" />
|
||||||
<e p="UnityProject.sln" t="IncludeFlat" />
|
<e p="UnityProject.sln" t="IncludeFlat" />
|
||||||
</e>
|
</e>
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
<Path>Library/PackageCache/com.unity.textmeshpro@2.0.1</Path>
|
<Path>Library/PackageCache/com.unity.textmeshpro@2.0.1</Path>
|
||||||
<Path>Library/PackageCache/com.unity.visualeffectgraph@6.9.2-preview</Path>
|
<Path>Library/PackageCache/com.unity.visualeffectgraph@6.9.2-preview</Path>
|
||||||
<Path>Library/PackageCache/com.unity.xr.legacyinputhelpers@2.0.2</Path>
|
<Path>Library/PackageCache/com.unity.xr.legacyinputhelpers@2.0.2</Path>
|
||||||
|
<Path>Library/PackageCache/com.unity.xr.oculus.standalone@1.38.3</Path>
|
||||||
|
<Path>Library/PackageCache/com.unity.xr.openvr.standalone@1.0.5</Path>
|
||||||
<Path>Library/PackageCache/nuget.mono-cecil@0.1.5-preview</Path>
|
<Path>Library/PackageCache/nuget.mono-cecil@0.1.5-preview</Path>
|
||||||
<Path>Packages</Path>
|
<Path>Packages</Path>
|
||||||
<Path>ProjectSettings</Path>
|
<Path>ProjectSettings</Path>
|
||||||
|
@ -35,6 +37,7 @@
|
||||||
<Path>AudioSamples</Path>
|
<Path>AudioSamples</Path>
|
||||||
<Path>Library</Path>
|
<Path>Library</Path>
|
||||||
<Path>Logs</Path>
|
<Path>Logs</Path>
|
||||||
|
<Path>Temp</Path>
|
||||||
<Path>obj</Path>
|
<Path>obj</Path>
|
||||||
</explicitExcludes>
|
</explicitExcludes>
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -380,9 +380,6 @@
|
||||||
<Reference Include="ICSharpCode.NRefactory">
|
<Reference Include="ICSharpCode.NRefactory">
|
||||||
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.render-pipelines.high-definition@6.9.1-preview/Editor/Core/ShaderGenerator/ICSharpCode.NRefactory.dll</HintPath>
|
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.render-pipelines.high-definition@6.9.1-preview/Editor/Core/ShaderGenerator/ICSharpCode.NRefactory.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Valve.Newtonsoft.Json">
|
|
||||||
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Assets/ThridParty/SteamVR/Input/Plugins/JSON.NET/Valve.Newtonsoft.Json.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="nunit.framework">
|
<Reference Include="nunit.framework">
|
||||||
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll</HintPath>
|
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -746,22 +743,6 @@
|
||||||
<Project>{5B580621-09B4-68CB-B5F4-5B9DD210A60F}</Project>
|
<Project>{5B580621-09B4-68CB-B5F4-5B9DD210A60F}</Project>
|
||||||
<Name>Assembly-CSharp</Name>
|
<Name>Assembly-CSharp</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="SteamVR_Input_Editor.csproj">
|
|
||||||
<Project>{6AAC7E7F-1FDA-8601-A79E-5B61186431C8}</Project>
|
|
||||||
<Name>SteamVR_Input_Editor</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR_Editor.csproj">
|
|
||||||
<Project>{0F3672B3-04DA-38DB-CF61-6B830DA5FEEE}</Project>
|
|
||||||
<Name>SteamVR_Editor</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR.csproj">
|
|
||||||
<Project>{E1C19BBC-6FA9-7627-AD1E-E7762CE460B3}</Project>
|
|
||||||
<Name>SteamVR</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR_Windows_EditorHelper.csproj">
|
|
||||||
<Project>{D23E916C-DA89-38D8-6765-C7AB6FA7EEAA}</Project>
|
|
||||||
<Name>SteamVR_Windows_EditorHelper</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
|
|
@ -488,9 +488,6 @@
|
||||||
<Reference Include="Unity.Analytics.Tracker">
|
<Reference Include="Unity.Analytics.Tracker">
|
||||||
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.analytics@3.3.2/Unity.Analytics.Tracker.dll</HintPath>
|
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Library/PackageCache/com.unity.analytics@3.3.2/Unity.Analytics.Tracker.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Valve.Newtonsoft.Json">
|
|
||||||
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Assets/ThridParty/SteamVR/Input/Plugins/JSON.NET/Valve.Newtonsoft.Json.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="mscorlib">
|
<Reference Include="mscorlib">
|
||||||
<HintPath>C:/Program Files/Unity_2019.2.8f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/mscorlib.dll</HintPath>
|
<HintPath>C:/Program Files/Unity_2019.2.8f1/Editor/Data/MonoBleedingEdge/lib/mono/4.7.1-api/mscorlib.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
@ -846,24 +843,6 @@
|
||||||
<HintPath>C:/Program Files/Unity_2019.2.8f1/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/Boo.Lang.dll</HintPath>
|
<HintPath>C:/Program Files/Unity_2019.2.8f1/Editor/Data/MonoBleedingEdge/lib/mono/unityscript/Boo.Lang.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="SteamVR_Input_Editor.csproj">
|
|
||||||
<Project>{6AAC7E7F-1FDA-8601-A79E-5B61186431C8}</Project>
|
|
||||||
<Name>SteamVR_Input_Editor</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR_Editor.csproj">
|
|
||||||
<Project>{0F3672B3-04DA-38DB-CF61-6B830DA5FEEE}</Project>
|
|
||||||
<Name>SteamVR_Editor</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR.csproj">
|
|
||||||
<Project>{E1C19BBC-6FA9-7627-AD1E-E7762CE460B3}</Project>
|
|
||||||
<Name>SteamVR</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
<ProjectReference Include="SteamVR_Windows_EditorHelper.csproj">
|
|
||||||
<Project>{D23E916C-DA89-38D8-6765-C7AB6FA7EEAA}</Project>
|
|
||||||
<Name>SteamVR_Windows_EditorHelper</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 10a7e9abd2e228049a0c34678430dae7
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,171 +0,0 @@
|
||||||
{
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/InteractUI",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/Teleport",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/GrabPinch",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/GrabGrip",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/Pose",
|
|
||||||
"type": "pose"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/SkeletonLeftHand",
|
|
||||||
"type": "skeleton",
|
|
||||||
"skeleton": "/skeleton/hand/left"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/SkeletonRightHand",
|
|
||||||
"type": "skeleton",
|
|
||||||
"skeleton": "/skeleton/hand/right"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/Squeeze",
|
|
||||||
"type": "vector1",
|
|
||||||
"requirement": "optional"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/HeadsetOnHead",
|
|
||||||
"type": "boolean",
|
|
||||||
"requirement": "optional"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/SnapTurnLeft",
|
|
||||||
"type": "boolean",
|
|
||||||
"requirement": "suggested"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/in/SnapTurnRight",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/default/out/Haptic",
|
|
||||||
"type": "vibration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/platformer/in/Move",
|
|
||||||
"type": "vector2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/platformer/in/Jump",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/buggy/in/Steering",
|
|
||||||
"type": "vector2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/buggy/in/Throttle",
|
|
||||||
"type": "vector1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/buggy/in/Brake",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/buggy/in/Reset",
|
|
||||||
"type": "boolean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/mixedreality/in/ExternalCamera",
|
|
||||||
"type": "pose",
|
|
||||||
"requirement": "optional"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"action_sets": [
|
|
||||||
{
|
|
||||||
"name": "/actions/default",
|
|
||||||
"usage": "single"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/platformer",
|
|
||||||
"usage": "single"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/buggy",
|
|
||||||
"usage": "single"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "/actions/mixedreality",
|
|
||||||
"usage": "single"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_bindings": [
|
|
||||||
{
|
|
||||||
"controller_type": "vive_controller",
|
|
||||||
"binding_url": "bindings_vive_controller.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "oculus_touch",
|
|
||||||
"binding_url": "bindings_oculus_touch.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "knuckles",
|
|
||||||
"binding_url": "bindings_knuckles.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "holographic_controller",
|
|
||||||
"binding_url": "bindings_holographic_controller.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "vive_cosmos_controller",
|
|
||||||
"binding_url": "bindings_vive_cosmos_controller.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "vive_cosmos",
|
|
||||||
"binding_url": "binding_vive_cosmos.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "vive",
|
|
||||||
"binding_url": "binding_vive.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "index_hmd",
|
|
||||||
"binding_url": "binding_index_hmd.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "vive_pro",
|
|
||||||
"binding_url": "binding_vive_pro.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "rift",
|
|
||||||
"binding_url": "binding_rift.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "holographic_hmd",
|
|
||||||
"binding_url": "binding_holographic_hmd.json"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"controller_type": "vive_tracker_camera",
|
|
||||||
"binding_url": "binding_vive_tracker_camera.json"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"localization": [
|
|
||||||
{
|
|
||||||
"language_tag": "en_US",
|
|
||||||
"/actions/default/in/GrabGrip": "Grab Grip",
|
|
||||||
"/actions/default/in/GrabPinch": "Grab Pinch",
|
|
||||||
"/actions/default/in/HeadsetOnHead": "Headset on head (proximity sensor)",
|
|
||||||
"/actions/default/in/InteractUI": "Interact With UI",
|
|
||||||
"/actions/default/in/Pose": "Pose",
|
|
||||||
"/actions/default/in/SkeletonLeftHand": "Skeleton (Left)",
|
|
||||||
"/actions/default/in/SkeletonRightHand": "Skeleton (Right)",
|
|
||||||
"/actions/default/in/Teleport": "Teleport",
|
|
||||||
"/actions/default/out/Haptic": "Haptic",
|
|
||||||
"/actions/platformer/in/Jump": "Jump",
|
|
||||||
"/actions/default/in/SnapTurnLeft": "Snap Turn (Left)",
|
|
||||||
"/actions/default/in/SnapTurnRight": "Snap Turn (Right)"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 3fb4026a1c0f6944cb442457dedcc193
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [],
|
|
||||||
"poses" : [],
|
|
||||||
"skeleton" : [],
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "holographic_hmd",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "holographic_hmd defaults",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: a57963fcf70e263489254fb604de6931
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info": {},
|
|
||||||
"bindings": {
|
|
||||||
"/actions/default": {
|
|
||||||
"chords": [],
|
|
||||||
"haptics": [],
|
|
||||||
"poses": [],
|
|
||||||
"skeleton": [],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type": "index_hmd",
|
|
||||||
"description": "",
|
|
||||||
"name": "index hmd defaults",
|
|
||||||
"options": {},
|
|
||||||
"simulated_actions": []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c99a7545c93fcbb4986b85ce10804f0e
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [],
|
|
||||||
"poses" : [],
|
|
||||||
"skeleton" : [],
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "rift",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "rift defaults",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 9f634562b5c92974ab42245ece0fbc3a
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [],
|
|
||||||
"poses" : [],
|
|
||||||
"skeleton" : [],
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "vive defaults",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 2816fe9a35231b54fac7a9db1c3eb85f
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info": {},
|
|
||||||
"bindings": {
|
|
||||||
"/actions/default": {
|
|
||||||
"chords": [],
|
|
||||||
"haptics": [],
|
|
||||||
"poses": [],
|
|
||||||
"skeleton": [],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type": "vive_cosmos",
|
|
||||||
"description": "",
|
|
||||||
"name": "vive cosmos hmd defaults",
|
|
||||||
"options": {},
|
|
||||||
"simulated_actions": []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: e30adf6b016aab24e91e24920bca6b9a
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [],
|
|
||||||
"poses" : [],
|
|
||||||
"skeleton" : [],
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/default/in/headsetonhead"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/head/proximity"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive_pro",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "vive_pro defaults",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 18bc991a5f4d10d4789729252a7d4c6d
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,22 +0,0 @@
|
||||||
{
|
|
||||||
"alias_info" : {},
|
|
||||||
"bindings": {
|
|
||||||
"/actions/mixedreality": {
|
|
||||||
"haptics": [
|
|
||||||
],
|
|
||||||
"poses": [
|
|
||||||
{
|
|
||||||
"output": "/actions/mixedreality/in/ExternalCamera",
|
|
||||||
"path": "/user/camera/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive_tracker_camera",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "tracker_forcamera",
|
|
||||||
"options" : {},
|
|
||||||
"simulated_actions" : []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 0977c0797dc724e429101c84e41b0a0e
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,307 +0,0 @@
|
||||||
{
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/buggy" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/trackpad"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/default" : {
|
|
||||||
"haptics" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/left/output/haptic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/right/output/haptic"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"poses" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/left/pose/raw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/right/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.95",
|
|
||||||
"click_deactivate_threshold": "0.9"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.95",
|
|
||||||
"click_deactivate_threshold": "0.9"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/platformer" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "holographic_controller",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "Default bindings for Windows Mixed Reality Controllers"
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 93f36ee2aacd7914dbbc636e411215a2
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,326 +0,0 @@
|
||||||
{
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/buggy" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/b"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/b"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/left/output/haptic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/right/output/haptic"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"poses" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/left/pose/raw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/right/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skeleton" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonlefthand",
|
|
||||||
"path" : "/user/hand/left/input/skeleton/left"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonrighthand",
|
|
||||||
"path" : "/user/hand/right/input/skeleton/right"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"force": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "force_sensor",
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"force": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "force_sensor",
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"grab": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "grab",
|
|
||||||
"parameters": {
|
|
||||||
"force_hold_threshold": "0.02",
|
|
||||||
"force_release_threshold": "0.01"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"grab": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "grab",
|
|
||||||
"parameters": {
|
|
||||||
"force_hold_threshold": "0.02",
|
|
||||||
"force_release_threshold": "0.01"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"grab": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "grab",
|
|
||||||
"parameters": {
|
|
||||||
"force_hold_threshold": "0.02",
|
|
||||||
"force_release_threshold": "0.01"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/pinch"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"grab": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "grab",
|
|
||||||
"parameters": {
|
|
||||||
"force_hold_threshold": "0.02",
|
|
||||||
"force_release_threshold": "0.01"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/pinch"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/platformer" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/thumbstick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "knuckles",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "knuckles_default"
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: e0f657f23e27b4043a7b7c008a109b40
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,315 +0,0 @@
|
||||||
{
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/buggy" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/y"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/y"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/b"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/left/output/haptic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/right/output/haptic"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"poses" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/left/pose/raw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/right/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skeleton" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonlefthand",
|
|
||||||
"path" : "/user/hand/left/input/skeleton/left"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonrighthand",
|
|
||||||
"path" : "/user/hand/right/input/skeleton/right"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7",
|
|
||||||
"force_input": "value"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/platformer" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "oculus_touch",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "oculus_touch"
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: bd06a6fb225ce9f478f7e898c9e7c7f6
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,289 +0,0 @@
|
||||||
{
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/buggy" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trackpad",
|
|
||||||
"path" : "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trackpad",
|
|
||||||
"path" : "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/application_menu"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/application_menu"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/left/output/haptic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/right/output/haptic"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"poses" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/left/pose/raw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/right/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skeleton" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonlefthand",
|
|
||||||
"path" : "/user/hand/left/input/skeleton/left"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonrighthand",
|
|
||||||
"path" : "/user/hand/right/input/skeleton/right"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.05",
|
|
||||||
"click_deactivate_threshold": "0",
|
|
||||||
"force_input": "force"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.75",
|
|
||||||
"click_deactivate_threshold": "0.7",
|
|
||||||
"force_input": "value"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.75",
|
|
||||||
"click_deactivate_threshold": "0.7"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"center": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"south": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "90",
|
|
||||||
"overlap_pct": "15",
|
|
||||||
"sub_mode": "click"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"center": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"south": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "90",
|
|
||||||
"overlap_pct": "15",
|
|
||||||
"sub_mode": "click"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.05",
|
|
||||||
"click_deactivate_threshold": "0",
|
|
||||||
"force_input": "force"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/platformer" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trackpad",
|
|
||||||
"path" : "/user/hand/left/input/trackpad"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trackpad",
|
|
||||||
"path" : "/user/hand/right/input/trackpad"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive_controller",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "vive_controller"
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 609fa56b9247c1049897a7d49a5485f1
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,289 +0,0 @@
|
||||||
{
|
|
||||||
"bindings" : {
|
|
||||||
"/actions/buggy" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"pull" : {
|
|
||||||
"output" : "/actions/buggy/in/throttle"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "trigger",
|
|
||||||
"path" : "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/buggy/in/steering"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/left/input/y"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/brake"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/buggy/in/reset"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "button",
|
|
||||||
"path" : "/user/hand/right/input/b"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/default" : {
|
|
||||||
"chords" : [],
|
|
||||||
"haptics" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/left/output/haptic"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/out/haptic",
|
|
||||||
"path" : "/user/hand/right/output/haptic"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"poses" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/left/pose/raw"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/pose",
|
|
||||||
"path" : "/user/hand/right/pose/raw"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"skeleton" : [
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonlefthand",
|
|
||||||
"path" : "/user/hand/left/input/skeleton/left"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"output" : "/actions/default/in/skeletonrighthand",
|
|
||||||
"path" : "/user/hand/right/input/skeleton/right"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/left/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7",
|
|
||||||
"force_input": "value"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/interactui"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabpinch"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"parameters": {
|
|
||||||
"click_activate_threshold": "0.8",
|
|
||||||
"click_deactivate_threshold": "0.7"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"north": {
|
|
||||||
"output": "/actions/default/in/teleport"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "25",
|
|
||||||
"overlap_pct": "30",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"east": {
|
|
||||||
"output": "/actions/default/in/snapturnright"
|
|
||||||
},
|
|
||||||
"west": {
|
|
||||||
"output": "/actions/default/in/snapturnleft"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "dpad",
|
|
||||||
"parameters": {
|
|
||||||
"deadzone_pct": "85",
|
|
||||||
"overlap_pct": "0",
|
|
||||||
"sub_mode": "touch"
|
|
||||||
},
|
|
||||||
"path": "/user/hand/right/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"click": {
|
|
||||||
"output": "/actions/default/in/grabgrip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "button",
|
|
||||||
"path": "/user/hand/right/input/grip"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/left/input/trigger"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": {
|
|
||||||
"pull": {
|
|
||||||
"output": "/actions/default/in/squeeze"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode": "trigger",
|
|
||||||
"path": "/user/hand/right/input/trigger"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"/actions/platformer" : {
|
|
||||||
"sources" : [
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/left/input/joystick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs" : {
|
|
||||||
"click" : {
|
|
||||||
"output" : "/actions/platformer/in/jump"
|
|
||||||
},
|
|
||||||
"position" : {
|
|
||||||
"output" : "/actions/platformer/in/move"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mode" : "joystick",
|
|
||||||
"path" : "/user/hand/right/input/joystick"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"controller_type" : "vive_cosmos_controller",
|
|
||||||
"description" : "",
|
|
||||||
"name" : "vive_cosmos_controller"
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 645c04707c24ace4d9ca8eb534fc47c1
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 0cf983a8d6d566249ac12a5d4ce68e53
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,6 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c33af0785775d7548b22541da37936fe
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
|
@ -1,231 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Prompt developers to use settings most compatible with SteamVR.
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[InitializeOnLoad]
|
|
||||||
public class SteamVR_AutoEnableVR
|
|
||||||
{
|
|
||||||
static SteamVR_AutoEnableVR()
|
|
||||||
{
|
|
||||||
EditorApplication.update += Update;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected const string openVRString = "OpenVR";
|
|
||||||
protected const string openVRPackageString = "com.unity.xr.openvr.standalone";
|
|
||||||
|
|
||||||
#if UNITY_2018_2_OR_NEWER
|
|
||||||
private enum PackageStates
|
|
||||||
{
|
|
||||||
None,
|
|
||||||
WaitingForList,
|
|
||||||
WaitingForAdd,
|
|
||||||
WaitingForAddConfirm,
|
|
||||||
Installed,
|
|
||||||
Failed,
|
|
||||||
}
|
|
||||||
|
|
||||||
private static UnityEditor.PackageManager.Requests.ListRequest listRequest;
|
|
||||||
private static UnityEditor.PackageManager.Requests.AddRequest addRequest;
|
|
||||||
private static PackageStates packageState = PackageStates.None;
|
|
||||||
private static System.Diagnostics.Stopwatch addingPackageTime = new System.Diagnostics.Stopwatch();
|
|
||||||
private static System.Diagnostics.Stopwatch addingPackageTimeTotal = new System.Diagnostics.Stopwatch();
|
|
||||||
private static float estimatedTimeToInstall = 80;
|
|
||||||
private static int addTryCount = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
public static void Update()
|
|
||||||
{
|
|
||||||
if (SteamVR_Settings.instance.autoEnableVR)
|
|
||||||
{
|
|
||||||
bool enabledVR = false;
|
|
||||||
|
|
||||||
if (UnityEditor.PlayerSettings.virtualRealitySupported == false)
|
|
||||||
{
|
|
||||||
UnityEditor.PlayerSettings.virtualRealitySupported = true;
|
|
||||||
enabledVR = true;
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Enabled virtual reality support in Player Settings. (you can disable this by unchecking Assets/SteamVR/SteamVR_Settings.autoEnableVR)");
|
|
||||||
}
|
|
||||||
|
|
||||||
UnityEditor.BuildTargetGroup currentTarget = UnityEditor.EditorUserBuildSettings.selectedBuildTargetGroup;
|
|
||||||
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
string[] devices = UnityEditorInternal.VR.VREditor.GetVREnabledDevices(currentTarget);
|
|
||||||
#else
|
|
||||||
string[] devices = UnityEditorInternal.VR.VREditor.GetVREnabledDevicesOnTargetGroup(currentTarget);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool hasOpenVR = devices.Any(device => string.Equals(device, openVRString, System.StringComparison.CurrentCultureIgnoreCase));
|
|
||||||
|
|
||||||
if (hasOpenVR == false || enabledVR)
|
|
||||||
{
|
|
||||||
string[] newDevices;
|
|
||||||
if (enabledVR && hasOpenVR == false)
|
|
||||||
{
|
|
||||||
newDevices = new string[] { openVRString }; //only list openvr if we enabled it
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
List<string> devicesList = new List<string>(devices); //list openvr as the first option if it wasn't in the list.
|
|
||||||
if (hasOpenVR)
|
|
||||||
devicesList.Remove(openVRString);
|
|
||||||
|
|
||||||
devicesList.Insert(0, openVRString);
|
|
||||||
newDevices = devicesList.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if (UNITY_5_6 || UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
UnityEditorInternal.VR.VREditor.SetVREnabledDevices(currentTarget, newDevices);
|
|
||||||
#else
|
|
||||||
UnityEditorInternal.VR.VREditor.SetVREnabledDevicesOnTargetGroup(currentTarget, newDevices);
|
|
||||||
#endif
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Added OpenVR to supported VR SDKs list.");
|
|
||||||
}
|
|
||||||
|
|
||||||
#if UNITY_2018_2_OR_NEWER
|
|
||||||
//2018+ requires us to manually add the OpenVR package
|
|
||||||
|
|
||||||
switch (packageState)
|
|
||||||
{
|
|
||||||
case PackageStates.None:
|
|
||||||
//see if we have the package
|
|
||||||
listRequest = UnityEditor.PackageManager.Client.List(true);
|
|
||||||
packageState = PackageStates.WaitingForList;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case PackageStates.WaitingForList:
|
|
||||||
if (listRequest.IsCompleted)
|
|
||||||
{
|
|
||||||
if (listRequest.Error != null || listRequest.Status == UnityEditor.PackageManager.StatusCode.Failure)
|
|
||||||
{
|
|
||||||
packageState = PackageStates.Failed;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool hasPackage = listRequest.Result.Any(package => package.name == openVRPackageString);
|
|
||||||
|
|
||||||
if (hasPackage == false)
|
|
||||||
{
|
|
||||||
//if we don't have the package - then install it
|
|
||||||
addRequest = UnityEditor.PackageManager.Client.Add(openVRPackageString);
|
|
||||||
packageState = PackageStates.WaitingForAdd;
|
|
||||||
addTryCount++;
|
|
||||||
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Installing OpenVR package...");
|
|
||||||
addingPackageTime.Start();
|
|
||||||
addingPackageTimeTotal.Start();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//if we do have the package do nothing
|
|
||||||
packageState = PackageStates.Installed; //already installed
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case PackageStates.WaitingForAdd:
|
|
||||||
if (addRequest.IsCompleted)
|
|
||||||
{
|
|
||||||
if (addRequest.Error != null || addRequest.Status == UnityEditor.PackageManager.StatusCode.Failure)
|
|
||||||
{
|
|
||||||
packageState = PackageStates.Failed;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
//if the package manager says we added it then confirm that with the list
|
|
||||||
listRequest = UnityEditor.PackageManager.Client.List(true);
|
|
||||||
packageState = PackageStates.WaitingForAddConfirm;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (addingPackageTimeTotal.Elapsed.TotalSeconds > estimatedTimeToInstall)
|
|
||||||
estimatedTimeToInstall *= 2; // :)
|
|
||||||
|
|
||||||
string dialogText;
|
|
||||||
if (addTryCount == 1)
|
|
||||||
dialogText = "Installing OpenVR from Unity Package Manager...";
|
|
||||||
else
|
|
||||||
dialogText = "Retrying OpenVR install from Unity Package Manager...";
|
|
||||||
|
|
||||||
bool cancel = UnityEditor.EditorUtility.DisplayCancelableProgressBar("SteamVR", dialogText, (float)addingPackageTimeTotal.Elapsed.TotalSeconds / estimatedTimeToInstall);
|
|
||||||
if (cancel)
|
|
||||||
packageState = PackageStates.Failed;
|
|
||||||
|
|
||||||
if (addingPackageTime.Elapsed.TotalSeconds > 10)
|
|
||||||
{
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Waiting for package manager to install OpenVR package...");
|
|
||||||
addingPackageTime.Stop();
|
|
||||||
addingPackageTime.Reset();
|
|
||||||
addingPackageTime.Start();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case PackageStates.WaitingForAddConfirm:
|
|
||||||
if (listRequest.IsCompleted)
|
|
||||||
{
|
|
||||||
if (listRequest.Error != null)
|
|
||||||
{
|
|
||||||
packageState = PackageStates.Failed;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool hasPackage = listRequest.Result.Any(package => package.name == openVRPackageString);
|
|
||||||
|
|
||||||
if (hasPackage == false)
|
|
||||||
{
|
|
||||||
if (addTryCount == 1)
|
|
||||||
{
|
|
||||||
addRequest = UnityEditor.PackageManager.Client.Add(openVRPackageString);
|
|
||||||
packageState = PackageStates.WaitingForAdd;
|
|
||||||
addTryCount++;
|
|
||||||
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Retrying OpenVR package install...");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
packageState = PackageStates.Failed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
packageState = PackageStates.Installed; //installed successfully
|
|
||||||
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Successfully installed OpenVR package.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (packageState == PackageStates.Failed || packageState == PackageStates.Installed)
|
|
||||||
{
|
|
||||||
addingPackageTime.Stop();
|
|
||||||
addingPackageTimeTotal.Stop();
|
|
||||||
UnityEditor.EditorUtility.ClearProgressBar();
|
|
||||||
UnityEditor.EditorApplication.update -= Update; //we're done trying to auto-enable vr
|
|
||||||
|
|
||||||
if (packageState == PackageStates.Failed)
|
|
||||||
{
|
|
||||||
string failtext = "The Unity Package Manager failed to automatically install the OpenVR package. Please open the Package Manager Window and try to install it manually.";
|
|
||||||
UnityEditor.EditorUtility.DisplayDialog("SteamVR", failtext, "Ok");
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> " + failtext);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
UnityEditor.EditorApplication.update -= Update;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 359dfd8d7e3732240894f33b6f6d6e56
|
|
||||||
timeCreated: 1548371829
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"name": "SteamVR_Editor",
|
|
||||||
"references": [
|
|
||||||
"SteamVR"
|
|
||||||
],
|
|
||||||
"optionalUnityReferences": [],
|
|
||||||
"includePlatforms": [
|
|
||||||
"Editor"
|
|
||||||
],
|
|
||||||
"excludePlatforms": [],
|
|
||||||
"allowUnsafeCode": false,
|
|
||||||
"overrideReferences": false,
|
|
||||||
"precompiledReferences": [],
|
|
||||||
"autoReferenced": true,
|
|
||||||
"defineConstraints": []
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 9bac448de04a4f6448fee1acc220e5a1
|
|
||||||
AssemblyDefinitionImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,127 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Custom inspector display for SteamVR_Camera
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.IO;
|
|
||||||
using Valve.VR;
|
|
||||||
|
|
||||||
[CustomEditor(typeof(SteamVR_Camera)), CanEditMultipleObjects]
|
|
||||||
public class SteamVR_Editor : Editor
|
|
||||||
{
|
|
||||||
int bannerHeight = 150;
|
|
||||||
Texture logo;
|
|
||||||
|
|
||||||
SerializedProperty script, wireframe;
|
|
||||||
|
|
||||||
string GetResourcePath()
|
|
||||||
{
|
|
||||||
var ms = MonoScript.FromScriptableObject(this);
|
|
||||||
var path = AssetDatabase.GetAssetPath(ms);
|
|
||||||
path = Path.GetDirectoryName(path);
|
|
||||||
return path.Substring(0, path.Length - "Editor".Length) + "Textures/";
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnEnable()
|
|
||||||
{
|
|
||||||
var resourcePath = GetResourcePath();
|
|
||||||
|
|
||||||
logo = AssetDatabase.LoadAssetAtPath<Texture2D>(resourcePath + "logo.png");
|
|
||||||
|
|
||||||
script = serializedObject.FindProperty("m_Script");
|
|
||||||
|
|
||||||
wireframe = serializedObject.FindProperty("wireframe");
|
|
||||||
|
|
||||||
foreach (SteamVR_Camera target in targets)
|
|
||||||
target.ForceLast();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void OnInspectorGUI()
|
|
||||||
{
|
|
||||||
serializedObject.Update();
|
|
||||||
|
|
||||||
var rect = GUILayoutUtility.GetRect(Screen.width - 38, bannerHeight, GUI.skin.box);
|
|
||||||
if (logo)
|
|
||||||
GUI.DrawTexture(rect, logo, ScaleMode.ScaleToFit);
|
|
||||||
|
|
||||||
if (!Application.isPlaying)
|
|
||||||
{
|
|
||||||
var expand = false;
|
|
||||||
var collapse = false;
|
|
||||||
foreach (SteamVR_Camera target in targets)
|
|
||||||
{
|
|
||||||
if (AssetDatabase.Contains(target))
|
|
||||||
continue;
|
|
||||||
if (target.isExpanded)
|
|
||||||
collapse = true;
|
|
||||||
else
|
|
||||||
expand = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (expand)
|
|
||||||
{
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
if (GUILayout.Button("Expand"))
|
|
||||||
{
|
|
||||||
foreach (SteamVR_Camera target in targets)
|
|
||||||
{
|
|
||||||
if (AssetDatabase.Contains(target))
|
|
||||||
continue;
|
|
||||||
if (!target.isExpanded)
|
|
||||||
{
|
|
||||||
target.Expand();
|
|
||||||
EditorUtility.SetDirty(target);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GUILayout.Space(18);
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (collapse)
|
|
||||||
{
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
if (GUILayout.Button("Collapse"))
|
|
||||||
{
|
|
||||||
foreach (SteamVR_Camera target in targets)
|
|
||||||
{
|
|
||||||
if (AssetDatabase.Contains(target))
|
|
||||||
continue;
|
|
||||||
if (target.isExpanded)
|
|
||||||
{
|
|
||||||
target.Collapse();
|
|
||||||
EditorUtility.SetDirty(target);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
GUILayout.Space(18);
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(script);
|
|
||||||
EditorGUILayout.PropertyField(wireframe);
|
|
||||||
|
|
||||||
serializedObject.ApplyModifiedProperties();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void ExportPackage()
|
|
||||||
{
|
|
||||||
AssetDatabase.ExportPackage(new string[] {
|
|
||||||
"Assets/SteamVR",
|
|
||||||
"Assets/Plugins/openvr_api.cs",
|
|
||||||
"Assets/Plugins/openvr_api.bundle",
|
|
||||||
"Assets/Plugins/x86/openvr_api.dll",
|
|
||||||
"Assets/Plugins/x86/steam_api.dll",
|
|
||||||
"Assets/Plugins/x86/libsteam_api.so",
|
|
||||||
"Assets/Plugins/x86_64/openvr_api.dll",
|
|
||||||
"Assets/Plugins/x86_64/steam_api.dll",
|
|
||||||
"Assets/Plugins/x86_64/libsteam_api.so",
|
|
||||||
"Assets/Plugins/x86_64/libopenvr_api.so",
|
|
||||||
}, "steamvr.unitypackage", ExportPackageOptions.Recurse);
|
|
||||||
EditorApplication.Exit(0);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,9 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 5ba22c80948c94e44a82b9fd1b3abd0d
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
|
@ -1,2 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//removed and added to the SteamVR_Settings asset so it can be configured per project
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 29abf75f7265ccb45b799eac4ab0ca94
|
|
||||||
timeCreated: 1487968203
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,106 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Custom inspector display for SteamVR_RenderModel
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.Text;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[CustomEditor(typeof(SteamVR_RenderModel)), CanEditMultipleObjects]
|
|
||||||
public class SteamVR_RenderModelEditor : Editor
|
|
||||||
{
|
|
||||||
SerializedProperty script, index, modelOverride, shader, verbose, createComponents, updateDynamically;
|
|
||||||
|
|
||||||
static string[] renderModelNames;
|
|
||||||
int renderModelIndex;
|
|
||||||
|
|
||||||
void OnEnable()
|
|
||||||
{
|
|
||||||
script = serializedObject.FindProperty("m_Script");
|
|
||||||
index = serializedObject.FindProperty("index");
|
|
||||||
modelOverride = serializedObject.FindProperty("modelOverride");
|
|
||||||
shader = serializedObject.FindProperty("shader");
|
|
||||||
verbose = serializedObject.FindProperty("verbose");
|
|
||||||
createComponents = serializedObject.FindProperty("createComponents");
|
|
||||||
updateDynamically = serializedObject.FindProperty("updateDynamically");
|
|
||||||
|
|
||||||
// Load render model names if necessary.
|
|
||||||
if (renderModelNames == null)
|
|
||||||
{
|
|
||||||
renderModelNames = LoadRenderModelNames();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update renderModelIndex based on current modelOverride value.
|
|
||||||
if (modelOverride.stringValue != "")
|
|
||||||
{
|
|
||||||
for (int i = 0; i < renderModelNames.Length; i++)
|
|
||||||
{
|
|
||||||
if (modelOverride.stringValue == renderModelNames[i])
|
|
||||||
{
|
|
||||||
renderModelIndex = i;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static string[] LoadRenderModelNames()
|
|
||||||
{
|
|
||||||
var results = new List<string>();
|
|
||||||
results.Add("None");
|
|
||||||
|
|
||||||
using (var holder = new SteamVR_RenderModel.RenderModelInterfaceHolder())
|
|
||||||
{
|
|
||||||
var renderModels = holder.instance;
|
|
||||||
if (renderModels != null)
|
|
||||||
{
|
|
||||||
uint count = renderModels.GetRenderModelCount();
|
|
||||||
for (uint i = 0; i < count; i++)
|
|
||||||
{
|
|
||||||
var buffer = new StringBuilder();
|
|
||||||
var requiredSize = renderModels.GetRenderModelName(i, buffer, 0);
|
|
||||||
if (requiredSize == 0)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
buffer.EnsureCapacity((int)requiredSize);
|
|
||||||
renderModels.GetRenderModelName(i, buffer, requiredSize);
|
|
||||||
results.Add(buffer.ToString());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return results.ToArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void OnInspectorGUI()
|
|
||||||
{
|
|
||||||
serializedObject.Update();
|
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(script);
|
|
||||||
EditorGUILayout.PropertyField(index);
|
|
||||||
//EditorGUILayout.PropertyField(modelOverride);
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
GUILayout.Label(new GUIContent("Model Override", SteamVR_RenderModel.modelOverrideWarning));
|
|
||||||
var selected = EditorGUILayout.Popup(renderModelIndex, renderModelNames);
|
|
||||||
if (selected != renderModelIndex)
|
|
||||||
{
|
|
||||||
renderModelIndex = selected;
|
|
||||||
modelOverride.stringValue = (selected > 0) ? renderModelNames[selected] : "";
|
|
||||||
}
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
|
|
||||||
EditorGUILayout.PropertyField(shader);
|
|
||||||
EditorGUILayout.PropertyField(verbose);
|
|
||||||
EditorGUILayout.PropertyField(createComponents);
|
|
||||||
EditorGUILayout.PropertyField(updateDynamically);
|
|
||||||
|
|
||||||
serializedObject.ApplyModifiedProperties();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 67867a20919f7db45a2e7034fda1c28e
|
|
||||||
timeCreated: 1433373945
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,383 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Custom inspector display for SteamVR_Skybox
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.Text;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Valve.VR;
|
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[CustomEditor(typeof(SteamVR_Skybox)), CanEditMultipleObjects]
|
|
||||||
public class SteamVR_SkyboxEditor : Editor
|
|
||||||
{
|
|
||||||
private const string nameFormat = "{0}/{1}-{2}.png";
|
|
||||||
private const string helpText = "Take snapshot will use the current " +
|
|
||||||
"position and rotation to capture six directional screenshots to use as this " +
|
|
||||||
"skybox's textures. Note: This skybox is only used to override what shows up " +
|
|
||||||
"in the compositor (e.g. when loading levels). Add a Camera component to this " +
|
|
||||||
"object to override default settings like which layers to render. Additionally, " +
|
|
||||||
"by specifying your own targetTexture, you can control the size of the textures " +
|
|
||||||
"and other properties like antialiasing. Don't forget to disable the camera.\n\n" +
|
|
||||||
"For stereo screenshots, a panorama is render for each eye using the specified " +
|
|
||||||
"ipd (in millimeters) broken up into segments cellSize pixels square to optimize " +
|
|
||||||
"generation.\n(32x32 takes about 10 seconds depending on scene complexity, 16x16 " +
|
|
||||||
"takes around a minute, while will 8x8 take several minutes.)\n\nTo test, hit " +
|
|
||||||
"play then pause - this will activate the skybox settings, and then drop you to " +
|
|
||||||
"the compositor where the skybox is rendered.";
|
|
||||||
|
|
||||||
public override void OnInspectorGUI()
|
|
||||||
{
|
|
||||||
DrawDefaultInspector();
|
|
||||||
|
|
||||||
EditorGUILayout.HelpBox(helpText, MessageType.Info);
|
|
||||||
|
|
||||||
if (GUILayout.Button("Take snapshot"))
|
|
||||||
{
|
|
||||||
var directions = new Quaternion[] {
|
|
||||||
Quaternion.LookRotation(Vector3.forward),
|
|
||||||
Quaternion.LookRotation(Vector3.back),
|
|
||||||
Quaternion.LookRotation(Vector3.left),
|
|
||||||
Quaternion.LookRotation(Vector3.right),
|
|
||||||
Quaternion.LookRotation(Vector3.up, Vector3.back),
|
|
||||||
Quaternion.LookRotation(Vector3.down, Vector3.forward)
|
|
||||||
};
|
|
||||||
|
|
||||||
Camera tempCamera = null;
|
|
||||||
foreach (SteamVR_Skybox target in targets)
|
|
||||||
{
|
|
||||||
var targetScene = target.gameObject.scene;
|
|
||||||
var sceneName = Path.GetFileNameWithoutExtension(targetScene.path);
|
|
||||||
var scenePath = Path.GetDirectoryName(targetScene.path);
|
|
||||||
var assetPath = scenePath + "/" + sceneName;
|
|
||||||
if (!AssetDatabase.IsValidFolder(assetPath))
|
|
||||||
{
|
|
||||||
var guid = AssetDatabase.CreateFolder(scenePath, sceneName);
|
|
||||||
assetPath = AssetDatabase.GUIDToAssetPath(guid);
|
|
||||||
}
|
|
||||||
|
|
||||||
var camera = target.GetComponent<Camera>();
|
|
||||||
if (camera == null)
|
|
||||||
{
|
|
||||||
if (tempCamera == null)
|
|
||||||
tempCamera = new GameObject().AddComponent<Camera>();
|
|
||||||
camera = tempCamera;
|
|
||||||
}
|
|
||||||
|
|
||||||
var targetTexture = camera.targetTexture;
|
|
||||||
if (camera.targetTexture == null)
|
|
||||||
{
|
|
||||||
targetTexture = new RenderTexture(1024, 1024, 24);
|
|
||||||
targetTexture.antiAliasing = 8;
|
|
||||||
camera.targetTexture = targetTexture;
|
|
||||||
}
|
|
||||||
|
|
||||||
var oldPosition = target.transform.localPosition;
|
|
||||||
var oldRotation = target.transform.localRotation;
|
|
||||||
var baseRotation = target.transform.rotation;
|
|
||||||
|
|
||||||
var t = camera.transform;
|
|
||||||
t.position = target.transform.position;
|
|
||||||
camera.orthographic = false;
|
|
||||||
camera.fieldOfView = 90;
|
|
||||||
|
|
||||||
for (int i = 0; i < directions.Length; i++)
|
|
||||||
{
|
|
||||||
t.rotation = baseRotation * directions[i];
|
|
||||||
camera.Render();
|
|
||||||
|
|
||||||
// Copy to texture and save to disk.
|
|
||||||
RenderTexture.active = targetTexture;
|
|
||||||
var texture = new Texture2D(targetTexture.width, targetTexture.height, TextureFormat.ARGB32, false);
|
|
||||||
texture.ReadPixels(new Rect(0, 0, texture.width, texture.height), 0, 0);
|
|
||||||
texture.Apply();
|
|
||||||
RenderTexture.active = null;
|
|
||||||
|
|
||||||
var assetName = string.Format(nameFormat, assetPath, target.name, i);
|
|
||||||
System.IO.File.WriteAllBytes(assetName, texture.EncodeToPNG());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (camera != tempCamera)
|
|
||||||
{
|
|
||||||
target.transform.localPosition = oldPosition;
|
|
||||||
target.transform.localRotation = oldRotation;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tempCamera != null)
|
|
||||||
{
|
|
||||||
Object.DestroyImmediate(tempCamera.gameObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Now that everything has be written out, reload the associated assets and assign them.
|
|
||||||
AssetDatabase.Refresh();
|
|
||||||
foreach (SteamVR_Skybox target in targets)
|
|
||||||
{
|
|
||||||
var targetScene = target.gameObject.scene;
|
|
||||||
var sceneName = Path.GetFileNameWithoutExtension(targetScene.path);
|
|
||||||
var scenePath = Path.GetDirectoryName(targetScene.path);
|
|
||||||
var assetPath = scenePath + "/" + sceneName;
|
|
||||||
|
|
||||||
for (int i = 0; i < directions.Length; i++)
|
|
||||||
{
|
|
||||||
var assetName = string.Format(nameFormat, assetPath, target.name, i);
|
|
||||||
var importer = AssetImporter.GetAtPath(assetName) as TextureImporter;
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
importer.textureFormat = TextureImporterFormat.RGB24;
|
|
||||||
#else
|
|
||||||
importer.textureCompression = TextureImporterCompression.Uncompressed;
|
|
||||||
#endif
|
|
||||||
importer.wrapMode = TextureWrapMode.Clamp;
|
|
||||||
importer.mipmapEnabled = false;
|
|
||||||
importer.SaveAndReimport();
|
|
||||||
|
|
||||||
var texture = AssetDatabase.LoadAssetAtPath<Texture>(assetName);
|
|
||||||
target.SetTextureByIndex(i, texture);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (GUILayout.Button("Take stereo snapshot"))
|
|
||||||
{
|
|
||||||
const int width = 4096;
|
|
||||||
const int height = width / 2;
|
|
||||||
const int halfHeight = height / 2;
|
|
||||||
|
|
||||||
var textures = new Texture2D[] {
|
|
||||||
new Texture2D(width, height, TextureFormat.ARGB32, false),
|
|
||||||
new Texture2D(width, height, TextureFormat.ARGB32, false) };
|
|
||||||
|
|
||||||
var timer = new System.Diagnostics.Stopwatch();
|
|
||||||
|
|
||||||
Camera tempCamera = null;
|
|
||||||
foreach (SteamVR_Skybox target in targets)
|
|
||||||
{
|
|
||||||
timer.Start();
|
|
||||||
|
|
||||||
var targetScene = target.gameObject.scene;
|
|
||||||
var sceneName = Path.GetFileNameWithoutExtension(targetScene.path);
|
|
||||||
var scenePath = Path.GetDirectoryName(targetScene.path);
|
|
||||||
var assetPath = scenePath + "/" + sceneName;
|
|
||||||
if (!AssetDatabase.IsValidFolder(assetPath))
|
|
||||||
{
|
|
||||||
var guid = AssetDatabase.CreateFolder(scenePath, sceneName);
|
|
||||||
assetPath = AssetDatabase.GUIDToAssetPath(guid);
|
|
||||||
}
|
|
||||||
|
|
||||||
var camera = target.GetComponent<Camera>();
|
|
||||||
if (camera == null)
|
|
||||||
{
|
|
||||||
if (tempCamera == null)
|
|
||||||
tempCamera = new GameObject().AddComponent<Camera>();
|
|
||||||
camera = tempCamera;
|
|
||||||
}
|
|
||||||
|
|
||||||
var fx = camera.gameObject.AddComponent<SteamVR_SphericalProjection>();
|
|
||||||
|
|
||||||
var oldTargetTexture = camera.targetTexture;
|
|
||||||
var oldOrthographic = camera.orthographic;
|
|
||||||
var oldFieldOfView = camera.fieldOfView;
|
|
||||||
var oldAspect = camera.aspect;
|
|
||||||
|
|
||||||
var oldPosition = target.transform.localPosition;
|
|
||||||
var oldRotation = target.transform.localRotation;
|
|
||||||
var basePosition = target.transform.position;
|
|
||||||
var baseRotation = target.transform.rotation;
|
|
||||||
|
|
||||||
var transform = camera.transform;
|
|
||||||
|
|
||||||
int cellSize = int.Parse(target.StereoCellSize.ToString().Substring(1));
|
|
||||||
float ipd = target.StereoIpdMm / 1000.0f;
|
|
||||||
int vTotal = halfHeight / cellSize;
|
|
||||||
float dv = 90.0f / vTotal; // vertical degrees per segment
|
|
||||||
float dvHalf = dv / 2.0f;
|
|
||||||
|
|
||||||
var targetTexture = new RenderTexture(cellSize, cellSize, 24);
|
|
||||||
targetTexture.wrapMode = TextureWrapMode.Clamp;
|
|
||||||
targetTexture.antiAliasing = 8;
|
|
||||||
|
|
||||||
camera.fieldOfView = dv;
|
|
||||||
camera.orthographic = false;
|
|
||||||
camera.targetTexture = targetTexture;
|
|
||||||
|
|
||||||
// Render sections of a sphere using a rectilinear projection
|
|
||||||
// and resample using a sphereical projection into a single panorama
|
|
||||||
// texture per eye. We break into sections in order to keep the eye
|
|
||||||
// separation similar around the sphere. Rendering alternates between
|
|
||||||
// top and bottom sections, sweeping horizontally around the sphere,
|
|
||||||
// alternating left and right eyes.
|
|
||||||
for (int v = 0; v < vTotal; v++)
|
|
||||||
{
|
|
||||||
var pitch = 90.0f - (v * dv) - dvHalf;
|
|
||||||
var uTotal = width / targetTexture.width;
|
|
||||||
var du = 360.0f / uTotal; // horizontal degrees per segment
|
|
||||||
var duHalf = du / 2.0f;
|
|
||||||
|
|
||||||
var vTarget = v * halfHeight / vTotal;
|
|
||||||
|
|
||||||
for (int i = 0; i < 2; i++) // top, bottom
|
|
||||||
{
|
|
||||||
if (i == 1)
|
|
||||||
{
|
|
||||||
pitch = -pitch;
|
|
||||||
vTarget = height - vTarget - cellSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int u = 0; u < uTotal; u++)
|
|
||||||
{
|
|
||||||
var yaw = -180.0f + (u * du) + duHalf;
|
|
||||||
|
|
||||||
var uTarget = u * width / uTotal;
|
|
||||||
|
|
||||||
var xOffset = -ipd / 2 * Mathf.Cos(pitch * Mathf.Deg2Rad);
|
|
||||||
|
|
||||||
for (int j = 0; j < 2; j++) // left, right
|
|
||||||
{
|
|
||||||
var texture = textures[j];
|
|
||||||
|
|
||||||
if (j == 1)
|
|
||||||
{
|
|
||||||
xOffset = -xOffset;
|
|
||||||
}
|
|
||||||
|
|
||||||
var offset = baseRotation * Quaternion.Euler(0, yaw, 0) * new Vector3(xOffset, 0, 0);
|
|
||||||
transform.position = basePosition + offset;
|
|
||||||
|
|
||||||
var direction = Quaternion.Euler(pitch, yaw, 0.0f);
|
|
||||||
transform.rotation = baseRotation * direction;
|
|
||||||
|
|
||||||
// vector pointing to center of this section
|
|
||||||
var N = direction * Vector3.forward;
|
|
||||||
|
|
||||||
// horizontal span of this section in degrees
|
|
||||||
var phi0 = yaw - (du / 2);
|
|
||||||
var phi1 = phi0 + du;
|
|
||||||
|
|
||||||
// vertical span of this section in degrees
|
|
||||||
var theta0 = pitch + (dv / 2);
|
|
||||||
var theta1 = theta0 - dv;
|
|
||||||
|
|
||||||
var midPhi = (phi0 + phi1) / 2;
|
|
||||||
var baseTheta = Mathf.Abs(theta0) < Mathf.Abs(theta1) ? theta0 : theta1;
|
|
||||||
|
|
||||||
// vectors pointing to corners of image closes to the equator
|
|
||||||
var V00 = Quaternion.Euler(baseTheta, phi0, 0.0f) * Vector3.forward;
|
|
||||||
var V01 = Quaternion.Euler(baseTheta, phi1, 0.0f) * Vector3.forward;
|
|
||||||
|
|
||||||
// vectors pointing to top and bottom midsection of image
|
|
||||||
var V0M = Quaternion.Euler(theta0, midPhi, 0.0f) * Vector3.forward;
|
|
||||||
var V1M = Quaternion.Euler(theta1, midPhi, 0.0f) * Vector3.forward;
|
|
||||||
|
|
||||||
// intersection points for each of the above
|
|
||||||
var P00 = V00 / Vector3.Dot(V00, N);
|
|
||||||
var P01 = V01 / Vector3.Dot(V01, N);
|
|
||||||
var P0M = V0M / Vector3.Dot(V0M, N);
|
|
||||||
var P1M = V1M / Vector3.Dot(V1M, N);
|
|
||||||
|
|
||||||
// calculate basis vectors for plane
|
|
||||||
var P00_P01 = P01 - P00;
|
|
||||||
var P0M_P1M = P1M - P0M;
|
|
||||||
|
|
||||||
var uMag = P00_P01.magnitude;
|
|
||||||
var vMag = P0M_P1M.magnitude;
|
|
||||||
|
|
||||||
var uScale = 1.0f / uMag;
|
|
||||||
var vScale = 1.0f / vMag;
|
|
||||||
|
|
||||||
var uAxis = P00_P01 * uScale;
|
|
||||||
var vAxis = P0M_P1M * vScale;
|
|
||||||
|
|
||||||
// update material constant buffer
|
|
||||||
fx.Set(N, phi0, phi1, theta0, theta1,
|
|
||||||
uAxis, P00, uScale,
|
|
||||||
vAxis, P0M, vScale);
|
|
||||||
|
|
||||||
camera.aspect = uMag / vMag;
|
|
||||||
camera.Render();
|
|
||||||
|
|
||||||
RenderTexture.active = targetTexture;
|
|
||||||
texture.ReadPixels(new Rect(0, 0, targetTexture.width, targetTexture.height), uTarget, vTarget);
|
|
||||||
RenderTexture.active = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Save textures to disk.
|
|
||||||
for (int i = 0; i < 2; i++)
|
|
||||||
{
|
|
||||||
var texture = textures[i];
|
|
||||||
|
|
||||||
texture.Apply();
|
|
||||||
var assetName = string.Format(nameFormat, assetPath, target.name, i);
|
|
||||||
File.WriteAllBytes(assetName, texture.EncodeToPNG());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Cleanup.
|
|
||||||
if (camera != tempCamera)
|
|
||||||
{
|
|
||||||
camera.targetTexture = oldTargetTexture;
|
|
||||||
camera.orthographic = oldOrthographic;
|
|
||||||
camera.fieldOfView = oldFieldOfView;
|
|
||||||
camera.aspect = oldAspect;
|
|
||||||
|
|
||||||
target.transform.localPosition = oldPosition;
|
|
||||||
target.transform.localRotation = oldRotation;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
tempCamera.targetTexture = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
DestroyImmediate(targetTexture);
|
|
||||||
DestroyImmediate(fx);
|
|
||||||
|
|
||||||
timer.Stop();
|
|
||||||
Debug.Log(string.Format("<b>[SteamVR]</b> Screenshot took {0} seconds.", timer.Elapsed));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tempCamera != null)
|
|
||||||
{
|
|
||||||
DestroyImmediate(tempCamera.gameObject);
|
|
||||||
}
|
|
||||||
|
|
||||||
DestroyImmediate(textures[0]);
|
|
||||||
DestroyImmediate(textures[1]);
|
|
||||||
|
|
||||||
// Now that everything has be written out, reload the associated assets and assign them.
|
|
||||||
AssetDatabase.Refresh();
|
|
||||||
foreach (SteamVR_Skybox target in targets)
|
|
||||||
{
|
|
||||||
var targetScene = target.gameObject.scene;
|
|
||||||
var sceneName = Path.GetFileNameWithoutExtension(targetScene.path);
|
|
||||||
var scenePath = Path.GetDirectoryName(targetScene.path);
|
|
||||||
var assetPath = scenePath + "/" + sceneName;
|
|
||||||
|
|
||||||
for (int i = 0; i < 2; i++)
|
|
||||||
{
|
|
||||||
var assetName = string.Format(nameFormat, assetPath, target.name, i);
|
|
||||||
var importer = AssetImporter.GetAtPath(assetName) as TextureImporter;
|
|
||||||
importer.mipmapEnabled = false;
|
|
||||||
importer.wrapMode = TextureWrapMode.Repeat;
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
importer.SetPlatformTextureSettings("Standalone", width, TextureImporterFormat.RGB24);
|
|
||||||
#else
|
|
||||||
var settings = importer.GetPlatformTextureSettings("Standalone");
|
|
||||||
settings.textureCompression = TextureImporterCompression.Uncompressed;
|
|
||||||
settings.maxTextureSize = width;
|
|
||||||
importer.SetPlatformTextureSettings(settings);
|
|
||||||
#endif
|
|
||||||
importer.SaveAndReimport();
|
|
||||||
|
|
||||||
var texture = AssetDatabase.LoadAssetAtPath<Texture2D>(assetName);
|
|
||||||
target.SetTextureByIndex(i, texture);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 80087fbbf7bf93a46bb4aea276b19568
|
|
||||||
timeCreated: 1446765449
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,692 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Prompt developers to use settings most compatible with SteamVR.
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[InitializeOnLoad]
|
|
||||||
public class SteamVR_UnitySettingsWindow : EditorWindow
|
|
||||||
{
|
|
||||||
const bool forceShow = false; // Set to true to get the dialog to show back up in the case you clicked Ignore All.
|
|
||||||
|
|
||||||
const string ignore = "ignore.";
|
|
||||||
const string useRecommended = "Use recommended ({0})";
|
|
||||||
const string currentValue = " (current = {0})";
|
|
||||||
|
|
||||||
const string buildTarget = "Build Target";
|
|
||||||
const string showUnitySplashScreen = "Show Unity Splashscreen";
|
|
||||||
const string defaultIsFullScreen = "Default is Fullscreen";
|
|
||||||
const string defaultScreenSize = "Default Screen Size";
|
|
||||||
const string runInBackground = "Run In Background";
|
|
||||||
const string displayResolutionDialog = "Display Resolution Dialog";
|
|
||||||
const string resizableWindow = "Resizable Window";
|
|
||||||
const string fullscreenMode = "D3D11 Fullscreen Mode";
|
|
||||||
const string visibleInBackground = "Visible In Background";
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
const string renderingPath = "Rendering Path";
|
|
||||||
#endif
|
|
||||||
const string colorSpace = "Color Space";
|
|
||||||
const string gpuSkinning = "GPU Skinning";
|
|
||||||
#if false // skyboxes are currently broken
|
|
||||||
const string singlePassStereoRendering = "Single-Pass Stereo Rendering";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const BuildTarget recommended_BuildTarget = BuildTarget.StandaloneWindows64;
|
|
||||||
const bool recommended_ShowUnitySplashScreen = false;
|
|
||||||
const bool recommended_DefaultIsFullScreen = false;
|
|
||||||
const int recommended_DefaultScreenWidth = 1024;
|
|
||||||
const int recommended_DefaultScreenHeight = 768;
|
|
||||||
const bool recommended_RunInBackground = true;
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
const ResolutionDialogSetting recommended_DisplayResolutionDialog = ResolutionDialogSetting.HiddenByDefault;
|
|
||||||
#endif
|
|
||||||
const bool recommended_ResizableWindow = true;
|
|
||||||
const D3D11FullscreenMode recommended_FullscreenMode = D3D11FullscreenMode.FullscreenWindow;
|
|
||||||
const bool recommended_VisibleInBackground = true;
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
const RenderingPath recommended_RenderPath = RenderingPath.Forward;
|
|
||||||
#endif
|
|
||||||
const ColorSpace recommended_ColorSpace = ColorSpace.Linear;
|
|
||||||
const bool recommended_GpuSkinning = true;
|
|
||||||
#if false
|
|
||||||
const bool recommended_SinglePassStereoRendering = true;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
const FullScreenMode recommended_FullScreenMode = FullScreenMode.FullScreenWindow;
|
|
||||||
#endif
|
|
||||||
static SteamVR_UnitySettingsWindow window;
|
|
||||||
|
|
||||||
static SteamVR_UnitySettingsWindow()
|
|
||||||
{
|
|
||||||
EditorApplication.update += Update;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void Update()
|
|
||||||
{
|
|
||||||
bool show =
|
|
||||||
(!EditorPrefs.HasKey(ignore + buildTarget) &&
|
|
||||||
EditorUserBuildSettings.activeBuildTarget != recommended_BuildTarget) ||
|
|
||||||
(!EditorPrefs.HasKey(ignore + showUnitySplashScreen) &&
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
PlayerSettings.showUnitySplashScreen != recommended_ShowUnitySplashScreen) ||
|
|
||||||
#else
|
|
||||||
PlayerSettings.SplashScreen.show != recommended_ShowUnitySplashScreen) ||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
(!EditorPrefs.HasKey(ignore + defaultIsFullScreen) &&
|
|
||||||
PlayerSettings.fullScreenMode != recommended_FullScreenMode) ||
|
|
||||||
#else
|
|
||||||
(!EditorPrefs.HasKey(ignore + defaultIsFullScreen) &&
|
|
||||||
PlayerSettings.defaultIsFullScreen != recommended_DefaultIsFullScreen) ||
|
|
||||||
(!EditorPrefs.HasKey(ignore + fullscreenMode) &&
|
|
||||||
PlayerSettings.d3d11FullscreenMode != recommended_FullscreenMode) ||
|
|
||||||
#endif
|
|
||||||
(!EditorPrefs.HasKey(ignore + defaultScreenSize) &&
|
|
||||||
(PlayerSettings.defaultScreenWidth != recommended_DefaultScreenWidth ||
|
|
||||||
PlayerSettings.defaultScreenHeight != recommended_DefaultScreenHeight)) ||
|
|
||||||
(!EditorPrefs.HasKey(ignore + runInBackground) &&
|
|
||||||
PlayerSettings.runInBackground != recommended_RunInBackground) ||
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
(!EditorPrefs.HasKey(ignore + displayResolutionDialog) &&
|
|
||||||
PlayerSettings.displayResolutionDialog != recommended_DisplayResolutionDialog) ||
|
|
||||||
#endif
|
|
||||||
(!EditorPrefs.HasKey(ignore + resizableWindow) &&
|
|
||||||
PlayerSettings.resizableWindow != recommended_ResizableWindow) ||
|
|
||||||
(!EditorPrefs.HasKey(ignore + visibleInBackground) &&
|
|
||||||
PlayerSettings.visibleInBackground != recommended_VisibleInBackground) ||
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
(!EditorPrefs.HasKey(ignore + renderingPath) &&
|
|
||||||
PlayerSettings.renderingPath != recommended_RenderPath) ||
|
|
||||||
#endif
|
|
||||||
(!EditorPrefs.HasKey(ignore + colorSpace) &&
|
|
||||||
PlayerSettings.colorSpace != recommended_ColorSpace) ||
|
|
||||||
(!EditorPrefs.HasKey(ignore + gpuSkinning) &&
|
|
||||||
PlayerSettings.gpuSkinning != recommended_GpuSkinning) ||
|
|
||||||
#if false
|
|
||||||
(!EditorPrefs.HasKey(ignore + singlePassStereoRendering) &&
|
|
||||||
PlayerSettings.singlePassStereoRendering != recommended_SinglePassStereoRendering) ||
|
|
||||||
#endif
|
|
||||||
forceShow;
|
|
||||||
|
|
||||||
if (show)
|
|
||||||
{
|
|
||||||
window = GetWindow<SteamVR_UnitySettingsWindow>(true);
|
|
||||||
window.minSize = new Vector2(320, 440);
|
|
||||||
//window.title = "SteamVR";
|
|
||||||
}
|
|
||||||
|
|
||||||
string[] dlls = new string[]
|
|
||||||
{
|
|
||||||
"Plugins/x86/openvr_api.dll",
|
|
||||||
"Plugins/x86_64/openvr_api.dll"
|
|
||||||
};
|
|
||||||
|
|
||||||
foreach (string path in dlls)
|
|
||||||
{
|
|
||||||
if (!File.Exists(Application.dataPath + "/" + path))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (AssetDatabase.DeleteAsset("Assets/" + path))
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> Deleting " + path);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Debug.Log("<b>[SteamVR Setup]</b> " + path + " in use; cannot delete. Please restart Unity to complete upgrade.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorApplication.update -= Update;
|
|
||||||
}
|
|
||||||
|
|
||||||
Vector2 scrollPosition;
|
|
||||||
|
|
||||||
string GetResourcePath()
|
|
||||||
{
|
|
||||||
var ms = MonoScript.FromScriptableObject(this);
|
|
||||||
var path = AssetDatabase.GetAssetPath(ms);
|
|
||||||
path = Path.GetDirectoryName(path);
|
|
||||||
return path.Substring(0, path.Length - "Editor".Length) + "Textures/";
|
|
||||||
}
|
|
||||||
|
|
||||||
public void OnGUI()
|
|
||||||
{
|
|
||||||
var resourcePath = GetResourcePath();
|
|
||||||
var logo = AssetDatabase.LoadAssetAtPath<Texture2D>(resourcePath + "logo.png");
|
|
||||||
var rect = GUILayoutUtility.GetRect(position.width, 150, GUI.skin.box);
|
|
||||||
if (logo)
|
|
||||||
GUI.DrawTexture(rect, logo, ScaleMode.ScaleToFit);
|
|
||||||
|
|
||||||
EditorGUILayout.HelpBox("Recommended project settings for SteamVR:", MessageType.Warning);
|
|
||||||
|
|
||||||
scrollPosition = GUILayout.BeginScrollView(scrollPosition);
|
|
||||||
|
|
||||||
int numItems = 0;
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + buildTarget) &&
|
|
||||||
EditorUserBuildSettings.activeBuildTarget != recommended_BuildTarget)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(buildTarget + string.Format(currentValue, EditorUserBuildSettings.activeBuildTarget));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_BuildTarget)))
|
|
||||||
{
|
|
||||||
#if (UNITY_5_5 || UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
EditorUserBuildSettings.SwitchActiveBuildTarget(recommended_BuildTarget);
|
|
||||||
#else
|
|
||||||
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.Standalone, recommended_BuildTarget);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + buildTarget, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
if (!EditorPrefs.HasKey(ignore + showUnitySplashScreen) &&
|
|
||||||
PlayerSettings.showUnitySplashScreen != recommended_ShowUnitySplashScreen)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(showUnitySplashScreen + string.Format(currentValue, PlayerSettings.showUnitySplashScreen));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_ShowUnitySplashScreen)))
|
|
||||||
{
|
|
||||||
PlayerSettings.showUnitySplashScreen = recommended_ShowUnitySplashScreen;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + showUnitySplashScreen, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
if (!EditorPrefs.HasKey(ignore + showUnitySplashScreen) &&
|
|
||||||
PlayerSettings.SplashScreen.show != recommended_ShowUnitySplashScreen)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(showUnitySplashScreen + string.Format(currentValue, PlayerSettings.SplashScreen.show));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_ShowUnitySplashScreen)))
|
|
||||||
{
|
|
||||||
PlayerSettings.SplashScreen.show = recommended_ShowUnitySplashScreen;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + showUnitySplashScreen, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
#else
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultIsFullScreen) &&
|
|
||||||
PlayerSettings.defaultIsFullScreen != recommended_DefaultIsFullScreen)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(defaultIsFullScreen + string.Format(currentValue, PlayerSettings.defaultIsFullScreen));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_DefaultIsFullScreen)))
|
|
||||||
{
|
|
||||||
PlayerSettings.defaultIsFullScreen = recommended_DefaultIsFullScreen;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + defaultIsFullScreen, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultScreenSize) &&
|
|
||||||
(PlayerSettings.defaultScreenWidth != recommended_DefaultScreenWidth ||
|
|
||||||
PlayerSettings.defaultScreenHeight != recommended_DefaultScreenHeight))
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(defaultScreenSize + string.Format(" ({0}x{1})", PlayerSettings.defaultScreenWidth, PlayerSettings.defaultScreenHeight));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format("Use recommended ({0}x{1})", recommended_DefaultScreenWidth, recommended_DefaultScreenHeight)))
|
|
||||||
{
|
|
||||||
PlayerSettings.defaultScreenWidth = recommended_DefaultScreenWidth;
|
|
||||||
PlayerSettings.defaultScreenHeight = recommended_DefaultScreenHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + defaultScreenSize, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + runInBackground) &&
|
|
||||||
PlayerSettings.runInBackground != recommended_RunInBackground)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(runInBackground + string.Format(currentValue, PlayerSettings.runInBackground));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_RunInBackground)))
|
|
||||||
{
|
|
||||||
PlayerSettings.runInBackground = recommended_RunInBackground;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + runInBackground, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
if (!EditorPrefs.HasKey(ignore + displayResolutionDialog) &&
|
|
||||||
PlayerSettings.displayResolutionDialog != recommended_DisplayResolutionDialog)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(displayResolutionDialog + string.Format(currentValue, PlayerSettings.displayResolutionDialog));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_DisplayResolutionDialog)))
|
|
||||||
{
|
|
||||||
PlayerSettings.displayResolutionDialog = recommended_DisplayResolutionDialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + displayResolutionDialog, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + resizableWindow) &&
|
|
||||||
PlayerSettings.resizableWindow != recommended_ResizableWindow)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(resizableWindow + string.Format(currentValue, PlayerSettings.resizableWindow));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_ResizableWindow)))
|
|
||||||
{
|
|
||||||
PlayerSettings.resizableWindow = recommended_ResizableWindow;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + resizableWindow, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultIsFullScreen) &&
|
|
||||||
PlayerSettings.fullScreenMode != recommended_FullScreenMode)
|
|
||||||
#else
|
|
||||||
if (!EditorPrefs.HasKey(ignore + fullscreenMode) &&
|
|
||||||
PlayerSettings.d3d11FullscreenMode != recommended_FullscreenMode)
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
GUILayout.Label(fullscreenMode + string.Format(currentValue, PlayerSettings.fullScreenMode));
|
|
||||||
#else
|
|
||||||
GUILayout.Label(fullscreenMode + string.Format(currentValue, PlayerSettings.d3d11FullscreenMode));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_FullscreenMode)))
|
|
||||||
{
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
PlayerSettings.fullScreenMode = recommended_FullScreenMode;
|
|
||||||
#else
|
|
||||||
PlayerSettings.d3d11FullscreenMode = recommended_FullscreenMode;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + fullscreenMode, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + visibleInBackground) &&
|
|
||||||
PlayerSettings.visibleInBackground != recommended_VisibleInBackground)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(visibleInBackground + string.Format(currentValue, PlayerSettings.visibleInBackground));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_VisibleInBackground)))
|
|
||||||
{
|
|
||||||
PlayerSettings.visibleInBackground = recommended_VisibleInBackground;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + visibleInBackground, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
if (!EditorPrefs.HasKey(ignore + renderingPath) &&
|
|
||||||
PlayerSettings.renderingPath != recommended_RenderPath)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(renderingPath + string.Format(currentValue, PlayerSettings.renderingPath));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_RenderPath) + " - required for MSAA"))
|
|
||||||
{
|
|
||||||
PlayerSettings.renderingPath = recommended_RenderPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + renderingPath, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
if (!EditorPrefs.HasKey(ignore + colorSpace) &&
|
|
||||||
PlayerSettings.colorSpace != recommended_ColorSpace)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(colorSpace + string.Format(currentValue, PlayerSettings.colorSpace));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_ColorSpace) + " - requires reloading scene"))
|
|
||||||
{
|
|
||||||
PlayerSettings.colorSpace = recommended_ColorSpace;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + colorSpace, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!EditorPrefs.HasKey(ignore + gpuSkinning) &&
|
|
||||||
PlayerSettings.gpuSkinning != recommended_GpuSkinning)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(gpuSkinning + string.Format(currentValue, PlayerSettings.gpuSkinning));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_GpuSkinning)))
|
|
||||||
{
|
|
||||||
PlayerSettings.gpuSkinning = recommended_GpuSkinning;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + gpuSkinning, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if false
|
|
||||||
if (!EditorPrefs.HasKey(ignore + singlePassStereoRendering) &&
|
|
||||||
PlayerSettings.singlePassStereoRendering != recommended_SinglePassStereoRendering)
|
|
||||||
{
|
|
||||||
++numItems;
|
|
||||||
|
|
||||||
GUILayout.Label(singlePassStereoRendering + string.Format(currentValue, PlayerSettings.singlePassStereoRendering));
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (GUILayout.Button(string.Format(useRecommended, recommended_SinglePassStereoRendering)))
|
|
||||||
{
|
|
||||||
PlayerSettings.singlePassStereoRendering = recommended_SinglePassStereoRendering;
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore"))
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + singlePassStereoRendering, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Clear All Ignores"))
|
|
||||||
{
|
|
||||||
EditorPrefs.DeleteKey(ignore + buildTarget);
|
|
||||||
EditorPrefs.DeleteKey(ignore + showUnitySplashScreen);
|
|
||||||
EditorPrefs.DeleteKey(ignore + defaultIsFullScreen);
|
|
||||||
EditorPrefs.DeleteKey(ignore + defaultScreenSize);
|
|
||||||
EditorPrefs.DeleteKey(ignore + runInBackground);
|
|
||||||
EditorPrefs.DeleteKey(ignore + displayResolutionDialog);
|
|
||||||
EditorPrefs.DeleteKey(ignore + resizableWindow);
|
|
||||||
EditorPrefs.DeleteKey(ignore + fullscreenMode);
|
|
||||||
EditorPrefs.DeleteKey(ignore + visibleInBackground);
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
EditorPrefs.DeleteKey(ignore + renderingPath);
|
|
||||||
#endif
|
|
||||||
EditorPrefs.DeleteKey(ignore + colorSpace);
|
|
||||||
EditorPrefs.DeleteKey(ignore + gpuSkinning);
|
|
||||||
#if false
|
|
||||||
EditorPrefs.DeleteKey(ignore + singlePassStereoRendering);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
|
|
||||||
GUILayout.EndScrollView();
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
GUILayout.BeginHorizontal();
|
|
||||||
|
|
||||||
if (numItems > 0)
|
|
||||||
{
|
|
||||||
if (GUILayout.Button("Accept All"))
|
|
||||||
{
|
|
||||||
// Only set those that have not been explicitly ignored.
|
|
||||||
if (!EditorPrefs.HasKey(ignore + buildTarget))
|
|
||||||
#if (UNITY_5_5 || UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
EditorUserBuildSettings.SwitchActiveBuildTarget(recommended_BuildTarget);
|
|
||||||
#else
|
|
||||||
EditorUserBuildSettings.SwitchActiveBuildTarget(BuildTargetGroup.Standalone, recommended_BuildTarget);
|
|
||||||
#endif
|
|
||||||
if (!EditorPrefs.HasKey(ignore + showUnitySplashScreen))
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
PlayerSettings.showUnitySplashScreen = recommended_ShowUnitySplashScreen;
|
|
||||||
#else
|
|
||||||
PlayerSettings.SplashScreen.show = recommended_ShowUnitySplashScreen;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultIsFullScreen))
|
|
||||||
PlayerSettings.fullScreenMode = recommended_FullScreenMode;
|
|
||||||
#else
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultIsFullScreen))
|
|
||||||
PlayerSettings.defaultIsFullScreen = recommended_DefaultIsFullScreen;
|
|
||||||
if (!EditorPrefs.HasKey(ignore + fullscreenMode))
|
|
||||||
PlayerSettings.d3d11FullscreenMode = recommended_FullscreenMode;
|
|
||||||
#endif
|
|
||||||
if (!EditorPrefs.HasKey(ignore + defaultScreenSize))
|
|
||||||
{
|
|
||||||
PlayerSettings.defaultScreenWidth = recommended_DefaultScreenWidth;
|
|
||||||
PlayerSettings.defaultScreenHeight = recommended_DefaultScreenHeight;
|
|
||||||
}
|
|
||||||
if (!EditorPrefs.HasKey(ignore + runInBackground))
|
|
||||||
PlayerSettings.runInBackground = recommended_RunInBackground;
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
if (!EditorPrefs.HasKey(ignore + displayResolutionDialog))
|
|
||||||
PlayerSettings.displayResolutionDialog = recommended_DisplayResolutionDialog;
|
|
||||||
#endif
|
|
||||||
if (!EditorPrefs.HasKey(ignore + resizableWindow))
|
|
||||||
PlayerSettings.resizableWindow = recommended_ResizableWindow;
|
|
||||||
if (!EditorPrefs.HasKey(ignore + visibleInBackground))
|
|
||||||
PlayerSettings.visibleInBackground = recommended_VisibleInBackground;
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
if (!EditorPrefs.HasKey(ignore + renderingPath))
|
|
||||||
PlayerSettings.renderingPath = recommended_RenderPath;
|
|
||||||
#endif
|
|
||||||
if (!EditorPrefs.HasKey(ignore + colorSpace))
|
|
||||||
PlayerSettings.colorSpace = recommended_ColorSpace;
|
|
||||||
if (!EditorPrefs.HasKey(ignore + gpuSkinning))
|
|
||||||
PlayerSettings.gpuSkinning = recommended_GpuSkinning;
|
|
||||||
#if false
|
|
||||||
if (!EditorPrefs.HasKey(ignore + singlePassStereoRendering))
|
|
||||||
PlayerSettings.singlePassStereoRendering = recommended_SinglePassStereoRendering;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
EditorUtility.DisplayDialog("Accept All", "You made the right choice!", "Ok");
|
|
||||||
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (GUILayout.Button("Ignore All"))
|
|
||||||
{
|
|
||||||
if (EditorUtility.DisplayDialog("Ignore All", "Are you sure?", "Yes, Ignore All", "Cancel"))
|
|
||||||
{
|
|
||||||
// Only ignore those that do not currently match our recommended settings.
|
|
||||||
if (EditorUserBuildSettings.activeBuildTarget != recommended_BuildTarget)
|
|
||||||
EditorPrefs.SetBool(ignore + buildTarget, true);
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
if (PlayerSettings.showUnitySplashScreen != recommended_ShowUnitySplashScreen)
|
|
||||||
#else
|
|
||||||
if (PlayerSettings.SplashScreen.show != recommended_ShowUnitySplashScreen)
|
|
||||||
#endif
|
|
||||||
EditorPrefs.SetBool(ignore + showUnitySplashScreen, true);
|
|
||||||
|
|
||||||
#if UNITY_2018_1_OR_NEWER
|
|
||||||
if (PlayerSettings.fullScreenMode != recommended_FullScreenMode)
|
|
||||||
{
|
|
||||||
EditorPrefs.SetBool(ignore + defaultIsFullScreen, true);
|
|
||||||
EditorPrefs.SetBool(ignore + fullscreenMode, true);
|
|
||||||
}
|
|
||||||
#else
|
|
||||||
if (PlayerSettings.defaultIsFullScreen != recommended_DefaultIsFullScreen)
|
|
||||||
EditorPrefs.SetBool(ignore + defaultIsFullScreen, true);
|
|
||||||
if (PlayerSettings.d3d11FullscreenMode != recommended_FullscreenMode)
|
|
||||||
EditorPrefs.SetBool(ignore + fullscreenMode, true);
|
|
||||||
#endif
|
|
||||||
if (PlayerSettings.defaultScreenWidth != recommended_DefaultScreenWidth ||
|
|
||||||
PlayerSettings.defaultScreenHeight != recommended_DefaultScreenHeight)
|
|
||||||
EditorPrefs.SetBool(ignore + defaultScreenSize, true);
|
|
||||||
if (PlayerSettings.runInBackground != recommended_RunInBackground)
|
|
||||||
EditorPrefs.SetBool(ignore + runInBackground, true);
|
|
||||||
#if !UNITY_2019_1_OR_NEWER
|
|
||||||
if (PlayerSettings.displayResolutionDialog != recommended_DisplayResolutionDialog)
|
|
||||||
EditorPrefs.SetBool(ignore + displayResolutionDialog, true);
|
|
||||||
#endif
|
|
||||||
if (PlayerSettings.resizableWindow != recommended_ResizableWindow)
|
|
||||||
EditorPrefs.SetBool(ignore + resizableWindow, true);
|
|
||||||
if (PlayerSettings.visibleInBackground != recommended_VisibleInBackground)
|
|
||||||
EditorPrefs.SetBool(ignore + visibleInBackground, true);
|
|
||||||
#if (UNITY_5_4 || UNITY_5_3 || UNITY_5_2 || UNITY_5_1 || UNITY_5_0)
|
|
||||||
if (PlayerSettings.renderingPath != recommended_RenderPath)
|
|
||||||
EditorPrefs.SetBool(ignore + renderingPath, true);
|
|
||||||
#endif
|
|
||||||
if (PlayerSettings.colorSpace != recommended_ColorSpace)
|
|
||||||
EditorPrefs.SetBool(ignore + colorSpace, true);
|
|
||||||
if (PlayerSettings.gpuSkinning != recommended_GpuSkinning)
|
|
||||||
EditorPrefs.SetBool(ignore + gpuSkinning, true);
|
|
||||||
#if false
|
|
||||||
if (PlayerSettings.singlePassStereoRendering != recommended_SinglePassStereoRendering)
|
|
||||||
EditorPrefs.SetBool(ignore + singlePassStereoRendering, true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (GUILayout.Button("Close"))
|
|
||||||
{
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndHorizontal();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: d2244eee8a3a4784fb40d1123ff69301
|
|
||||||
timeCreated: 1438809573
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,180 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
//
|
|
||||||
// Purpose: Notify developers when a new version of the plugin is available.
|
|
||||||
//
|
|
||||||
//=============================================================================
|
|
||||||
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEditor;
|
|
||||||
using System.IO;
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
|
|
||||||
#if UNITY_2018_3_OR_NEWER
|
|
||||||
#pragma warning disable CS0618
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[InitializeOnLoad]
|
|
||||||
public class SteamVR_Update : EditorWindow
|
|
||||||
{
|
|
||||||
const string currentVersion = "2.1";
|
|
||||||
const string versionUrl = "http://media.steampowered.com/apps/steamvr/unitypluginversion.txt";
|
|
||||||
const string notesUrl = "http://media.steampowered.com/apps/steamvr/unityplugin-v{0}.txt";
|
|
||||||
const string pluginUrl = "http://u3d.as/content/valve-corporation/steam-vr-plugin";
|
|
||||||
const string doNotShowKey = "SteamVR.DoNotShow.v{0}";
|
|
||||||
|
|
||||||
static bool gotVersion = false;
|
|
||||||
static WWW wwwVersion, wwwNotes;
|
|
||||||
static string version, notes;
|
|
||||||
static SteamVR_Update window;
|
|
||||||
|
|
||||||
static SteamVR_Update()
|
|
||||||
{
|
|
||||||
EditorApplication.update += Update;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void Update()
|
|
||||||
{
|
|
||||||
if (!gotVersion)
|
|
||||||
{
|
|
||||||
if (wwwVersion == null)
|
|
||||||
wwwVersion = new WWW(versionUrl);
|
|
||||||
|
|
||||||
if (!wwwVersion.isDone)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (UrlSuccess(wwwVersion))
|
|
||||||
version = wwwVersion.text;
|
|
||||||
|
|
||||||
wwwVersion = null;
|
|
||||||
gotVersion = true;
|
|
||||||
|
|
||||||
if (ShouldDisplay())
|
|
||||||
{
|
|
||||||
var url = string.Format(notesUrl, version);
|
|
||||||
wwwNotes = new WWW(url);
|
|
||||||
|
|
||||||
window = GetWindow<SteamVR_Update>(true);
|
|
||||||
window.minSize = new Vector2(320, 440);
|
|
||||||
//window.title = "SteamVR";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (wwwNotes != null)
|
|
||||||
{
|
|
||||||
if (!wwwNotes.isDone)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (UrlSuccess(wwwNotes))
|
|
||||||
notes = wwwNotes.text;
|
|
||||||
|
|
||||||
wwwNotes = null;
|
|
||||||
|
|
||||||
if (notes != "")
|
|
||||||
window.Repaint();
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorApplication.update -= Update;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool UrlSuccess(WWW www)
|
|
||||||
{
|
|
||||||
if (!string.IsNullOrEmpty(www.error))
|
|
||||||
return false;
|
|
||||||
if (Regex.IsMatch(www.text, "404 not found", RegexOptions.IgnoreCase))
|
|
||||||
return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool ShouldDisplay()
|
|
||||||
{
|
|
||||||
if (string.IsNullOrEmpty(version))
|
|
||||||
return false;
|
|
||||||
if (version == currentVersion)
|
|
||||||
return false;
|
|
||||||
if (EditorPrefs.HasKey(string.Format(doNotShowKey, version)))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// parse to see if newer (e.g. 1.0.4 vs 1.0.3)
|
|
||||||
var versionSplit = version.Split('.');
|
|
||||||
var currentVersionSplit = currentVersion.Split('.');
|
|
||||||
for (int i = 0; i < versionSplit.Length && i < currentVersionSplit.Length; i++)
|
|
||||||
{
|
|
||||||
int versionValue, currentVersionValue;
|
|
||||||
if (int.TryParse(versionSplit[i], out versionValue) &&
|
|
||||||
int.TryParse(currentVersionSplit[i], out currentVersionValue))
|
|
||||||
{
|
|
||||||
if (versionValue > currentVersionValue)
|
|
||||||
return true;
|
|
||||||
if (versionValue < currentVersionValue)
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// same up to this point, now differentiate based on number of sub values (e.g. 1.0.4.1 vs 1.0.4)
|
|
||||||
if (versionSplit.Length <= currentVersionSplit.Length)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
Vector2 scrollPosition;
|
|
||||||
bool toggleState;
|
|
||||||
|
|
||||||
string GetResourcePath()
|
|
||||||
{
|
|
||||||
var ms = MonoScript.FromScriptableObject(this);
|
|
||||||
var path = AssetDatabase.GetAssetPath(ms);
|
|
||||||
path = Path.GetDirectoryName(path);
|
|
||||||
return path.Substring(0, path.Length - "Editor".Length) + "Textures/";
|
|
||||||
}
|
|
||||||
|
|
||||||
public void OnGUI()
|
|
||||||
{
|
|
||||||
EditorGUILayout.HelpBox("A new version of the SteamVR plugin is available!", MessageType.Warning);
|
|
||||||
|
|
||||||
var resourcePath = GetResourcePath();
|
|
||||||
var logo = AssetDatabase.LoadAssetAtPath<Texture2D>(resourcePath + "logo.png");
|
|
||||||
var rect = GUILayoutUtility.GetRect(position.width, 150, GUI.skin.box);
|
|
||||||
if (logo)
|
|
||||||
GUI.DrawTexture(rect, logo, ScaleMode.ScaleToFit);
|
|
||||||
|
|
||||||
scrollPosition = GUILayout.BeginScrollView(scrollPosition);
|
|
||||||
|
|
||||||
GUILayout.Label("Current version: " + currentVersion);
|
|
||||||
GUILayout.Label("New version: " + version);
|
|
||||||
|
|
||||||
if (notes != "")
|
|
||||||
{
|
|
||||||
GUILayout.Label("Release notes:");
|
|
||||||
EditorGUILayout.HelpBox(notes, MessageType.Info);
|
|
||||||
}
|
|
||||||
|
|
||||||
GUILayout.EndScrollView();
|
|
||||||
|
|
||||||
GUILayout.FlexibleSpace();
|
|
||||||
|
|
||||||
if (GUILayout.Button("Get Latest Version"))
|
|
||||||
{
|
|
||||||
Application.OpenURL(pluginUrl);
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorGUI.BeginChangeCheck();
|
|
||||||
var doNotShow = GUILayout.Toggle(toggleState, "Do not prompt for this version again.");
|
|
||||||
if (EditorGUI.EndChangeCheck())
|
|
||||||
{
|
|
||||||
toggleState = doNotShow;
|
|
||||||
var key = string.Format(doNotShowKey, version);
|
|
||||||
if (doNotShow)
|
|
||||||
EditorPrefs.SetBool(key, true);
|
|
||||||
else
|
|
||||||
EditorPrefs.DeleteKey(key);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#if UNITY_2018_3_OR_NEWER
|
|
||||||
#pragma warning restore CS0618
|
|
||||||
#endif
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 73a0556bda803bf4e898751dcfcf21a8
|
|
||||||
timeCreated: 1433880062
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,26 +0,0 @@
|
||||||
using UnityEditor;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
using System.CodeDom;
|
|
||||||
using Microsoft.CSharp;
|
|
||||||
using System.IO;
|
|
||||||
using System.CodeDom.Compiler;
|
|
||||||
|
|
||||||
using System.Linq;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[CustomPropertyDrawer(typeof(SteamVR_UpdateModes))]
|
|
||||||
public class SteamVR_UpdateModesEditor : PropertyDrawer
|
|
||||||
{
|
|
||||||
public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label)
|
|
||||||
{
|
|
||||||
_property.intValue = EditorGUI.MaskField(_position, _label, _property.intValue, _property.enumNames);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 656e3d05f0a289d4ab6f3d44f65c9b6d
|
|
||||||
timeCreated: 1521584981
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,9 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 61f4796ee4f00314e8d8b1ad39a78c28
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1438797390
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,35 +0,0 @@
|
||||||
using UnityEngine;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace Valve.VR.Extras
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// This is an example class of how to force steamvr initialization. You still need to have vr mode enabled
|
|
||||||
/// but you can have the top sdk set to None, then this script will force it to OpenVR after a second
|
|
||||||
/// </summary>
|
|
||||||
public class SteamVR_ForceSteamVRMode : MonoBehaviour
|
|
||||||
{
|
|
||||||
public GameObject vrCameraPrefab;
|
|
||||||
|
|
||||||
public GameObject[] disableObjectsOnLoad;
|
|
||||||
|
|
||||||
private IEnumerator Start()
|
|
||||||
{
|
|
||||||
yield return new WaitForSeconds(1f); // just here to show that you can wait a while.
|
|
||||||
|
|
||||||
SteamVR.Initialize(true);
|
|
||||||
|
|
||||||
while (SteamVR.initializedState != SteamVR.InitializedStates.InitializeSuccess)
|
|
||||||
yield return null;
|
|
||||||
|
|
||||||
for (int disableIndex = 0; disableIndex < disableObjectsOnLoad.Length; disableIndex++)
|
|
||||||
{
|
|
||||||
GameObject toDisable = disableObjectsOnLoad[disableIndex];
|
|
||||||
if (toDisable != null)
|
|
||||||
toDisable.SetActive(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
GameObject.Instantiate(vrCameraPrefab);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c4bc5db9c652ff8408b7cda0197f87f1
|
|
||||||
timeCreated: 1539107854
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,459 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
SceneSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PVSData:
|
|
||||||
m_PVSObjectsArray: []
|
|
||||||
m_PVSPortalsArray: []
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 7
|
|
||||||
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_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: 7
|
|
||||||
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: 4
|
|
||||||
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_DirectLightInLightProbes: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_RuntimeCPUUsage: 25
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
accuratePlacement: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualCellSize: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &24851820
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 24851825}
|
|
||||||
- 33: {fileID: 24851824}
|
|
||||||
- 135: {fileID: 24851823}
|
|
||||||
- 23: {fileID: 24851822}
|
|
||||||
- 54: {fileID: 24851821}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Sphere
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!54 &24851821
|
|
||||||
Rigidbody:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Mass: 1
|
|
||||||
m_Drag: 0
|
|
||||||
m_AngularDrag: 0
|
|
||||||
m_UseGravity: 1
|
|
||||||
m_IsKinematic: 0
|
|
||||||
m_Interpolate: 1
|
|
||||||
m_Constraints: 0
|
|
||||||
m_CollisionDetection: 0
|
|
||||||
--- !u!23 &24851822
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
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_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!135 &24851823
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Material: {fileID: 13400000, guid: 2e81b378186c0ed4c98c04cfd4096914, type: 2}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 0.5
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &24851824
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &24851825
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1.624, z: 2.68}
|
|
||||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 3
|
|
||||||
--- !u!1 &548674979
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 548674984}
|
|
||||||
- 20: {fileID: 548674983}
|
|
||||||
- 124: {fileID: 548674982}
|
|
||||||
- 92: {fileID: 548674981}
|
|
||||||
- 81: {fileID: 548674980}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Pancake Camera
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!81 &548674980
|
|
||||||
AudioListener:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 548674979}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!92 &548674981
|
|
||||||
Behaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 548674979}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!124 &548674982
|
|
||||||
Behaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 548674979}
|
|
||||||
m_Enabled: 1
|
|
||||||
--- !u!20 &548674983
|
|
||||||
Camera:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 548674979}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ClearFlags: 1
|
|
||||||
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: 1000
|
|
||||||
field of view: 60
|
|
||||||
orthographic: 0
|
|
||||||
orthographic size: 5
|
|
||||||
m_Depth: 0
|
|
||||||
m_CullingMask:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Bits: 4294967295
|
|
||||||
m_RenderingPath: -1
|
|
||||||
m_TargetTexture: {fileID: 0}
|
|
||||||
m_TargetDisplay: 0
|
|
||||||
m_TargetEye: 3
|
|
||||||
m_HDR: 0
|
|
||||||
m_OcclusionCulling: 1
|
|
||||||
m_StereoConvergence: 10
|
|
||||||
m_StereoSeparation: 0.022
|
|
||||||
m_StereoMirrorMode: 0
|
|
||||||
--- !u!4 &548674984
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 548674979}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0.49, y: 1.612, z: -1}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
--- !u!1 &595728105
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 595728107}
|
|
||||||
- 114: {fileID: 595728106}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Loader
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!114 &595728106
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 595728105}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: c4bc5db9c652ff8408b7cda0197f87f1, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
vrCameraPrefab: {fileID: 146900, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
disableObjectsOnLoad:
|
|
||||||
- {fileID: 548674979}
|
|
||||||
--- !u!4 &595728107
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 595728105}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: -4.327, y: 1.612, z: -0.253}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 4
|
|
||||||
--- !u!1 &1548954329
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1548954331}
|
|
||||||
- 108: {fileID: 1548954330}
|
|
||||||
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 &1548954330
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 7
|
|
||||||
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_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &1548954331
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
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_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!1 &1578927695
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1578927699}
|
|
||||||
- 33: {fileID: 1578927698}
|
|
||||||
- 23: {fileID: 1578927697}
|
|
||||||
- 65: {fileID: 1578927696}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Floor
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!65 &1578927696
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Size: {x: 10, y: 0.1, z: 10.000001}
|
|
||||||
m_Center: {x: 0, y: -0.05, z: 0}
|
|
||||||
--- !u!23 &1578927697
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: b41d1116a101a84499296ce28d16e6b9, type: 2}
|
|
||||||
m_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!33 &1578927698
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1578927699
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 4, y: 3, z: 4}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 2
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 9b1775e13a163e146930422a18e54bfc
|
|
||||||
timeCreated: 1539107812
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,83 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
using UnityEngine;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace Valve.VR.Extras
|
|
||||||
{
|
|
||||||
public class SteamVR_GazeTracker : MonoBehaviour
|
|
||||||
{
|
|
||||||
public bool isInGaze = false;
|
|
||||||
public event GazeEventHandler GazeOn;
|
|
||||||
public event GazeEventHandler GazeOff;
|
|
||||||
public float gazeInCutoff = 0.15f;
|
|
||||||
public float gazeOutCutoff = 0.4f;
|
|
||||||
|
|
||||||
// Contains a HMD tracked object that we can use to find the user's gaze
|
|
||||||
protected Transform hmdTrackedObject = null;
|
|
||||||
|
|
||||||
public virtual void OnGazeOn(GazeEventArgs gazeEventArgs)
|
|
||||||
{
|
|
||||||
if (GazeOn != null)
|
|
||||||
GazeOn(this, gazeEventArgs);
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void OnGazeOff(GazeEventArgs gazeEventArgs)
|
|
||||||
{
|
|
||||||
if (GazeOff != null)
|
|
||||||
GazeOff(this, gazeEventArgs);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void Update()
|
|
||||||
{
|
|
||||||
// If we haven't set up hmdTrackedObject find what the user is looking at
|
|
||||||
if (hmdTrackedObject == null)
|
|
||||||
{
|
|
||||||
SteamVR_TrackedObject[] trackedObjects = FindObjectsOfType<SteamVR_TrackedObject>();
|
|
||||||
foreach (SteamVR_TrackedObject tracked in trackedObjects)
|
|
||||||
{
|
|
||||||
if (tracked.index == SteamVR_TrackedObject.EIndex.Hmd)
|
|
||||||
{
|
|
||||||
hmdTrackedObject = tracked.transform;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hmdTrackedObject)
|
|
||||||
{
|
|
||||||
Ray ray = new Ray(hmdTrackedObject.position, hmdTrackedObject.forward);
|
|
||||||
Plane plane = new Plane(hmdTrackedObject.forward, transform.position);
|
|
||||||
|
|
||||||
float enter = 0.0f;
|
|
||||||
if (plane.Raycast(ray, out enter))
|
|
||||||
{
|
|
||||||
Vector3 intersect = hmdTrackedObject.position + hmdTrackedObject.forward * enter;
|
|
||||||
float dist = Vector3.Distance(intersect, transform.position);
|
|
||||||
//Debug.Log("Gaze dist = " + dist);
|
|
||||||
if (dist < gazeInCutoff && !isInGaze)
|
|
||||||
{
|
|
||||||
isInGaze = true;
|
|
||||||
GazeEventArgs gazeEventArgs;
|
|
||||||
gazeEventArgs.distance = dist;
|
|
||||||
OnGazeOn(gazeEventArgs);
|
|
||||||
}
|
|
||||||
else if (dist >= gazeOutCutoff && isInGaze)
|
|
||||||
{
|
|
||||||
isInGaze = false;
|
|
||||||
GazeEventArgs gazeEventArgs;
|
|
||||||
gazeEventArgs.distance = dist;
|
|
||||||
OnGazeOff(gazeEventArgs);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public struct GazeEventArgs
|
|
||||||
{
|
|
||||||
public float distance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public delegate void GazeEventHandler(object sender, GazeEventArgs gazeEventArgs);
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 501eb8b744f73714fbe7dbdd5e3ef66e
|
|
||||||
timeCreated: 1426193800
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,168 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
using UnityEngine;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace Valve.VR.Extras
|
|
||||||
{
|
|
||||||
public class SteamVR_LaserPointer : MonoBehaviour
|
|
||||||
{
|
|
||||||
public SteamVR_Behaviour_Pose pose;
|
|
||||||
|
|
||||||
//public SteamVR_Action_Boolean interactWithUI = SteamVR_Input.__actions_default_in_InteractUI;
|
|
||||||
public SteamVR_Action_Boolean interactWithUI = SteamVR_Input.GetBooleanAction("InteractUI");
|
|
||||||
|
|
||||||
public bool active = true;
|
|
||||||
public Color color;
|
|
||||||
public float thickness = 0.002f;
|
|
||||||
public Color clickColor = Color.green;
|
|
||||||
public GameObject holder;
|
|
||||||
public GameObject pointer;
|
|
||||||
bool isActive = false;
|
|
||||||
public bool addRigidBody = false;
|
|
||||||
public Transform reference;
|
|
||||||
public event PointerEventHandler PointerIn;
|
|
||||||
public event PointerEventHandler PointerOut;
|
|
||||||
public event PointerEventHandler PointerClick;
|
|
||||||
|
|
||||||
Transform previousContact = null;
|
|
||||||
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
if (pose == null)
|
|
||||||
pose = this.GetComponent<SteamVR_Behaviour_Pose>();
|
|
||||||
if (pose == null)
|
|
||||||
Debug.LogError("No SteamVR_Behaviour_Pose component found on this object");
|
|
||||||
|
|
||||||
if (interactWithUI == null)
|
|
||||||
Debug.LogError("No ui interaction action has been set on this component.");
|
|
||||||
|
|
||||||
|
|
||||||
holder = new GameObject();
|
|
||||||
holder.transform.parent = this.transform;
|
|
||||||
holder.transform.localPosition = Vector3.zero;
|
|
||||||
holder.transform.localRotation = Quaternion.identity;
|
|
||||||
|
|
||||||
pointer = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
||||||
pointer.transform.parent = holder.transform;
|
|
||||||
pointer.transform.localScale = new Vector3(thickness, thickness, 100f);
|
|
||||||
pointer.transform.localPosition = new Vector3(0f, 0f, 50f);
|
|
||||||
pointer.transform.localRotation = Quaternion.identity;
|
|
||||||
BoxCollider collider = pointer.GetComponent<BoxCollider>();
|
|
||||||
if (addRigidBody)
|
|
||||||
{
|
|
||||||
if (collider)
|
|
||||||
{
|
|
||||||
collider.isTrigger = true;
|
|
||||||
}
|
|
||||||
Rigidbody rigidBody = pointer.AddComponent<Rigidbody>();
|
|
||||||
rigidBody.isKinematic = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (collider)
|
|
||||||
{
|
|
||||||
Object.Destroy(collider);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Material newMaterial = new Material(Shader.Find("Unlit/Color"));
|
|
||||||
newMaterial.SetColor("_Color", color);
|
|
||||||
pointer.GetComponent<MeshRenderer>().material = newMaterial;
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void OnPointerIn(PointerEventArgs e)
|
|
||||||
{
|
|
||||||
if (PointerIn != null)
|
|
||||||
PointerIn(this, e);
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void OnPointerClick(PointerEventArgs e)
|
|
||||||
{
|
|
||||||
if (PointerClick != null)
|
|
||||||
PointerClick(this, e);
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual void OnPointerOut(PointerEventArgs e)
|
|
||||||
{
|
|
||||||
if (PointerOut != null)
|
|
||||||
PointerOut(this, e);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
if (!isActive)
|
|
||||||
{
|
|
||||||
isActive = true;
|
|
||||||
this.transform.GetChild(0).gameObject.SetActive(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
float dist = 100f;
|
|
||||||
|
|
||||||
Ray raycast = new Ray(transform.position, transform.forward);
|
|
||||||
RaycastHit hit;
|
|
||||||
bool bHit = Physics.Raycast(raycast, out hit);
|
|
||||||
|
|
||||||
if (previousContact && previousContact != hit.transform)
|
|
||||||
{
|
|
||||||
PointerEventArgs args = new PointerEventArgs();
|
|
||||||
args.fromInputSource = pose.inputSource;
|
|
||||||
args.distance = 0f;
|
|
||||||
args.flags = 0;
|
|
||||||
args.target = previousContact;
|
|
||||||
OnPointerOut(args);
|
|
||||||
previousContact = null;
|
|
||||||
}
|
|
||||||
if (bHit && previousContact != hit.transform)
|
|
||||||
{
|
|
||||||
PointerEventArgs argsIn = new PointerEventArgs();
|
|
||||||
argsIn.fromInputSource = pose.inputSource;
|
|
||||||
argsIn.distance = hit.distance;
|
|
||||||
argsIn.flags = 0;
|
|
||||||
argsIn.target = hit.transform;
|
|
||||||
OnPointerIn(argsIn);
|
|
||||||
previousContact = hit.transform;
|
|
||||||
}
|
|
||||||
if (!bHit)
|
|
||||||
{
|
|
||||||
previousContact = null;
|
|
||||||
}
|
|
||||||
if (bHit && hit.distance < 100f)
|
|
||||||
{
|
|
||||||
dist = hit.distance;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bHit && interactWithUI.GetStateUp(pose.inputSource))
|
|
||||||
{
|
|
||||||
PointerEventArgs argsClick = new PointerEventArgs();
|
|
||||||
argsClick.fromInputSource = pose.inputSource;
|
|
||||||
argsClick.distance = hit.distance;
|
|
||||||
argsClick.flags = 0;
|
|
||||||
argsClick.target = hit.transform;
|
|
||||||
OnPointerClick(argsClick);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (interactWithUI != null && interactWithUI.GetState(pose.inputSource))
|
|
||||||
{
|
|
||||||
pointer.transform.localScale = new Vector3(thickness * 5f, thickness * 5f, dist);
|
|
||||||
pointer.GetComponent<MeshRenderer>().material.color = clickColor;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
pointer.transform.localScale = new Vector3(thickness, thickness, dist);
|
|
||||||
pointer.GetComponent<MeshRenderer>().material.color = color;
|
|
||||||
}
|
|
||||||
pointer.transform.localPosition = new Vector3(0f, 0f, dist / 2f);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public struct PointerEventArgs
|
|
||||||
{
|
|
||||||
public SteamVR_Input_Sources fromInputSource;
|
|
||||||
public uint flags;
|
|
||||||
public float distance;
|
|
||||||
public Transform target;
|
|
||||||
}
|
|
||||||
|
|
||||||
public delegate void PointerEventHandler(object sender, PointerEventArgs e);
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: b2f511c1adaa1e94ebe7ca97bbcabd17
|
|
||||||
timeCreated: 1539298734
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,586 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
SceneSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PVSData:
|
|
||||||
m_PVSObjectsArray: []
|
|
||||||
m_PVSPortalsArray: []
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 7
|
|
||||||
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_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: 7
|
|
||||||
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: 4
|
|
||||||
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_DirectLightInLightProbes: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_RuntimeCPUUsage: 25
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
accuratePlacement: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualCellSize: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &24851820
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 24851825}
|
|
||||||
- 33: {fileID: 24851824}
|
|
||||||
- 135: {fileID: 24851823}
|
|
||||||
- 23: {fileID: 24851822}
|
|
||||||
- 54: {fileID: 24851821}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Sphere
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!54 &24851821
|
|
||||||
Rigidbody:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Mass: 1
|
|
||||||
m_Drag: 0
|
|
||||||
m_AngularDrag: 0
|
|
||||||
m_UseGravity: 1
|
|
||||||
m_IsKinematic: 0
|
|
||||||
m_Interpolate: 1
|
|
||||||
m_Constraints: 0
|
|
||||||
m_CollisionDetection: 0
|
|
||||||
--- !u!23 &24851822
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
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_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!135 &24851823
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Material: {fileID: 13400000, guid: 2e81b378186c0ed4c98c04cfd4096914, type: 2}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 0.5
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &24851824
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &24851825
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1.624, z: 2.68}
|
|
||||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 3
|
|
||||||
--- !u!43 &33627688
|
|
||||||
Mesh:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_SubMeshes:
|
|
||||||
- serializedVersion: 2
|
|
||||||
firstByte: 0
|
|
||||||
indexCount: 24
|
|
||||||
topology: 0
|
|
||||||
firstVertex: 0
|
|
||||||
vertexCount: 8
|
|
||||||
localAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.65, y: 0, z: 1.275}
|
|
||||||
m_Shapes:
|
|
||||||
vertices: []
|
|
||||||
shapes: []
|
|
||||||
channels: []
|
|
||||||
fullWeights: []
|
|
||||||
m_BindPose: []
|
|
||||||
m_BoneNameHashes:
|
|
||||||
m_RootBoneNameHash: 0
|
|
||||||
m_MeshCompression: 0
|
|
||||||
m_IsReadable: 1
|
|
||||||
m_KeepVertices: 1
|
|
||||||
m_KeepIndices: 1
|
|
||||||
m_IndexBuffer: 000004000100010004000500010005000200020005000600020006000300030006000700030007000000000007000400
|
|
||||||
m_Skin: []
|
|
||||||
m_VertexData:
|
|
||||||
m_CurrentChannels: 13
|
|
||||||
m_VertexCount: 8
|
|
||||||
m_Channels:
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 12
|
|
||||||
format: 0
|
|
||||||
dimension: 4
|
|
||||||
- stream: 0
|
|
||||||
offset: 28
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
m_DataSize: 288
|
|
||||||
_typelessdata: 0000c03f0ad7233c000090bf000000000000803f0000803f0000803f00000000000000000000c0bf0ad7233c000090bf000000000000803f0000803f0000803f0000803f000000000000c0bf0ad7233c0000903f000000000000803f0000803f0000803f00000000000000000000c03f0ad7233c0000903f000000000000803f0000803f0000803f0000803f000000003333d33f0ad7233c3333a3bf000000000000803f0000803f00000000000000000000803f3333d3bf0ad7233c3333a3bf000000000000803f0000803f000000000000803f0000803f3333d3bf0ad7233c3333a33f000000000000803f0000803f00000000000000000000803f3333d33f0ad7233c3333a33f000000000000803f0000803f000000000000803f0000803f
|
|
||||||
m_CompressedMesh:
|
|
||||||
m_Vertices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UV:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Normals:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Tangents:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Weights:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_NormalSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_TangentSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_FloatColors:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_BoneIndices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Triangles:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UVInfo: 0
|
|
||||||
m_LocalAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.65, y: 0, z: 1.275}
|
|
||||||
m_MeshUsageFlags: 0
|
|
||||||
m_BakedConvexCollisionMesh:
|
|
||||||
m_BakedTriangleCollisionMesh:
|
|
||||||
m_MeshOptimized: 0
|
|
||||||
--- !u!21 &1231479188
|
|
||||||
Material:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name: Sprites/Default
|
|
||||||
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords:
|
|
||||||
m_LightmapFlags: 5
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_TexEnvs:
|
|
||||||
- first:
|
|
||||||
name: _MainTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats:
|
|
||||||
- first:
|
|
||||||
name: PixelSnap
|
|
||||||
second: 0
|
|
||||||
m_Colors:
|
|
||||||
- first:
|
|
||||||
name: _Color
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
--- !u!1001 &1474170597
|
|
||||||
Prefab:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 2
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3380982, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Mesh
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 33627688}
|
|
||||||
- target: {fileID: 2348914, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Materials.Array.data[0]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1231479188}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_IsPrefabParent: 0
|
|
||||||
--- !u!1 &1474170598 stripped
|
|
||||||
GameObject:
|
|
||||||
m_PrefabParentObject: {fileID: 159396, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_PrefabInternal: {fileID: 1474170597}
|
|
||||||
--- !u!1 &1474170599 stripped
|
|
||||||
GameObject:
|
|
||||||
m_PrefabParentObject: {fileID: 124034, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_PrefabInternal: {fileID: 1474170597}
|
|
||||||
--- !u!114 &1474170600
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1474170598}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: b2f511c1adaa1e94ebe7ca97bbcabd17, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
pose: {fileID: 0}
|
|
||||||
interactWithUI: {fileID: 11400000, guid: 4a1ec738249f25e4f824949a16c0b085, type: 2}
|
|
||||||
active: 1
|
|
||||||
color: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
thickness: 0.002
|
|
||||||
clickColor: {r: 0, g: 1, b: 0, a: 1}
|
|
||||||
holder: {fileID: 0}
|
|
||||||
pointer: {fileID: 0}
|
|
||||||
addRigidBody: 0
|
|
||||||
reference: {fileID: 0}
|
|
||||||
--- !u!114 &1474170601
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1474170599}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: b2f511c1adaa1e94ebe7ca97bbcabd17, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
pose: {fileID: 0}
|
|
||||||
interactWithUI: {fileID: 11400000, guid: 4a1ec738249f25e4f824949a16c0b085, type: 2}
|
|
||||||
active: 1
|
|
||||||
color: {r: 0, g: 0, b: 0, a: 0}
|
|
||||||
thickness: 0.002
|
|
||||||
clickColor: {r: 0, g: 1, b: 0, a: 1}
|
|
||||||
holder: {fileID: 0}
|
|
||||||
pointer: {fileID: 0}
|
|
||||||
addRigidBody: 0
|
|
||||||
reference: {fileID: 0}
|
|
||||||
--- !u!1 &1548954329
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1548954331}
|
|
||||||
- 108: {fileID: 1548954330}
|
|
||||||
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 &1548954330
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 7
|
|
||||||
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_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &1548954331
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
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_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!1 &1578927695
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1578927699}
|
|
||||||
- 33: {fileID: 1578927698}
|
|
||||||
- 23: {fileID: 1578927697}
|
|
||||||
- 65: {fileID: 1578927696}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Floor
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!65 &1578927696
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Size: {x: 10, y: 0.1, z: 10.000001}
|
|
||||||
m_Center: {x: 0, y: -0.05, z: 0}
|
|
||||||
--- !u!23 &1578927697
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: b41d1116a101a84499296ce28d16e6b9, type: 2}
|
|
||||||
m_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!33 &1578927698
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1578927699
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 4, y: 3, z: 4}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: f2343db151bc3864e9088f8e4230cdc1
|
|
||||||
timeCreated: 1539298758
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,551 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
SceneSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PVSData:
|
|
||||||
m_PVSObjectsArray: []
|
|
||||||
m_PVSPortalsArray: []
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 7
|
|
||||||
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_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: 7
|
|
||||||
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: 4
|
|
||||||
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_DirectLightInLightProbes: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherFiltering: 1
|
|
||||||
m_FinalGatherRayCount: 256
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_RuntimeCPUUsage: 25
|
|
||||||
--- !u!196 &4
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
accuratePlacement: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualCellSize: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1 &24851820
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 24851825}
|
|
||||||
- 33: {fileID: 24851824}
|
|
||||||
- 135: {fileID: 24851823}
|
|
||||||
- 23: {fileID: 24851822}
|
|
||||||
- 54: {fileID: 24851821}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Sphere
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!54 &24851821
|
|
||||||
Rigidbody:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Mass: 1
|
|
||||||
m_Drag: 0
|
|
||||||
m_AngularDrag: 0
|
|
||||||
m_UseGravity: 1
|
|
||||||
m_IsKinematic: 0
|
|
||||||
m_Interpolate: 1
|
|
||||||
m_Constraints: 0
|
|
||||||
m_CollisionDetection: 0
|
|
||||||
--- !u!23 &24851822
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
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_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!135 &24851823
|
|
||||||
SphereCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Material: {fileID: 13400000, guid: 2e81b378186c0ed4c98c04cfd4096914, type: 2}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Radius: 0.5
|
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
|
||||||
--- !u!33 &24851824
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &24851825
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 24851820}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 1.624, z: 2.68}
|
|
||||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 3
|
|
||||||
--- !u!43 &333680539
|
|
||||||
Mesh:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_SubMeshes:
|
|
||||||
- serializedVersion: 2
|
|
||||||
firstByte: 0
|
|
||||||
indexCount: 24
|
|
||||||
topology: 0
|
|
||||||
firstVertex: 0
|
|
||||||
vertexCount: 8
|
|
||||||
localAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.65, y: 0, z: 1.275}
|
|
||||||
m_Shapes:
|
|
||||||
vertices: []
|
|
||||||
shapes: []
|
|
||||||
channels: []
|
|
||||||
fullWeights: []
|
|
||||||
m_BindPose: []
|
|
||||||
m_BoneNameHashes:
|
|
||||||
m_RootBoneNameHash: 0
|
|
||||||
m_MeshCompression: 0
|
|
||||||
m_IsReadable: 1
|
|
||||||
m_KeepVertices: 1
|
|
||||||
m_KeepIndices: 1
|
|
||||||
m_IndexBuffer: 000004000100010004000500010005000200020005000600020006000300030006000700030007000000000007000400
|
|
||||||
m_Skin: []
|
|
||||||
m_VertexData:
|
|
||||||
m_CurrentChannels: 13
|
|
||||||
m_VertexCount: 8
|
|
||||||
m_Channels:
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 12
|
|
||||||
format: 0
|
|
||||||
dimension: 4
|
|
||||||
- stream: 0
|
|
||||||
offset: 28
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
m_DataSize: 288
|
|
||||||
_typelessdata: 0000c03f0ad7233c000090bf000000000000803f0000803f0000803f00000000000000000000c0bf0ad7233c000090bf000000000000803f0000803f0000803f0000803f000000000000c0bf0ad7233c0000903f000000000000803f0000803f0000803f00000000000000000000c03f0ad7233c0000903f000000000000803f0000803f0000803f0000803f000000003333d33f0ad7233c3333a3bf000000000000803f0000803f00000000000000000000803f3333d3bf0ad7233c3333a3bf000000000000803f0000803f000000000000803f0000803f3333d3bf0ad7233c3333a33f000000000000803f0000803f00000000000000000000803f3333d33f0ad7233c3333a33f000000000000803f0000803f000000000000803f0000803f
|
|
||||||
m_CompressedMesh:
|
|
||||||
m_Vertices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UV:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Normals:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Tangents:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Weights:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_NormalSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_TangentSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_FloatColors:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_BoneIndices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Triangles:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UVInfo: 0
|
|
||||||
m_LocalAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.65, y: 0, z: 1.275}
|
|
||||||
m_MeshUsageFlags: 0
|
|
||||||
m_BakedConvexCollisionMesh:
|
|
||||||
m_BakedTriangleCollisionMesh:
|
|
||||||
m_MeshOptimized: 0
|
|
||||||
--- !u!1001 &1474170597
|
|
||||||
Prefab:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 2
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3380982, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Mesh
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 333680539}
|
|
||||||
- target: {fileID: 2348914, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Materials.Array.data[0]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1639470597}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_IsPrefabParent: 0
|
|
||||||
--- !u!1 &1474170598 stripped
|
|
||||||
GameObject:
|
|
||||||
m_PrefabParentObject: {fileID: 146900, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_PrefabInternal: {fileID: 1474170597}
|
|
||||||
--- !u!114 &1474170599
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1474170598}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 2578089a96464b348a5399c795afc7b7, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1 &1548954329
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1548954331}
|
|
||||||
- 108: {fileID: 1548954330}
|
|
||||||
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 &1548954330
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 7
|
|
||||||
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_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
--- !u!4 &1548954331
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1548954329}
|
|
||||||
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_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!1 &1578927695
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1578927699}
|
|
||||||
- 33: {fileID: 1578927698}
|
|
||||||
- 23: {fileID: 1578927697}
|
|
||||||
- 65: {fileID: 1578927696}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Floor
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!65 &1578927696
|
|
||||||
BoxCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Size: {x: 10, y: 0.1, z: 10.000001}
|
|
||||||
m_Center: {x: 0, y: -0.05, z: 0}
|
|
||||||
--- !u!23 &1578927697
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: b41d1116a101a84499296ce28d16e6b9, type: 2}
|
|
||||||
m_SubsetIndices:
|
|
||||||
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_SelectedWireframeHidden: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!33 &1578927698
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &1578927699
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1578927695}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 4, y: 3, z: 4}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
--- !u!21 &1639470597
|
|
||||||
Material:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name: Sprites/Default
|
|
||||||
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords:
|
|
||||||
m_LightmapFlags: 5
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_TexEnvs:
|
|
||||||
- first:
|
|
||||||
name: _MainTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats:
|
|
||||||
- first:
|
|
||||||
name: PixelSnap
|
|
||||||
second: 0
|
|
||||||
m_Colors:
|
|
||||||
- first:
|
|
||||||
name: _Color
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 73743b10c3912094a8a17bc7ac370c15
|
|
||||||
timeCreated: 1550629235
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 4b6669fb4e4df9c48926f02b694be9d1
|
|
||||||
timeCreated: 1437433018
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,62 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
using UnityEngine;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace Valve.VR.Extras
|
|
||||||
{
|
|
||||||
[RequireComponent(typeof(SteamVR_TrackedObject))]
|
|
||||||
public class SteamVR_TestThrow : MonoBehaviour
|
|
||||||
{
|
|
||||||
public GameObject prefab;
|
|
||||||
public Rigidbody attachPoint;
|
|
||||||
|
|
||||||
public SteamVR_Action_Boolean spawn = SteamVR_Input.GetAction<SteamVR_Action_Boolean>("InteractUI");
|
|
||||||
|
|
||||||
SteamVR_Behaviour_Pose trackedObj;
|
|
||||||
FixedJoint joint;
|
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
trackedObj = GetComponent<SteamVR_Behaviour_Pose>();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void FixedUpdate()
|
|
||||||
{
|
|
||||||
if (joint == null && spawn.GetStateDown(trackedObj.inputSource))
|
|
||||||
{
|
|
||||||
GameObject go = GameObject.Instantiate(prefab);
|
|
||||||
go.transform.position = attachPoint.transform.position;
|
|
||||||
|
|
||||||
joint = go.AddComponent<FixedJoint>();
|
|
||||||
joint.connectedBody = attachPoint;
|
|
||||||
}
|
|
||||||
else if (joint != null && spawn.GetStateUp(trackedObj.inputSource))
|
|
||||||
{
|
|
||||||
GameObject go = joint.gameObject;
|
|
||||||
Rigidbody rigidbody = go.GetComponent<Rigidbody>();
|
|
||||||
Object.DestroyImmediate(joint);
|
|
||||||
joint = null;
|
|
||||||
Object.Destroy(go, 15.0f);
|
|
||||||
|
|
||||||
// We should probably apply the offset between trackedObj.transform.position
|
|
||||||
// and device.transform.pos to insert into the physics sim at the correct
|
|
||||||
// location, however, we would then want to predict ahead the visual representation
|
|
||||||
// by the same amount we are predicting our render poses.
|
|
||||||
|
|
||||||
Transform origin = trackedObj.origin ? trackedObj.origin : trackedObj.transform.parent;
|
|
||||||
if (origin != null)
|
|
||||||
{
|
|
||||||
rigidbody.velocity = origin.TransformVector(trackedObj.GetVelocity());
|
|
||||||
rigidbody.angularVelocity = origin.TransformVector(trackedObj.GetAngularVelocity());
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
rigidbody.velocity = trackedObj.GetVelocity();
|
|
||||||
rigidbody.angularVelocity = trackedObj.GetAngularVelocity();
|
|
||||||
}
|
|
||||||
|
|
||||||
rigidbody.maxAngularVelocity = rigidbody.angularVelocity.magnitude;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: ff4f36585e15b1942827390ff1a92502
|
|
||||||
timeCreated: 1437513988
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 0d936163b5e9a5047b5e4ba5afaf5126
|
|
||||||
timeCreated: 1437513966
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,86 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Valve.VR.Extras
|
|
||||||
{
|
|
||||||
public class SteamVR_TestTrackedCamera : MonoBehaviour
|
|
||||||
{
|
|
||||||
public Material material;
|
|
||||||
public Transform target;
|
|
||||||
public bool undistorted = true;
|
|
||||||
public bool cropped = true;
|
|
||||||
|
|
||||||
private void OnEnable()
|
|
||||||
{
|
|
||||||
// The video stream must be symmetrically acquired and released in
|
|
||||||
// order to properly disable the stream once there are no consumers.
|
|
||||||
SteamVR_TrackedCamera.VideoStreamTexture source = SteamVR_TrackedCamera.Source(undistorted);
|
|
||||||
source.Acquire();
|
|
||||||
|
|
||||||
// Auto-disable if no camera is present.
|
|
||||||
if (!source.hasCamera)
|
|
||||||
enabled = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDisable()
|
|
||||||
{
|
|
||||||
// Clear the texture when no longer active.
|
|
||||||
material.mainTexture = null;
|
|
||||||
|
|
||||||
// The video stream must be symmetrically acquired and released in
|
|
||||||
// order to properly disable the stream once there are no consumers.
|
|
||||||
SteamVR_TrackedCamera.VideoStreamTexture source = SteamVR_TrackedCamera.Source(undistorted);
|
|
||||||
source.Release();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
|
||||||
{
|
|
||||||
SteamVR_TrackedCamera.VideoStreamTexture source = SteamVR_TrackedCamera.Source(undistorted);
|
|
||||||
Texture2D texture = source.texture;
|
|
||||||
if (texture == null)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Apply the latest texture to the material. This must be performed
|
|
||||||
// every frame since the underlying texture is actually part of a ring
|
|
||||||
// buffer which is updated in lock-step with its associated pose.
|
|
||||||
// (You actually really only need to call any of the accessors which
|
|
||||||
// internally call Update on the SteamVR_TrackedCamera.VideoStreamTexture).
|
|
||||||
material.mainTexture = texture;
|
|
||||||
|
|
||||||
// Adjust the height of the quad based on the aspect to keep the texels square.
|
|
||||||
float aspect = (float)texture.width / texture.height;
|
|
||||||
|
|
||||||
// The undistorted video feed has 'bad' areas near the edges where the original
|
|
||||||
// square texture feed is stretched to undo the fisheye from the lens.
|
|
||||||
// Therefore, you'll want to crop it to the specified frameBounds to remove this.
|
|
||||||
if (cropped)
|
|
||||||
{
|
|
||||||
VRTextureBounds_t bounds = source.frameBounds;
|
|
||||||
material.mainTextureOffset = new Vector2(bounds.uMin, bounds.vMin);
|
|
||||||
|
|
||||||
float du = bounds.uMax - bounds.uMin;
|
|
||||||
float dv = bounds.vMax - bounds.vMin;
|
|
||||||
material.mainTextureScale = new Vector2(du, dv);
|
|
||||||
|
|
||||||
aspect *= Mathf.Abs(du / dv);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
material.mainTextureOffset = Vector2.zero;
|
|
||||||
material.mainTextureScale = new Vector2(1, -1);
|
|
||||||
}
|
|
||||||
|
|
||||||
target.localScale = new Vector3(1, 1.0f / aspect, 1);
|
|
||||||
|
|
||||||
// Apply the pose that this frame was recorded at.
|
|
||||||
if (source.hasTracking)
|
|
||||||
{
|
|
||||||
SteamVR_Utils.RigidTransform rigidTransform = source.transform;
|
|
||||||
target.localPosition = rigidTransform.pos;
|
|
||||||
target.localRotation = rigidTransform.rot;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 8b18b36a995ecb04599f35c2741be8d5
|
|
||||||
timeCreated: 1465946679
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,127 +0,0 @@
|
||||||
%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: SteamVR_TestTrackedCamera
|
|
||||||
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords: _EMISSION
|
|
||||||
m_LightmapFlags: 1
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_TexEnvs:
|
|
||||||
- first:
|
|
||||||
name: _BumpMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _DetailAlbedoMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _DetailMask
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _DetailNormalMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _EmissionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _MainTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 0.5, y: -0.5}
|
|
||||||
m_Offset: {x: 0.25, y: 0.75}
|
|
||||||
- first:
|
|
||||||
name: _MetallicGlossMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _OcclusionMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
- first:
|
|
||||||
name: _ParallaxMap
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats:
|
|
||||||
- first:
|
|
||||||
name: _BumpScale
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Cutoff
|
|
||||||
second: 0.5
|
|
||||||
- first:
|
|
||||||
name: _DetailNormalMapScale
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _DstBlend
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _GlossMapScale
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Glossiness
|
|
||||||
second: 0.5
|
|
||||||
- first:
|
|
||||||
name: _GlossyReflections
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Metallic
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _Mode
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _OcclusionStrength
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _Parallax
|
|
||||||
second: 0.02
|
|
||||||
- first:
|
|
||||||
name: _SmoothnessTextureChannel
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _SpecularHighlights
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _SrcBlend
|
|
||||||
second: 1
|
|
||||||
- first:
|
|
||||||
name: _UVSec
|
|
||||||
second: 0
|
|
||||||
- first:
|
|
||||||
name: _ZWrite
|
|
||||||
second: 1
|
|
||||||
m_Colors:
|
|
||||||
- first:
|
|
||||||
name: _Color
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
- first:
|
|
||||||
name: _EmissionColor
|
|
||||||
second: {r: 0, g: 0, b: 0, a: 1}
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 99ee8d48ccf36264e9d9a72baa681249
|
|
||||||
timeCreated: 1465950289
|
|
||||||
licenseType: Store
|
|
||||||
NativeFormatImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,749 +0,0 @@
|
||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!29 &1
|
|
||||||
SceneSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PVSData:
|
|
||||||
m_PVSObjectsArray: []
|
|
||||||
m_PVSPortalsArray: []
|
|
||||||
m_OcclusionBakeSettings:
|
|
||||||
smallestOccluder: 5
|
|
||||||
smallestHole: 0.25
|
|
||||||
backfaceThreshold: 100
|
|
||||||
--- !u!104 &2
|
|
||||||
RenderSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 6
|
|
||||||
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_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}
|
|
||||||
--- !u!157 &4
|
|
||||||
LightmapSettings:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 6
|
|
||||||
m_GIWorkflowMode: 0
|
|
||||||
m_LightmapsMode: 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: 3
|
|
||||||
m_Resolution: 2
|
|
||||||
m_BakeResolution: 40
|
|
||||||
m_TextureWidth: 1024
|
|
||||||
m_TextureHeight: 1024
|
|
||||||
m_AOMaxDistance: 1
|
|
||||||
m_Padding: 2
|
|
||||||
m_CompAOExponent: 0
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_TextureCompression: 1
|
|
||||||
m_FinalGather: 0
|
|
||||||
m_FinalGatherRayCount: 1024
|
|
||||||
m_ReflectionCompression: 2
|
|
||||||
m_LightingDataAsset: {fileID: 0}
|
|
||||||
m_RuntimeCPUUsage: 25
|
|
||||||
--- !u!196 &5
|
|
||||||
NavMeshSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_BuildSettings:
|
|
||||||
serializedVersion: 2
|
|
||||||
agentRadius: 0.5
|
|
||||||
agentHeight: 2
|
|
||||||
agentSlope: 45
|
|
||||||
agentClimb: 0.4
|
|
||||||
ledgeDropHeight: 0
|
|
||||||
maxJumpAcrossDistance: 0
|
|
||||||
accuratePlacement: 0
|
|
||||||
minRegionArea: 2
|
|
||||||
cellSize: 0.16666667
|
|
||||||
manualCellSize: 0
|
|
||||||
m_NavMeshData: {fileID: 0}
|
|
||||||
--- !u!1001 &1110379724
|
|
||||||
Prefab:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: -2.49
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: -1.95
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0.7071068
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 0.7071067
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 2
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2395298, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Enabled
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11453314, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Enabled
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2337482, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Enabled
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11438774, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Enabled
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 477890, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 477890, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3380982, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Mesh
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1186597620}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: drawInGame
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: size
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[0].x
|
|
||||||
value: 1.64999974
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[0].z
|
|
||||||
value: -.80000025
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[1].x
|
|
||||||
value: -1.64999974
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[1].z
|
|
||||||
value: -.80000025
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[2].x
|
|
||||||
value: -1.64999974
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[2].z
|
|
||||||
value: .80000025
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[3].x
|
|
||||||
value: 1.64999974
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[3].z
|
|
||||||
value: .80000025
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[4].x
|
|
||||||
value: 1.79999971
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[4].z
|
|
||||||
value: -.950000286
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[5].x
|
|
||||||
value: -1.79999971
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[5].z
|
|
||||||
value: -.950000286
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[6].x
|
|
||||||
value: -1.79999971
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[6].z
|
|
||||||
value: .950000286
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[7].x
|
|
||||||
value: 1.79999971
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11489174, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: vertices.Array.data[7].z
|
|
||||||
value: .950000286
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalScale.x
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalScale.y
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalScale.z
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2082592, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: far clip plane
|
|
||||||
value: 100
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2082592, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: near clip plane
|
|
||||||
value: .0199999996
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11453314, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: modelOverride
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 3370552, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Mesh
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2395298, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Materials.Array.data[0]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 2041284010}
|
|
||||||
- target: {fileID: 426554, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 4
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 402434, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 440048, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 2
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 147176, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_IsActive
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 192944, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_IsActive
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11417306, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: modelOverride
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 482514, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 482514, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 0.264
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 11417168, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: modelOverride
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 478542, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 2348914, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
propertyPath: m_Materials.Array.data[0]
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: 1862156363}
|
|
||||||
m_RemovedComponents:
|
|
||||||
- {fileID: 11403694, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
- {fileID: 11438774, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
- {fileID: 11453314, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
- {fileID: 11420968, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_IsPrefabParent: 0
|
|
||||||
--- !u!43 &1186597620
|
|
||||||
Mesh:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name:
|
|
||||||
serializedVersion: 8
|
|
||||||
m_SubMeshes:
|
|
||||||
- serializedVersion: 2
|
|
||||||
firstByte: 0
|
|
||||||
indexCount: 24
|
|
||||||
topology: 0
|
|
||||||
firstVertex: 0
|
|
||||||
vertexCount: 8
|
|
||||||
localAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.7000004, y: 0, z: 1.3000007}
|
|
||||||
m_Shapes:
|
|
||||||
vertices: []
|
|
||||||
shapes: []
|
|
||||||
channels: []
|
|
||||||
fullWeights: []
|
|
||||||
m_BindPose: []
|
|
||||||
m_BoneNameHashes:
|
|
||||||
m_RootBoneNameHash: 0
|
|
||||||
m_MeshCompression: 0
|
|
||||||
m_IsReadable: 1
|
|
||||||
m_KeepVertices: 1
|
|
||||||
m_KeepIndices: 1
|
|
||||||
m_IndexBuffer: 000004000100010004000500010005000200020005000600020006000300030006000700030007000000000007000400
|
|
||||||
m_Skin: []
|
|
||||||
m_VertexData:
|
|
||||||
m_CurrentChannels: 13
|
|
||||||
m_VertexCount: 8
|
|
||||||
m_Channels:
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 3
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 12
|
|
||||||
format: 0
|
|
||||||
dimension: 4
|
|
||||||
- stream: 0
|
|
||||||
offset: 28
|
|
||||||
format: 0
|
|
||||||
dimension: 2
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
- stream: 0
|
|
||||||
offset: 0
|
|
||||||
format: 0
|
|
||||||
dimension: 0
|
|
||||||
m_DataSize: 288
|
|
||||||
_typelessdata: 6a66c63f0ad7233c393393bf000000000000803f0000803f0000803f00000000000000006a66c6bf0ad7233c393393bf000000000000803f0000803f0000803f0000803f000000006a66c6bf0ad7233c3933933f000000000000803f0000803f0000803f00000000000000006a66c63f0ad7233c3933933f000000000000803f0000803f0000803f0000803f000000009d99d93f0ad7233c6c66a6bf000000000000803f0000803f00000000000000000000803f9d99d9bf0ad7233c6c66a6bf000000000000803f0000803f000000000000803f0000803f9d99d9bf0ad7233c6c66a63f000000000000803f0000803f00000000000000000000803f9d99d93f0ad7233c6c66a63f000000000000803f0000803f000000000000803f0000803f
|
|
||||||
m_CompressedMesh:
|
|
||||||
m_Vertices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UV:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Normals:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Tangents:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Weights:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_NormalSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_TangentSigns:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_FloatColors:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Range: 0
|
|
||||||
m_Start: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_BoneIndices:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_Triangles:
|
|
||||||
m_NumItems: 0
|
|
||||||
m_Data:
|
|
||||||
m_BitSize: 0
|
|
||||||
m_UVInfo: 0
|
|
||||||
m_LocalAABB:
|
|
||||||
m_Center: {x: 0, y: 0.01, z: 0}
|
|
||||||
m_Extent: {x: 1.7000004, y: 0, z: 1.3000007}
|
|
||||||
m_MeshUsageFlags: 0
|
|
||||||
m_BakedConvexCollisionMesh:
|
|
||||||
m_BakedTriangleCollisionMesh:
|
|
||||||
m_MeshOptimized: 0
|
|
||||||
--- !u!1 &1569421957
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1569421959}
|
|
||||||
- 108: {fileID: 1569421958}
|
|
||||||
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 &1569421958
|
|
||||||
Light:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1569421957}
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 6
|
|
||||||
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_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_BounceIntensity: 1
|
|
||||||
m_ShadowRadius: 0
|
|
||||||
m_ShadowAngle: 0
|
|
||||||
m_AreaSize: {x: 1, y: 1}
|
|
||||||
--- !u!4 &1569421959
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1569421957}
|
|
||||||
m_LocalRotation: {x: 0.40821794, y: -0.23456973, z: 0.109381676, w: 0.87542605}
|
|
||||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!4 &1779605316 stripped
|
|
||||||
Transform:
|
|
||||||
m_PrefabParentObject: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
|
|
||||||
m_PrefabInternal: {fileID: 1110379724}
|
|
||||||
--- !u!1 &1824250565
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1824250566}
|
|
||||||
- 33: {fileID: 1824250569}
|
|
||||||
- 64: {fileID: 1824250568}
|
|
||||||
- 23: {fileID: 1824250567}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Quad
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &1824250566
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1824250565}
|
|
||||||
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 1951799181}
|
|
||||||
m_RootOrder: 0
|
|
||||||
--- !u!23 &1824250567
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1824250565}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 2100000, guid: 99ee8d48ccf36264e9d9a72baa681249, type: 2}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 1
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!64 &1824250568
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1824250565}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Convex: 0
|
|
||||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!33 &1824250569
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1824250565}
|
|
||||||
m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!21 &1862156363
|
|
||||||
Material:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name: Sprites/Default
|
|
||||||
m_Shader: {fileID: 10753, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords:
|
|
||||||
m_LightmapFlags: 5
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_TexEnvs:
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _MainTex
|
|
||||||
second:
|
|
||||||
m_Texture: {fileID: 0}
|
|
||||||
m_Scale: {x: 1, y: 1}
|
|
||||||
m_Offset: {x: 0, y: 0}
|
|
||||||
m_Floats:
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: PixelSnap
|
|
||||||
second: 0
|
|
||||||
m_Colors:
|
|
||||||
data:
|
|
||||||
first:
|
|
||||||
name: _Color
|
|
||||||
second: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
--- !u!1 &1951799180
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 1951799181}
|
|
||||||
- 114: {fileID: 1951799182}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: TrackedCamera
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!4 &1951799181
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1951799180}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 2, y: 2, z: 2}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 1824250566}
|
|
||||||
m_Father: {fileID: 1779605316}
|
|
||||||
m_RootOrder: 3
|
|
||||||
--- !u!114 &1951799182
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 1951799180}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 8b18b36a995ecb04599f35c2741be8d5, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
material: {fileID: 2100000, guid: 99ee8d48ccf36264e9d9a72baa681249, type: 2}
|
|
||||||
target: {fileID: 1951799181}
|
|
||||||
undistorted: 1
|
|
||||||
cropped: 1
|
|
||||||
--- !u!1 &2032672589
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 2032672593}
|
|
||||||
- 33: {fileID: 2032672592}
|
|
||||||
- 64: {fileID: 2032672591}
|
|
||||||
- 23: {fileID: 2032672590}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Plane
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 4294967295
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!23 &2032672590
|
|
||||||
MeshRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2032672589}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 1
|
|
||||||
m_ReceiveShadows: 1
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 1
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: 0
|
|
||||||
--- !u!64 &2032672591
|
|
||||||
MeshCollider:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2032672589}
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_IsTrigger: 0
|
|
||||||
m_Enabled: 1
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Convex: 0
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!33 &2032672592
|
|
||||||
MeshFilter:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2032672589}
|
|
||||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
--- !u!4 &2032672593
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 2032672589}
|
|
||||||
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
--- !u!21 &2041284010
|
|
||||||
Material:
|
|
||||||
serializedVersion: 6
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_Name: Standard
|
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_ShaderKeywords:
|
|
||||||
m_LightmapFlags: 5
|
|
||||||
m_CustomRenderQueue: -1
|
|
||||||
stringTagMap: {}
|
|
||||||
m_SavedProperties:
|
|
||||||
serializedVersion: 2
|
|
||||||
m_TexEnvs: {}
|
|
||||||
m_Floats: {}
|
|
||||||
m_Colors: {}
|
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 7fb811b0ffe615b4dbf1d5e6ced385fd
|
|
||||||
timeCreated: 1464227836
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,9 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 37d1a399d1ea2d24c8f27e07036b83fb
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1532646714
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Before Width: | Height: | Size: 350 KiB |
|
@ -1,59 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: a9d04296988f9324d98f54789595e5bf
|
|
||||||
timeCreated: 1547854934
|
|
||||||
licenseType: Store
|
|
||||||
TextureImporter:
|
|
||||||
fileIDToRecycleName: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
linearTexture: 1
|
|
||||||
correctGamma: 0
|
|
||||||
fadeOut: 0
|
|
||||||
borderMipMap: 0
|
|
||||||
mipMapFadeDistanceStart: 1
|
|
||||||
mipMapFadeDistanceEnd: 3
|
|
||||||
bumpmap:
|
|
||||||
convertToNormalMap: 0
|
|
||||||
externalNormalMap: 0
|
|
||||||
heightScale: 0.25
|
|
||||||
normalMapFilter: 0
|
|
||||||
isReadable: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 0
|
|
||||||
cubemapConvolution: 0
|
|
||||||
cubemapConvolutionSteps: 7
|
|
||||||
cubemapConvolutionExponent: 1.5
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: -1
|
|
||||||
maxTextureSize: 128
|
|
||||||
textureSettings:
|
|
||||||
filterMode: 2
|
|
||||||
aniso: 1
|
|
||||||
mipBias: -1
|
|
||||||
wrapMode: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
rGBM: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
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
|
|
||||||
alphaIsTransparency: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 2
|
|
||||||
buildTargetSettings: []
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites: []
|
|
||||||
outline: []
|
|
||||||
spritePackingTag:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
|
@ -1,59 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 200a36575873a1d40baa790e18dafe5d
|
|
||||||
timeCreated: 1532646733
|
|
||||||
licenseType: Store
|
|
||||||
TextureImporter:
|
|
||||||
fileIDToRecycleName: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
mipmaps:
|
|
||||||
mipMapMode: 0
|
|
||||||
enableMipMap: 0
|
|
||||||
linearTexture: 1
|
|
||||||
correctGamma: 0
|
|
||||||
fadeOut: 0
|
|
||||||
borderMipMap: 0
|
|
||||||
mipMapFadeDistanceStart: 1
|
|
||||||
mipMapFadeDistanceEnd: 3
|
|
||||||
bumpmap:
|
|
||||||
convertToNormalMap: 0
|
|
||||||
externalNormalMap: 0
|
|
||||||
heightScale: 0.25
|
|
||||||
normalMapFilter: 0
|
|
||||||
isReadable: 0
|
|
||||||
grayScaleToAlpha: 0
|
|
||||||
generateCubemap: 0
|
|
||||||
cubemapConvolution: 0
|
|
||||||
cubemapConvolutionSteps: 7
|
|
||||||
cubemapConvolutionExponent: 1.5
|
|
||||||
seamlessCubemap: 0
|
|
||||||
textureFormat: -1
|
|
||||||
maxTextureSize: 2048
|
|
||||||
textureSettings:
|
|
||||||
filterMode: -1
|
|
||||||
aniso: 1
|
|
||||||
mipBias: -1
|
|
||||||
wrapMode: 1
|
|
||||||
nPOTScale: 0
|
|
||||||
lightmap: 0
|
|
||||||
rGBM: 0
|
|
||||||
compressionQuality: 50
|
|
||||||
allowsAlphaSplitting: 0
|
|
||||||
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
|
|
||||||
alphaIsTransparency: 1
|
|
||||||
spriteTessellationDetail: -1
|
|
||||||
textureType: 2
|
|
||||||
buildTargetSettings: []
|
|
||||||
spriteSheet:
|
|
||||||
serializedVersion: 2
|
|
||||||
sprites: []
|
|
||||||
outline: []
|
|
||||||
spritePackingTag:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,9 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 034ad660702976d4da58a18ccae19443
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1521243381
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,9 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 353612abd09de3a478236e679e220759
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,9 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_BooleanEvent : UnityEvent<SteamVR_Behaviour_Boolean, SteamVR_Input_Sources, bool> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 59250d64a1ce9a44891e9bb0b3d71e6b
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_PoseEvent : UnityEvent<SteamVR_Behaviour_Pose, SteamVR_Input_Sources> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: d77e49c3174e18045ab27a1029c6a977
|
|
||||||
timeCreated: 1548282627
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_Pose_ConnectedChangedEvent : UnityEvent<SteamVR_Behaviour_Pose, SteamVR_Input_Sources, bool> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: f0abecbe8a5e4e04dab8f886e1d6d070
|
|
||||||
timeCreated: 1548282627
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_Pose_DeviceIndexChangedEvent : UnityEvent<SteamVR_Behaviour_Pose, SteamVR_Input_Sources, int> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: bc42b626f4ef1264ebfc0393f40df5c9
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_Pose_TrackingChangedEvent : UnityEvent<SteamVR_Behaviour_Pose, SteamVR_Input_Sources, ETrackingResult> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 62c981c44fe9a6046bb0766cb96bdf65
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_SingleEvent : UnityEvent<SteamVR_Behaviour_Single, SteamVR_Input_Sources, float, float> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: b8fd33c9d8ff2114a8b6a59629165318
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_SkeletonEvent : UnityEvent<SteamVR_Behaviour_Skeleton, SteamVR_Input_Sources> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: c56ae57c82c46674ea85a60fd6ba9334
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_Skeleton_ConnectedChangedEvent : UnityEvent<SteamVR_Behaviour_Skeleton, SteamVR_Input_Sources, bool> { }
|
|
||||||
}
|
|
|
@ -1,12 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 431bf7eb5ceb24a448dc44a2ed8d8243
|
|
||||||
timeCreated: 1548282626
|
|
||||||
licenseType: Store
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,10 +0,0 @@
|
||||||
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using UnityEngine.Events;
|
|
||||||
|
|
||||||
namespace Valve.VR
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SteamVR_Behaviour_Skeleton_TrackingChangedEvent : UnityEvent<SteamVR_Behaviour_Skeleton, SteamVR_Input_Sources, ETrackingResult> { }
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue