1
0
mirror of synced 2024-11-23 22:30:56 +01:00

Merge pull request #46 from xiaopeng12138/xpeng-dev

merge dev to main
This commit is contained in:
xpeng 2022-10-08 15:19:10 +02:00 committed by GitHub
commit dc6468458b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
195 changed files with 31387 additions and 28921 deletions

View File

@ -17,10 +17,10 @@ LightingSettings:
m_IndirectOutputScale: 1
m_UsingShadowmask: 0
m_BakeBackend: 1
m_LightmapMaxSize: 2048
m_LightmapMaxSize: 1024
m_BakeResolution: 256
m_Padding: 2
m_LightmapCompression: 3
m_LightmapCompression: 2
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
@ -38,19 +38,19 @@ LightingSettings:
m_FinalGather: 0
m_FinalGatherRayCount: 256
m_FinalGatherFiltering: 1
m_PVRCulling: 0
m_PVRCulling: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 2048
m_PVRDirectSampleCount: 512
m_PVRSampleCount: 1024
m_PVREnvironmentSampleCount: 512
m_PVREnvironmentSampleCount: 8
m_PVREnvironmentReferencePointCount: 2048
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 1
m_PVREnvironmentMIS: 0
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 2
m_PVRDenoiserTypeIndirect: 2
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: cc4e2d1785ba75b4daa96b7292ac383d
guid: 69120efae4a623a4da6f258f95afaff5
folderAsset: yes
DefaultImporter:
externalObjects: {}

Binary file not shown.

View File

@ -0,0 +1,21 @@
fileFormatVersion: 2
guid: 5dd62e3a061945947a478290f2a24afa
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontNames:
- Orbitron
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -6,7 +6,7 @@ namespace LIV.SDK.Unity
{
public struct SDKConstants
{
public const string SDK_ID = "OIJPJPMQE8HUKMSSTMRLATYXCHTUCQXP";
public const string SDK_ID = "CTYC3YVODSTKVPHXUVVUYMRK1VKDJXDM";
public const string SDK_VERSION = "1.5.4";
public const string ENGINE_NAME = "unity";
}

View File

@ -20,7 +20,7 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: 07 - Default
m_Name: Default
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []

135
Assets/Material/Head.mat Normal file
View File

@ -0,0 +1,135 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2938502657991910120
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Head
m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
m_ValidKeywords:
- _ALPHAPREMULTIPLY_ON
- _RECEIVE_SHADOWS_OFF
- _SURFACE_TYPE_TRANSPARENT
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3000
stringTagMap:
RenderType: Transparent
disabledShaderPasses:
- DepthOnly
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossinessSource: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 0
- _Shininess: 0
- _Smoothness: 0.5
- _SmoothnessSource: 0
- _SmoothnessTextureChannel: 0
- _SpecSource: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 1
- _WorkflowMode: 0
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.63774544, g: 0.742691, b: 0.888, a: 0.9019608}
- _Color: {r: 0.63774544, g: 0.742691, b: 0.888, a: 0.9019608}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7e16beeddf2a66649a08686cdd54c2ef
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -124,8 +124,8 @@ Material:
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 1, g: 0.25187197, b: 0.22075468, a: 1}
- _Color: {r: 1, g: 0.2518719, b: 0.22075465, a: 1}
- _BaseColor: {r: 1, g: 0.40452063, b: 0.27599993, a: 0.7490196}
- _Color: {r: 1, g: 0.4045206, b: 0.2759999, a: 0.7490196}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -140,10 +140,10 @@ Material:
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0.2906372, g: 0.64758795, b: 0.9811321, a: 1}
- _BaseColor: {r: 0.29600003, g: 0.6600001, b: 1, a: 0.7490196}
- _BaseColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0}
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 0.29063717, g: 0.64758795, b: 0.9811321, a: 1}
- _Color: {r: 0.296, g: 0.6600001, b: 1, a: 0.7490196}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999993, g: 0.19999993, b: 0.19999993, a: 1}

View File

@ -10,7 +10,9 @@ Material:
m_Name: Floor
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords:
- _METALLICSPECGLOSSMAP
- _NORMALMAP
- _SPECULAR_SETUP
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
@ -24,7 +26,7 @@ Material:
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: d252922176d51834db1a230a3a3f26ca, type: 3}
m_Scale: {x: 3, y: 3}
m_Scale: {x: 4, y: 4}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: eba630737fd5c3d4b95859a8c16a6ffc, type: 3}
@ -48,7 +50,7 @@ Material:
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: d252922176d51834db1a230a3a3f26ca, type: 3}
m_Scale: {x: 3, y: 3}
m_Scale: {x: 4, y: 4}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
@ -63,7 +65,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: d9ad228a4f815574685d62384aa96889, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
@ -82,7 +84,7 @@ Material:
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _BumpScale: 2
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
@ -100,13 +102,13 @@ Material:
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _Smoothness: 0.247
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _WorkflowMode: 0
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}

View File

@ -110,8 +110,8 @@ Material:
- _WorkflowMode: 0
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.70164704, g: 0.852, b: 0.7784941, a: 1}
- _Color: {r: 0.70164704, g: 0.852, b: 0.7784941, a: 1}
- _BaseColor: {r: 0.6893765, g: 0.7337217, b: 0.90588236, a: 1}
- _Color: {r: 0.6893765, g: 0.7337217, b: 0.90588236, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,63 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4775029047519538794
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Shader Graphs_Touch Shader
m_Shader: {fileID: -6465566751694194690, guid: 7706e2d456cb6ae4ba21f3235bb8f1ea,
type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _LineCount: 8
- _LineEmitOpasity: 0.5
- _LineHight: 0.1
- _QueueControl: 0
- _QueueOffset: 0
- _Vignett: 0.2
- _VignettHardness: -0.15
m_Colors:
- _BaseColor: {r: 0.40392157, g: 0.40392157, b: 0.40392157, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor2: {r: 0, g: 0, b: 0, a: 0}
- _LineColor: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a2d8cef6681be0a4ca37a2706a651d1e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -2336,7 +2336,7 @@
"m_Hidden": false,
"m_ShaderOutputName": "Smoothness",
"m_StageCapability": 2,
"m_Value": 0.699999988079071,
"m_Value": 0.0,
"m_DefaultValue": 0.5,
"m_Labels": []
}

View File

@ -0,0 +1,128 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-1329461029204985184
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoinButton
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.27835158, g: 0.27835158, b: 0.27835158, a: 1}
- _Color: {r: 0.27835155, g: 0.27835155, b: 0.27835155, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8f539b3ba4477eb4eaff566bbef0383f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -131,7 +131,7 @@ Material:
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.12887147, g: 0.18042988, b: 0.18867922, a: 1}
- _BaseColor: {r: 0.1981132, g: 0.1981132, b: 0.1981132, a: 1}
- _Color: {r: 0.34905657, g: 0.34905657, b: 0.34905657, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor2: {r: 0, g: 0, b: 0, a: 0}

View File

@ -108,8 +108,8 @@ Material:
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.43756205, g: 0.618, b: 0.4059854, a: 1}
- _Color: {r: 0.43756202, g: 0.618, b: 0.40598536, a: 1}
- _BaseColor: {r: 0.34314835, g: 0.26657173, b: 0.4528302, a: 1}
- _Color: {r: 0.34314832, g: 0.26657167, b: 0.45283014, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -99,7 +99,7 @@ Material:
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
@ -108,8 +108,8 @@ Material:
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.19249749, g: 0.19249749, b: 0.19249749, a: 1}
- _Color: {r: 0.19249746, g: 0.19249746, b: 0.19249746, a: 1}
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
- _Color: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -8,15 +8,14 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Screen
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
@ -46,7 +45,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 2800000, guid: b383e3d839d88de408add93a1620cb43, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:

View File

@ -0,0 +1,128 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-9081016139837821872
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ServiceButton
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.6777493, g: 0.8903884, b: 0.9063317, a: 1}
- _Color: {r: 0.6777493, g: 0.8903884, b: 0.9063317, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8c70734ef67286949a696849ff2002b6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,128 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2677038356166452235
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: TestButton
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.9063317, g: 0.31563592, b: 0.3035283, a: 1}
- _Color: {r: 0.9063317, g: 0.3156359, b: 0.30352828, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 36f336408ae6a7548820c207eed2a70a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,128 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: aimmeButton
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.9063317, g: 0.48104924, b: 0.5612145, a: 1}
- _Color: {r: 0.9063317, g: 0.48104912, b: 0.5612145, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
--- !u!114 &7001065811710278766
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 5

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b80697b204d6f6d4991ac2e3186b459c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -1,7 +1,7 @@
fileFormatVersion: 2
guid: cf8684b3c4f47b94aa7cb23ce498caf3
ModelImporter:
serializedVersion: 21202
serializedVersion: 21300
internalIDToNameTable: []
externalObjects:
- first:
@ -9,6 +9,11 @@ ModelImporter:
assembly: UnityEngine.CoreModule
name: Body
second: {fileID: 2100000, guid: 354bdb1d1775aad4aafe9046d0c26898, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: CoinButton
second: {fileID: 2100000, guid: 8f539b3ba4477eb4eaff566bbef0383f, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
@ -34,6 +39,21 @@ ModelImporter:
assembly: UnityEngine.CoreModule
name: Screen
second: {fileID: 2100000, guid: 2a1aff4b38e92f741af38588f9492556, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: ServiceButton
second: {fileID: 2100000, guid: 8c70734ef67286949a696849ff2002b6, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: TestButton
second: {fileID: 2100000, guid: 36f336408ae6a7548820c207eed2a70a, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: aimmeButton
second: {fileID: 2100000, guid: b80697b204d6f6d4991ac2e3186b459c, type: 2}
materials:
materialImportMode: 2
materialName: 0
@ -129,6 +149,7 @@ ModelImporter:
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
remapMaterialsIfMaterialImportModeIsNone: 1
additionalBone: 0
userData:
assetBundleName:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 439650e019c76c24eb2d5f0016d72dea
guid: 2a7fa174f24648a4e85f11bbb2fb60ef
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -0,0 +1,404 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1220820192339518250
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6610233649030320152}
- component: {fileID: 3272618568242861963}
- component: {fileID: 1463812550904208064}
m_Layer: 5
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6610233649030320152
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220820192339518250}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1982086086488236065}
m_Father: {fileID: 6752826324813969372}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 10, y: -10}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3272618568242861963
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220820192339518250}
m_CullTransparentMesh: 1
--- !u!114 &1463812550904208064
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1220820192339518250}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1340948878740887281
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1982086086488236065}
- component: {fileID: 4143746629096893125}
- component: {fileID: 6870422443026282029}
m_Layer: 5
m_Name: Checkmark
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1982086086488236065
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1340948878740887281}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6610233649030320152}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4143746629096893125
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1340948878740887281}
m_CullTransparentMesh: 1
--- !u!114 &6870422443026282029
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1340948878740887281}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5644598695143456032
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4545477537435998766}
- component: {fileID: 4914134492775180718}
- component: {fileID: 840120427923841567}
- component: {fileID: 879543074018993664}
m_Layer: 7
m_Name: CheckBoxText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4545477537435998766
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6752826324813969372}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 300, y: 25}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &4914134492775180718
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_CullTransparentMesh: 1
--- !u!114 &840120427923841567
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Capture Desktop:'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: d4c2f646d95b8274aa0db87aafdbc403, type: 2}
m_sharedMaterial: {fileID: -496328944936906682, guid: d4c2f646d95b8274aa0db87aafdbc403,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 4
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!225 &879543074018993664
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 0
m_BlocksRaycasts: 0
m_IgnoreParentGroups: 0
--- !u!1 &5797589906357710865
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6752826324813969372}
- component: {fileID: 5266744100940582161}
- component: {fileID: 907000828593675063}
m_Layer: 5
m_Name: Toggle
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6752826324813969372
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5797589906357710865}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.25, y: 1.25, z: 1.25}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 6610233649030320152}
m_Father: {fileID: 4545477537435998766}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 182, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5266744100940582161
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5797589906357710865}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1463812550904208064}
toggleTransition: 1
graphic: {fileID: 6870422443026282029}
m_Group: {fileID: 0}
onValueChanged:
m_PersistentCalls:
m_Calls: []
m_IsOn: 1
--- !u!225 &907000828593675063
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5797589906357710865}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 1

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 2dcfcfc00d4ac7749bb60698b85f1dc2
AssemblyDefinitionImporter:
guid: 5775997b13076264f9f1cb4c32eede19
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 5436500ab54595849b4b0dda68b4f629
AssemblyDefinitionImporter:
guid: 5da4516f609052242915c455fc208ca2
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:

View File

@ -0,0 +1,558 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &915274312620069497
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5234653322864304730}
m_Layer: 5
m_Name: Handle Slide Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5234653322864304730
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 915274312620069497}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5094062789511148128}
m_Father: {fileID: 4821294829281819036}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &953721974989367623
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4821294829281819036}
- component: {fileID: 4034806853489518429}
- component: {fileID: 485274077402689608}
m_Layer: 5
m_Name: Slider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4821294829281819036
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 953721974989367623}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 201553629786908670}
- {fileID: 2752376810135840621}
- {fileID: 5234653322864304730}
m_Father: {fileID: 4545477537435998766}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 170, y: 0}
m_SizeDelta: {x: 200, y: 20}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &4034806853489518429
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 953721974989367623}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1455986263120185566}
m_FillRect: {fileID: 1014690918283339427}
m_HandleRect: {fileID: 5094062789511148128}
m_Direction: 0
m_MinValue: 0
m_MaxValue: 1
m_WholeNumbers: 0
m_Value: 0
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
--- !u!225 &485274077402689608
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 953721974989367623}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 1
m_BlocksRaycasts: 1
m_IgnoreParentGroups: 1
--- !u!1 &3499886009287098783
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 201553629786908670}
- component: {fileID: 8804492423156602838}
- component: {fileID: 1121148089383834727}
m_Layer: 5
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &201553629786908670
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3499886009287098783}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4821294829281819036}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8804492423156602838
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3499886009287098783}
m_CullTransparentMesh: 1
--- !u!114 &1121148089383834727
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3499886009287098783}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &3832991283821077537
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1014690918283339427}
- component: {fileID: 2609118963034683540}
- component: {fileID: 2384459647577195797}
m_Layer: 5
m_Name: Fill
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1014690918283339427
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3832991283821077537}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2752376810135840621}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 10, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2609118963034683540
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3832991283821077537}
m_CullTransparentMesh: 1
--- !u!114 &2384459647577195797
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3832991283821077537}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5496137740871002846
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2752376810135840621}
m_Layer: 5
m_Name: Fill Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2752376810135840621
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5496137740871002846}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1014690918283339427}
m_Father: {fileID: 4821294829281819036}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.25}
m_AnchorMax: {x: 1, y: 0.75}
m_AnchoredPosition: {x: -5, y: 0}
m_SizeDelta: {x: -20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5644598695143456032
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4545477537435998766}
- component: {fileID: 4914134492775180718}
- component: {fileID: 840120427923841567}
- component: {fileID: 8939025946289994825}
m_Layer: 7
m_Name: SliderText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4545477537435998766
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 4821294829281819036}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 300, y: 25}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &4914134492775180718
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_CullTransparentMesh: 1
--- !u!114 &840120427923841567
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Spectator FOV:'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: d4c2f646d95b8274aa0db87aafdbc403, type: 2}
m_sharedMaterial: {fileID: -496328944936906682, guid: d4c2f646d95b8274aa0db87aafdbc403,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 20
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 4
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!225 &8939025946289994825
CanvasGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5644598695143456032}
m_Enabled: 1
m_Alpha: 1
m_Interactable: 0
m_BlocksRaycasts: 0
m_IgnoreParentGroups: 0
--- !u!1 &7399021800224349206
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5094062789511148128}
- component: {fileID: 737778696902323821}
- component: {fileID: 1455986263120185566}
m_Layer: 5
m_Name: Handle
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5094062789511148128
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7399021800224349206}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5234653322864304730}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &737778696902323821
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7399021800224349206}
m_CullTransparentMesh: 1
--- !u!114 &1455986263120185566
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7399021800224349206}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10913, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 48a5eb7af38418f47aa7dd9c8f4512d7
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: acd587738450a294d9580a813a15be87
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ae74c6423d6700c41bd2ce79a0cb9c21
guid: 410f42f003bbf594aa440bf2be960179
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -0,0 +1,548 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!181963792 &2655988077585873504
Preset:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: XRInteractorLineVisual
m_TargetType:
m_NativeTypeID: 114
m_ManagedTypePPtr: {fileID: 11500000, guid: e988983f96fe1dd48800bcdfc82f23e9,
type: 3}
m_ManagedTypeFallback:
m_Properties:
- target: {fileID: 0}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_EditorHideFlags
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_EditorClassIdentifier
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LineWidth
value: 0.0075
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_OverrideInteractorLineLength
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_LineLength
value: 4
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].time
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].value
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].inSlope
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].outSlope
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].tangentMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].weightedMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].inWeight
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[0].outWeight
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].time
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].value
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].inSlope
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].outSlope
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].tangentMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].weightedMode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].inWeight
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_Curve.Array.data[1].outWeight
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_PreInfinity
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_PostInfinity
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_WidthCurve.m_RotationOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key0.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key0.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key0.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key0.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key1.r
value: 0.08373084
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key1.g
value: 0.3962264
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key1.b
value: 0.13793394
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key1.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key2.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key2.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key2.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key2.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key3.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key3.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key3.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key3.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key4.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key4.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key4.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key4.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key5.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key5.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key5.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key5.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key6.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key6.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key6.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key6.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key7.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key7.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key7.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.key7.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime1
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime3
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime4
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime6
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.ctime7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime1
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime3
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime4
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime6
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.atime7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.m_NumColorKeys
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ValidColorGradient.m_NumAlphaKeys
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key0.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key0.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key0.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key0.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key1.r
value: 0.5062836
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key1.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key1.b
value: 0.4943396
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key1.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key2.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key2.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key2.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key2.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key3.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key3.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key3.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key3.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key4.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key4.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key4.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key4.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key5.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key5.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key5.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key5.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key6.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key6.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key6.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key6.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key7.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key7.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key7.b
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.key7.a
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime1
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime3
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime4
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime6
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.ctime7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime0
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime1
value: 65535
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime3
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime4
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime6
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.atime7
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.m_NumColorKeys
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_InvalidColorGradient.m_NumAlphaKeys
value: 2
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SmoothMovement
value: 0
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_FollowTightness
value: 10
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SnapThresholdDistance
value: 10
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_Reticle
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_StopLineAtFirstRaycastHit
value: 1
objectReference: {fileID: 0}
m_ExcludedProperties: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d42526583fd54494fa1bdc62ea8b4b4d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2655988077585873504
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d111fd0185fe2fc45b460568521cfa52
guid: 2a2fbd11bfacc9a4daa238a38ecc91c9
AudioImporter:
externalObjects: {}
serializedVersion: 6

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3a58fae54bae56b43aec5b1e5484956d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 279565d12b7209748ba58a7fdde6192d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 82d57d23a2c07524980571cf74a24c8c
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: cbc85ab46f925f84cbea65730e00296a
guid: 9f422df7cff960248ab0e23af8e5156a
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7ca1f880c13f8d447824a9c1b26af67e
guid: 5617a5f7afa21a74eb6d9a654217e118
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -348,114 +348,26 @@
"isPartOfComposite": false
},
{
"name": "2D Vector",
"id": "de8136fd-5b07-4794-bb96-63c6027cf1b6",
"path": "2DVector(mode=2)",
"name": "",
"id": "8ed313a6-c966-4669-8a62-4bb2319d485b",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "",
"processors": "StickDeadzone",
"groups": "",
"processors": "ScaleVector2(y=0),StickDeadzone",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": true,
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "up",
"id": "529c0dda-d254-4a71-8aa8-7dbdeabbe45d",
"path": "",
"name": "",
"id": "370f21e3-a80b-4b07-990b-299c2da0929a",
"path": "<XRController>{LeftHand}/Primary2DAxis",
"interactions": "",
"processors": "",
"processors": "ScaleVector2(x=0),StickDeadzone",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "dad37c56-3fcd-4890-98bf-e06f80ba76ff",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "e0dd3431-14bb-4817-ac71-ed700d5af1ca",
"path": "<XRController>{LeftHand}/Primary2DAxis/x",
"interactions": "",
"processors": "Clamp(min=-1),Invert",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "0064f189-a00e-4cf8-9f53-be76a30cb97f",
"path": "<XRController>{LeftHand}/Primary2DAxis/x",
"interactions": "",
"processors": "Clamp(max=1)",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "2D Vector",
"id": "44d142b3-f6ac-4d08-8bd1-fac53cf9bb9e",
"path": "2DVector(mode=2)",
"interactions": "",
"processors": "StickDeadzone",
"groups": "",
"action": "Translate Anchor",
"isComposite": true,
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "up",
"id": "b1dbcb6a-408c-413c-b2d1-7a10fe418324",
"path": "<XRController>{LeftHand}/Primary2DAxis/y",
"interactions": "",
"processors": "Clamp(max=1)",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "0e38a62a-8bee-4853-b87a-1af460e3ec33",
"path": "<XRController>{LeftHand}/Primary2DAxis/y",
"interactions": "",
"processors": "Clamp(min=-1),Invert",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "2f25805f-44a3-4716-983c-532473bcc03c",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "d97ccaa1-79ae-4ca7-b7dd-be5ce92c94a6",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
}
]
},
@ -866,114 +778,26 @@
"isPartOfComposite": false
},
{
"name": "2D Vector",
"id": "61502e80-1b21-4116-890c-c0bc31c9dffd",
"path": "2DVector(mode=2)",
"name": "",
"id": "5c0fa06c-b670-477f-a95d-eb3b4880e439",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "",
"processors": "StickDeadzone",
"groups": "",
"processors": "ScaleVector2(y=0),StickDeadzone",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": true,
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "up",
"id": "2b466c01-134f-40f2-b376-f7e9684e423b",
"path": "",
"name": "",
"id": "4caf4e8d-13e5-4bd6-8f42-b6b99c315ad0",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "",
"processors": "",
"processors": "ScaleVector2(x=0),StickDeadzone",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "79757cb3-5b81-4a3d-bc3c-d2582f85d5db",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "76425f70-54b8-4f8e-ad52-94debc75962c",
"path": "<XRController>{RightHand}/Primary2DAxis/x",
"interactions": "",
"processors": "Clamp(min=-1),Invert",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "8df952de-cf29-4b5e-9a90-a6b4eee7f52c",
"path": "<XRController>{RightHand}/Primary2DAxis/x",
"interactions": "",
"processors": "Clamp(max=1)",
"groups": "Generic XR Controller",
"action": "Rotate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "2D Vector",
"id": "a4b1434f-f204-49c4-bcea-c25e321e93eb",
"path": "2DVector(mode=2)",
"interactions": "",
"processors": "StickDeadzone",
"groups": "",
"action": "Translate Anchor",
"isComposite": true,
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "up",
"id": "4ced8328-f738-4bbd-937a-c09019acd234",
"path": "<XRController>{RightHand}/Primary2DAxis/y",
"interactions": "",
"processors": "Clamp(max=1)",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "f7e89e7c-f5a9-4f42-914f-945815a49033",
"path": "<XRController>{RightHand}/Primary2DAxis/y",
"interactions": "",
"processors": "Clamp(min=-1),Invert",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "df3b3e57-34c6-4200-b00e-6617123a9680",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "54ddc99c-3e9a-4c3a-9fdd-f5fb15952af4",
"path": "",
"interactions": "",
"processors": "",
"groups": "Generic XR Controller",
"action": "Translate Anchor",
"isComposite": false,
"isPartOfComposite": true
}
]
},
@ -1074,7 +898,7 @@
},
{
"name": "",
"id": "3af1b85a-be65-41f4-ae1d-a9cfdc4e3031",
"id": "022046aa-be71-4288-859d-6dd42844f6e6",
"path": "<XRController>{RightHand}/Primary2DAxis",
"interactions": "",
"processors": "StickDeadzone",

View File

@ -25,6 +25,10 @@ Preset:
propertyPath: m_EditorClassIdentifier
value:
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_SendPointerHoverToParent
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_ClickSpeed
value: 0.3
@ -105,6 +109,10 @@ Preset:
value:
objectReference: {fileID: 2387711382375263438, guid: c348712bda248c246b8c49b3db54643f,
type: 3}
- target: {fileID: 0}
propertyPath: m_EnableBuiltinActionsAsFallback
value: 1
objectReference: {fileID: 0}
- target: {fileID: 0}
propertyPath: m_EnableGamepadInput
value: 1

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 677216ab5eae7f444b67c54fe09ac939
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +0,0 @@
{
"displayName":"Example XR Management implementation",
"description": "Example code showing how to implement various portions of the XR Management API.",
"createSeparatePackage": true
}

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: f2f51cbe2f868114a9897eaca901d062
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,90 +0,0 @@
using System.Linq;
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
namespace Samples
{
/// <summary>
/// Simple build processor that makes sure that any custom configuration that the user creates is
/// correctly passed on to the provider implementation at runtime.
///
/// Custom configuration instances that are stored in EditorBuildSettings are not copied to the target build
/// as they are considered unreferenced assets. In order to get them to the runtime side of things, they need
/// to be serialized to the build app and deserialized at runtime. Previously this would be a manual process
/// requiring the implementor to manually serialize to some location that can then be read from to deserialize
/// at runtime. With the new PlayerSettings Preloaded Assets API we can now just add our asset to the preloaded
/// list and have it be instantiated at app launch.
///
/// Note that the preloaded assets are only notified with Awake, so anything you want or need to do with the
/// asset after launch needs to be handled there.
///
/// More info on APIs used here:
/// * &lt;a href="https://docs.unity3d.com/ScriptReference/EditorBuildSettings.html"&gt;EditorBuildSettings&lt;/a&gt;
/// * &lt;a href="https://docs.unity3d.com/ScriptReference/PlayerSettings.GetPreloadedAssets.html&gt;PlayerSettings.GetPreloadedAssets&lt;/a&gt;
/// * &lt;a href="https://docs.unity3d.com/ScriptReference/PlayerSettings.SetPreloadedAssets.html"&gt;PlayerSettings.SetPreloadedAssets&lt;/a&gt;
/// </summary>
public class SampleBuildProcessor : IPreprocessBuildWithReport, IPostprocessBuildWithReport
{
/// <summary>Override of <see cref="IPreprocessBuildWithReport"/> and <see cref="IPostprocessBuildWithReport"/></summary>
public int callbackOrder
{
get { return 0; }
}
void CleanOldSettings()
{
UnityEngine.Object[] preloadedAssets = PlayerSettings.GetPreloadedAssets();
if (preloadedAssets == null)
return;
var oldSettings = from s in preloadedAssets
where s != null && s.GetType() == typeof(SampleSettings)
select s;
if (oldSettings != null && oldSettings.Any())
{
var assets = preloadedAssets.ToList();
foreach (var s in oldSettings)
{
assets.Remove(s);
}
PlayerSettings.SetPreloadedAssets(assets.ToArray());
}
}
/// <summary>Override of <see cref="IPreprocessBuildWithReport"/></summary>
/// <param name="report">Build report.</param>
public void OnPreprocessBuild(BuildReport report)
{
// Always remember to cleanup preloaded assets after build to make sure we don't
// dirty later builds with assets that may not be needed or are out of date.
CleanOldSettings();
SampleSettings settings = null;
EditorBuildSettings.TryGetConfigObject(SampleConstants.k_SettingsKey, out settings);
if (settings == null)
return;
UnityEngine.Object[] preloadedAssets = PlayerSettings.GetPreloadedAssets();
if (!preloadedAssets.Contains(settings))
{
var assets = preloadedAssets.ToList();
assets.Add(settings);
PlayerSettings.SetPreloadedAssets(assets.ToArray());
}
}
/// <summary>Override of <see cref="IPostprocessBuildWithReport"/></summary>
/// <param name="report">Build report.</param>
public void OnPostprocessBuild(BuildReport report)
{
// Always remember to cleanup preloaded assets after build to make sure we don't
// dirty later builds with assets that may not be needed or are out of date.
CleanOldSettings();
}
}
}

View File

@ -1,85 +0,0 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEditor.XR.Management.Metadata;
namespace Samples
{
class SamplePackage : IXRPackage
{
class SampleLoaderMetadata : IXRLoaderMetadata
{
public string loaderName { get; set; }
public string loaderType { get; set; }
public List<BuildTargetGroup> supportedBuildTargets { get; set; }
}
class SamplePackageMetadata : IXRPackageMetadata
{
public string packageName { get; set; }
public string packageId { get; set; }
public string settingsType { get; set; }
public List<IXRLoaderMetadata> loaderMetadata { get; set; }
}
static IXRPackageMetadata s_Metadata = new SamplePackageMetadata() {
packageName = "Sample Package <SAMPLE ONLY YOU MUST REIMPLEMENT>",
packageId = "com.unity.xr.samplespackage",
settingsType = typeof(SampleSettings).FullName,
loaderMetadata = new List<IXRLoaderMetadata>() {
new SampleLoaderMetadata() {
loaderName = "Sample Loader One <SAMPLE ONLY YOU MUST REIMPLEMENT>",
loaderType = typeof(SampleLoader).FullName,
supportedBuildTargets = new List<BuildTargetGroup>() {
BuildTargetGroup.Standalone,
BuildTargetGroup.WSA
}
},
new SampleLoaderMetadata() {
loaderName = "Sample Loader Two <SAMPLE ONLY YOU MUST REIMPLEMENT>",
loaderType = typeof(SampleLoader).FullName,
supportedBuildTargets = new List<BuildTargetGroup>() {
BuildTargetGroup.Android,
BuildTargetGroup.iOS,
#if !UNITY_2021_2_OR_NEWER
BuildTargetGroup.Lumin
#endif
}
}
}
};
const string k_PackageNotificationTooltip =
@"This loader is purely a sample and will not load any XR Device.
This message is a part of sample code to show how to register a loader that might contain issues or require additonal
context. One example could be that the package that contains this loader is being deprecated and any user who intends to
use the package needs to be aware of deprecation.
Click this icon to be taken to the XR Plug-in Management documentation home page.";
const string k_PackageNotificationIcon = "console.warnicon.sml";
const string k_PackageNotificationManagementDocsURL = @"https://docs.unity3d.com/Packages/com.unity.xr.management@latest/index.html";
public IXRPackageMetadata metadata
{
get
{
// Register package notification information anytime the metadata is asked requested.
var packageNotificationInfo = new PackageNotificationInfo(
EditorGUIUtility.IconContent(k_PackageNotificationIcon),
k_PackageNotificationTooltip,
k_PackageNotificationManagementDocsURL);
PackageNotificationUtils.RegisterPackageNotificationInformation(s_Metadata.packageId, packageNotificationInfo);
return s_Metadata;
}
}
public bool PopulateNewSettingsInstance(ScriptableObject obj)
{
return true;
}
}
}

View File

@ -1,60 +0,0 @@
using UnityEditor;
using UnityEngine;
namespace Samples
{
/// <summary>
/// Simple custom editor used to show how to enable custom UI for XR Management
/// configuraton data.
/// </summary>
[CustomEditor(typeof(SampleSettings))]
public class SampleSettingsEditor : Editor
{
static string k_RequiresProperty = "m_RequiresItem";
static string k_RuntimeToggleProperty = "m_RuntimeToggle";
static GUIContent k_ShowBuildSettingsLabel = new GUIContent("Build Settings");
static GUIContent k_RequiresLabel = new GUIContent("Item Requirement");
static GUIContent k_ShowRuntimeSettingsLabel = new GUIContent("Runtime Settings");
static GUIContent k_RuntimeToggleLabel = new GUIContent("Should I stay or should I go?");
bool m_ShowBuildSettings = true;
bool m_ShowRuntimeSettings = true;
SerializedProperty m_RequiesItemProperty;
SerializedProperty m_RuntimeToggleProperty;
/// <summary>Override of Editor callback.</summary>
public override void OnInspectorGUI()
{
if (serializedObject == null || serializedObject.targetObject == null)
return;
if (m_RequiesItemProperty == null) m_RequiesItemProperty = serializedObject.FindProperty(k_RequiresProperty);
if (m_RuntimeToggleProperty == null) m_RuntimeToggleProperty = serializedObject.FindProperty(k_RuntimeToggleProperty);
serializedObject.Update();
m_ShowBuildSettings = EditorGUILayout.Foldout(m_ShowBuildSettings, k_ShowBuildSettingsLabel);
if (m_ShowBuildSettings)
{
EditorGUI.indentLevel++;
EditorGUILayout.PropertyField(m_RequiesItemProperty, k_RequiresLabel);
EditorGUI.indentLevel--;
}
EditorGUILayout.Space();
m_ShowRuntimeSettings = EditorGUILayout.Foldout(m_ShowRuntimeSettings, k_ShowRuntimeSettingsLabel);
if (m_ShowRuntimeSettings)
{
EditorGUI.indentLevel++;
EditorGUILayout.PropertyField(m_RuntimeToggleProperty, k_RuntimeToggleLabel);
EditorGUI.indentLevel--;
}
serializedObject.ApplyModifiedProperties();
}
}
}

View File

@ -1,103 +0,0 @@
using System;
using UnityEditor;
using UnityEditor.XR.Management;
using UnityEngine;
namespace Samples
{
/// <summary>
/// Sample loader UI demonstrating how to provide your own loader selection UI for the
/// loader selection list.
/// </summary>
[XRCustomLoaderUI("Samples.SampleLoader", BuildTargetGroup.Standalone)]
public class SampleStandaloneLoaderUI : IXRCustomLoaderUI
{
static readonly string[] features = new string[]{
"Feature One",
"Feature Two",
"Feature Three"
};
struct Content
{
public static readonly GUIContent k_LoaderName = new GUIContent("Sample Loader One Custom <SAMPLE ONLY YOU MUST REIMPLEMENT>");
public static readonly GUIContent k_Download = new GUIContent("Download");
public static readonly GUIContent k_WarningIcon = EditorGUIUtility.IconContent("console.warnicon.sml");
}
float renderLineHeight = 0;
/// <inheritdoc />
public bool IsLoaderEnabled { get; set; }
/// <inheritdoc />
public string[] IncompatibleLoaders => new string[] { "UnityEngine.XR.WindowsMR.WindowsMRLoader" };
/// <inheritdoc />
public float RequiredRenderHeight { get; private set; }
/// <inheritdoc />
public void SetRenderedLineHeight(float height)
{
renderLineHeight = height;
RequiredRenderHeight = height;
if (IsLoaderEnabled)
{
RequiredRenderHeight += features.Length * height;
}
}
/// <inheritdoc />
public BuildTargetGroup ActiveBuildTargetGroup { get; set; }
/// <inheritdoc />
public void OnGUI(Rect rect)
{
var size = EditorStyles.toggle.CalcSize(Content.k_LoaderName);
var labelRect = new Rect(rect);
labelRect.width = size.x;
labelRect.height = renderLineHeight;
IsLoaderEnabled = EditorGUI.ToggleLeft(labelRect, Content.k_LoaderName, IsLoaderEnabled);
// The following shows how to make draw an icon with a tooltip
size = EditorStyles.label.CalcSize(Content.k_WarningIcon);
var imageRect = new Rect(rect);
imageRect.xMin = labelRect.xMax + 1;
imageRect.width = size.y;
imageRect.height = renderLineHeight;
var iconWithTooltip = new GUIContent("", Content.k_WarningIcon.image, "Warning: This is a sample to show how to draw a custom icon with a tooltip!");
EditorGUI.LabelField(imageRect, iconWithTooltip);
if (IsLoaderEnabled)
{
EditorGUI.indentLevel++;
var featureRect = new Rect(rect);
featureRect.yMin = labelRect.yMax + 1;
featureRect.height = renderLineHeight;
foreach (var feature in features)
{
var buttonSize = EditorStyles.toggle.CalcSize(Content.k_Download);
var featureLabelRect = new Rect(featureRect);
featureLabelRect.width -= buttonSize.x;
EditorGUI.ToggleLeft(featureLabelRect, feature, false);
var buttonRect = new Rect(featureRect);
buttonRect.xMin = featureLabelRect.xMax + 1;
buttonRect.width = buttonSize.x;
if (GUI.Button(buttonRect, Content.k_Download))
{
Debug.Log($"{feature} download button pressed. Do something here!");
}
featureRect.yMin += renderLineHeight;
featureRect.height = renderLineHeight;
}
EditorGUI.indentLevel--;
}
}
}
}

View File

@ -1,14 +0,0 @@
{
"name": "Unity.XR.Management.Samples.Editor",
"references": [
"Unity.XR.Management.Editor",
"Unity.XR.Management.Samples",
"Unity.XR.Management"
],
"optionalUnityReferences": [
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": []
}

View File

@ -1,15 +0,0 @@
using System;
namespace Samples
{
/// <summary>
/// Static constants
/// </summary>
public static class SampleConstants
{
/// <summary>
/// Key we use to store and retrieve custom configuration settings from EditorBuildSettings
/// </summary>
public const string k_SettingsKey = "com.unity.xr.management.sample_settings";
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 9fcb2c0388adf4dae9b9d876af26062c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,89 +0,0 @@
using System.Collections.Generic;
using UnityEngine.XR;
using UnityEngine.XR.Management;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.XR.Management;
#endif
namespace Samples
{
/// <summary>
/// Sample loader implentation showing how to create simple loader.
/// NOTE: You have to rename this class to make it appear in the loader list for
/// XRManager.
/// </summary>
#if UNITY_EDITOR
[XRSupportedBuildTarget(BuildTargetGroup.Standalone, new BuildTarget[]{ BuildTarget.StandaloneWindows, BuildTarget.StandaloneWindows64})]
[XRSupportedBuildTarget(BuildTargetGroup.Android)]
#endif
public class SampleLoader : XRLoaderHelper
{
static List<XRInputSubsystemDescriptor> s_InputSubsystemDescriptors =
new List<XRInputSubsystemDescriptor>();
/// <summary>Return the currently active Input Subsystem intance, if any.</summary>
public XRInputSubsystem inputSubsystem
{
get { return GetLoadedSubsystem<XRInputSubsystem>(); }
}
SampleSettings GetSettings()
{
SampleSettings settings = null;
// When running in the Unity Editor, we have to load user's customization of configuration data directly from
// EditorBuildSettings. At runtime, we need to grab it from the static instance field instead.
#if UNITY_EDITOR
UnityEditor.EditorBuildSettings.TryGetConfigObject(SampleConstants.k_SettingsKey, out settings);
#else
settings = SampleSettings.s_RuntimeInstance;
#endif
return settings;
}
#region XRLoader API Implementation
/// <summary>Implementaion of <see cref="XRLoader.Initialize"/></summary>
/// <returns>True if successful, false otherwise</returns>
public override bool Initialize()
{
SampleSettings settings = GetSettings();
if (settings != null)
{
// TODO: Pass settings off to plugin prior to subsystem init.
}
CreateSubsystem<XRInputSubsystemDescriptor, XRInputSubsystem>(s_InputSubsystemDescriptors, "InputSubsystemDescriptor");
return false;
}
/// <summary>Implementaion of <see cref="XRLoader.Start"/></summary>
/// <returns>True if successful, false otherwise</returns>
public override bool Start()
{
StartSubsystem<XRInputSubsystem>();
return true;
}
/// <summary>Implementaion of <see cref="XRLoader.Stop"/></summary>
/// <returns>True if successful, false otherwise</returns>
public override bool Stop()
{
StopSubsystem<XRInputSubsystem>();
return true;
}
/// <summary>Implementaion of <see cref="XRLoader.Deinitialize"/></summary>
/// <returns>True if successful, false otherwise</returns>
public override bool Deinitialize()
{
DestroySubsystem<XRInputSubsystem>();
return base.Deinitialize();
}
#endregion
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 7bc0125267fb14445a858e84633a46b9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,57 +0,0 @@
using UnityEngine;
namespace Samples
{
/// <summary>
/// Simple sample settings showing how to create custom configuration data for your package.
/// </summary>
// Uncomment below line to have the settings appear in unified settings.
//[XRConfigurationData("Sample Settings", SampleConstants.k_SettingsKey)]
[System.Serializable]
public class SampleSettings : ScriptableObject
{
#if !UNITY_EDITOR
/// <summary>Static instance that will hold the runtime asset instance we created in our build process.</summary>
/// <see cref="SampleBuildProcessor"/>
public static SampleSettings s_RuntimeInstance = null;
#endif
/// <summary>Requirement settings enumeration</summary>
public enum Requirement
{
/// <summary>Required</summary>
Required,
/// <summary>Optional</summary>
Optional,
/// <summary>None</summary>
None
}
[SerializeField, Tooltip("Changes item requirement.")]
Requirement m_RequiresItem;
/// <summary>Whether or not the item is required.</summary>
public Requirement requiresItem
{
get { return m_RequiresItem; }
set { m_RequiresItem = value; }
}
[SerializeField, Tooltip("Some toggle for runtime.")]
bool m_RuntimeToggle = true;
/// <summary>Where we toggled?</summary>
public bool runtimeToggle
{
get { return m_RuntimeToggle; }
set { m_RuntimeToggle = value; }
}
void Awake()
{
#if !UNITY_EDITOR
s_RuntimeInstance = this;
#endif
}
}
}

View File

@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: c76bebe14424446cca62c6e29db5054f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,12 +0,0 @@
{
"name": "Unity.XR.Management.Samples",
"references": [
"Unity.XR.Management.Editor",
"Unity.XR.Management"
],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": []
}

File diff suppressed because it is too large Load Diff

View File

@ -69,7 +69,7 @@ TextureImporter:
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 2
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0

Binary file not shown.

View File

@ -0,0 +1,98 @@
fileFormatVersion: 2
guid: b383e3d839d88de408add93a1620cb43
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 1
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 3
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 0
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 6
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: ec53dcc57d04ff941b2974ead0217a06
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,3 +0,0 @@
{
"name": "Camera"
}

View File

@ -0,0 +1,45 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using WindowsInput.Native;
using System;
public class ButtonSettingManager : MonoBehaviour
{
public ButtonType buttonType;
private PanelButton panelButton;
void Start()
{
panelButton = GetComponent<PanelButton>();
ConfigManager.onConfigChanged += ApplyConfig;
ConfigManager.EnsureInitialization();
ApplyConfig();
}
void ApplyConfig()
{
switch (buttonType)
{
case ButtonType.Test:
panelButton.key = ConfigManager.config.TestKey;
break;
case ButtonType.Service:
panelButton.key = ConfigManager.config.ServiceKey;
break;
case ButtonType.Coin:
panelButton.key = ConfigManager.config.CoinKey;
break;
case ButtonType.Custom:
panelButton.key = ConfigManager.config.CustomKey;
break;
}
}
public enum ButtonType
{
Test = 0,
Service = 1,
Coin = 2,
Custom = 3,
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9216d372fe0de4086af31dce05526406
guid: 03d77b3507ce3cb48bc8b62891a50d96
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -0,0 +1,32 @@
using TMPro;
using UnityEngine;
using uWindowCapture;
using UnityEngine.UI;
using System;
public class CaptureSettingManager : MonoBehaviour
{
public UwcWindowTexture windowTexture;
private void Start()
{
windowTexture = GetComponent<UwcWindowTexture>();
ConfigManager.onConfigChanged += ApplyConfig;
ConfigManager.EnsureInitialization();
ApplyConfig();
}
private void ApplyConfig()
{
windowTexture.captureMode = (CaptureMode)ConfigManager.config.CaptureMode - 1;
var fps = Enum.GetName(typeof(Config.captureFPS), ConfigManager.config.CaptureFPS);
windowTexture.captureFrameRate = int.Parse(fps.Remove(0, 3));
if (ConfigManager.config.CaptureDesktop)
{
windowTexture.type = WindowTextureType.Desktop;
windowTexture.desktopIndex = ConfigManager.config.CaptureDesktopNumber;
}
else
windowTexture.type = WindowTextureType.Window;
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 096597fc41af0774aaedec0171d8566b
guid: aab0706a705f478439bdde244717e9f7
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -0,0 +1,90 @@
using System.Collections;
using WindowsInput.Native;
using UnityEngine;
public class Config
{
public captureMode CaptureMode = captureMode.BitBlt;
public enum captureMode
{
None = 0,
PrintWindow = 1,
BitBlt = 2,
WindowsGraphicCapture = 3,
Auto = 4
}
public captureFPS CaptureFPS = captureFPS.FPS72;
public enum captureFPS
{
FPS30 = 0,
FPS60 = 1,
FPS72 = 2,
FPS90 = 3,
FPS120 = 4,
FPS144 = 5
}
public bool CaptureDesktop = false;
public int CaptureDesktopNumber = 0;
public spectatorMode SpectatorMode = spectatorMode.ThirdPerson;
public enum spectatorMode
{
FirstPerson = 0,
FirstPersonSmooth = 1,
ThirdPerson = 2,
}
public spectatorFPS SpectatorFPS = spectatorFPS.FPS60;
public enum spectatorFPS
{
FPS15 = 0,
FPS30 = 1,
FPS45 = 2,
FPS60 = 3,
FPS72 = 4,
FPS90 = 5,
FPS120 = 6,
FPS144 = 7
}
public float SpectatorFOV = 40;
public float SpectatorSmooth = 0.05f;
public float[] TPCamPosition = new float[3] { -0.6f, 1.8f, -1.2f };
public float[] TPCamRotation = new float[3] { 23, 35, 0 };
public float HandSize = 8f;
public float[] HandPosition = new float[3] { 0, 0, 0 };
public int Skybox = 0;
public float PlayerHeight = 0;
public float HapticDuration = 0.1f;
public float HapticAmplitude = 0.75f;
public touchSampleRate TouchSampleRate = touchSampleRate.FPS90;
public enum touchSampleRate
{
FPS60 = 0,
FPS72 = 1,
FPS90 = 2,
FPS120 = 3,
FPS144 = 4,
FPS160 = 5,
FPS180 = 6,
FPS200 = 7,
FPS240 = 8,
FPS280 = 9,
FPS320 = 10,
}
public handStabilization HandStabilizationMode = handStabilization.None;
public enum handStabilization
{
None = 0,
Velocity = 1,
Distance = 2,
Smooth = 3,
}
public float HandStabilVelocity = 0.1f;
public float HandStabilDistance = 0.1f;
public float HandStabilSmooth = 0.1f;
public bool useLight = true;
public bool useIPCLighting = true;
public bool useIPCTouch = true;
public VirtualKeyCode TestKey = VirtualKeyCode.INSERT;
public VirtualKeyCode ServiceKey = VirtualKeyCode.DELETE;
public VirtualKeyCode CoinKey = VirtualKeyCode.HOME;
public VirtualKeyCode CustomKey = VirtualKeyCode.NONAME;
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 81f90f56b259f4aba826980c947f4140
guid: 6698a2fb3ec8a144bb82ba10ec7fe7cc
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -0,0 +1,240 @@
using System.Collections;
using System;
using UnityEngine;
using WindowsInput.Native;
using TMPro;
using UnityEngine.UI;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class ConfigManager : MonoBehaviour
{
public static Config config;
private static bool hasInitialized = false;
Config oldConfig;
public static event Action onConfigChanged;
private static float saverTimer = 0;
private static bool isSavingConfig = false;
private float saverDelay = 1.5f;
void Awake()
{
onConfigChanged += EnsureInitialization;
onConfigChanged += SaveFile;
}
void Start()
{
EnsureInitialization();
FindConfigPanelWidget();
UpdateConfigPanel();
AddListenerToWidget();
onConfigChanged?.Invoke();
}
public static void EnsureInitialization()
{
if (hasInitialized)
return;
LoadFile();
hasInitialized = true;
}
private static void LoadFile()
{
Debug.Log("Loading config file");
if (File.Exists(GetFileName()))
{
Debug.Log("Config file exists");
config = JsonConvert.DeserializeObject<Config>(File.ReadAllText(GetFileName()));
}
else
{
Debug.Log("Config file does not exist");
config = new Config();
SaveFile();
Debug.Log("Config file created");
}
}
public static string GetFileName()
{
return Application.dataPath + "/../config.json";
}
public static void SaveFile()
{
isSavingConfig = true;
saverTimer = 0;
//Debug.Log("Saving config file");
}
public void saveFileWait()
{
File.WriteAllText(GetFileName(), JsonConvert.SerializeObject(config, Formatting.Indented));
Debug.Log("Config file saved");
}
void Update()
{
if (isSavingConfig)
{
saverTimer += Time.deltaTime;
if (saverTimer >= saverDelay)
{
isSavingConfig = false;
saverTimer = 0;
saveFileWait();
}
}
}
private TMP_Dropdown CaptureModeDropdown;
private TMP_Dropdown CaptureFPSDropdown;
private Toggle CaptureDesktopToggle;
private TMP_Dropdown SpectatorModeDropdown;
private TMP_Dropdown SpectatorFPSDropdown;
private Slider SpectatorFOVSlider;
private Slider HandSizeSlider;
private Slider HandXSlider;
private Slider HandYSlider;
private Slider HandZSlider;
private TMP_Dropdown SkyboxDropdown;
private ValueManager PlayerHeightManager;
private Slider HapticDurationSlider;
private Slider HapticAmplitudeSlider;
private TMP_Dropdown TouchSampleRateDropdown;
private TMP_Dropdown HandStabilizationModeDropdown;
private Slider HandStabilVelocitySlider;
private Slider HandStabilDistanceSlider;
private Slider HandStabilSmoothSlider;
private Toggle isIPCLightingToggle;
private Toggle isIPCTouchToggle;
private TMP_Dropdown TestKeyDropdown;
private TMP_Dropdown ServiceKeyDropdown;
private TMP_Dropdown CoinKeyDropdown;
private TMP_Dropdown CustomKeyDropdown;
void FindConfigPanelWidget()
{
CaptureModeDropdown = transform.Find("Tab1").Find("CaptureMode").Find("Dropdown").GetComponent<TMP_Dropdown>();
CaptureFPSDropdown = transform.Find("Tab1").Find("CaptureFPS").Find("Dropdown").GetComponent<TMP_Dropdown>();
CaptureDesktopToggle = transform.Find("Tab1").Find("CaptureDesktop").Find("Toggle").GetComponent<Toggle>();
SpectatorModeDropdown = transform.Find("Tab1").Find("SpectatorMode").Find("Dropdown").GetComponent<TMP_Dropdown>();
SpectatorFPSDropdown = transform.Find("Tab1").Find("SpectatorFPS").Find("Dropdown").GetComponent<TMP_Dropdown>();
SpectatorFOVSlider = transform.Find("Tab1").Find("SpectatorFOV").Find("Slider").GetComponent<Slider>();
HandSizeSlider = transform.Find("Tab1").Find("HandSize").Find("Slider").GetComponent<Slider>();
HandXSlider = transform.Find("Tab1").Find("HandX").Find("Slider").GetComponent<Slider>();
HandYSlider = transform.Find("Tab1").Find("HandY").Find("Slider").GetComponent<Slider>();
HandZSlider = transform.Find("Tab1").Find("HandZ").Find("Slider").GetComponent<Slider>();
SkyboxDropdown = transform.Find("Tab1").Find("Skybox").Find("Dropdown").GetComponent<TMP_Dropdown>();
PlayerHeightManager = transform.Find("Tab1").Find("PlayerHeight").Find("Value").GetComponent<ValueManager>();
HapticDurationSlider = transform.Find("Tab2").Find("HapticDuration").Find("Slider").GetComponent<Slider>();
HapticAmplitudeSlider = transform.Find("Tab2").Find("HapticAmplitude").Find("Slider").GetComponent<Slider>();
TouchSampleRateDropdown = transform.Find("Tab2").Find("TouchSampleRate").Find("Dropdown").GetComponent<TMP_Dropdown>();
HandStabilizationModeDropdown = transform.Find("Tab2").Find("HandStabilization").Find("Dropdown").GetComponent<TMP_Dropdown>();
//HandStabilVelocitySlider = transform.Find("Tab2").Find("HandStabilVelocity").Find("Slider").GetComponent<Slider>();
//HandStabilDistanceSlider = transform.Find("Tab2").Find("HandStabilDistance").Find("Slider").GetComponent<Slider>();
//HandStabilSmoothSlider = transform.Find("Tab2").Find("HandStabilSmooth").Find("Slider").GetComponent<Slider>();
isIPCLightingToggle = transform.Find("Tab2").Find("UseIPCLighting").Find("Toggle").GetComponent<Toggle>();
isIPCTouchToggle = transform.Find("Tab2").Find("UseIPCTouch").Find("Toggle").GetComponent<Toggle>();
TestKeyDropdown = transform.Find("Tab2").Find("TestKeyBind").Find("Dropdown").GetComponent<TMP_Dropdown>();
ServiceKeyDropdown = transform.Find("Tab2").Find("ServiceKeyBind").Find("Dropdown").GetComponent<TMP_Dropdown>();
CoinKeyDropdown = transform.Find("Tab2").Find("CoinKeyBind").Find("Dropdown").GetComponent<TMP_Dropdown>();
CustomKeyDropdown = transform.Find("Tab2").Find("CustomKeyBind").Find("Dropdown").GetComponent<TMP_Dropdown>();
}
void AddListenerToWidget()
{
CaptureModeDropdown.onValueChanged.AddListener(onIntChanged);
CaptureFPSDropdown.onValueChanged.AddListener(onIntChanged);
CaptureDesktopToggle.onValueChanged.AddListener(onBoolChanged);
SpectatorModeDropdown.onValueChanged.AddListener(onIntChanged);
SpectatorFPSDropdown.onValueChanged.AddListener(onIntChanged);
SpectatorFOVSlider.onValueChanged.AddListener(onFloatChanged);
HandSizeSlider.onValueChanged.AddListener(onFloatChanged);
HandXSlider.onValueChanged.AddListener(onFloatChanged);
HandYSlider.onValueChanged.AddListener(onFloatChanged);
HandZSlider.onValueChanged.AddListener(onFloatChanged);
SkyboxDropdown.onValueChanged.AddListener(onIntChanged);
PlayerHeightManager.onValueChanged.AddListener(onValueChanged);
HapticDurationSlider.onValueChanged.AddListener(onFloatChanged);
HapticAmplitudeSlider.onValueChanged.AddListener(onFloatChanged);
TouchSampleRateDropdown.onValueChanged.AddListener(onIntChanged);
HandStabilizationModeDropdown.onValueChanged.AddListener(onIntChanged);
//HandStabilVelocitySlider.onValueChanged.AddListener(onFloatChanged);
//HandStabilDistanceSlider.onValueChanged.AddListener(onFloatChanged);
//HandStabilSmoothSlider.onValueChanged.AddListener(onFloatChanged);
isIPCLightingToggle.onValueChanged.AddListener(onBoolChanged);
isIPCTouchToggle.onValueChanged.AddListener(onBoolChanged);
TestKeyDropdown.onValueChanged.AddListener(onIntChanged);
ServiceKeyDropdown.onValueChanged.AddListener(onIntChanged);
CoinKeyDropdown.onValueChanged.AddListener(onIntChanged);
CustomKeyDropdown.onValueChanged.AddListener(onIntChanged);
}
void onValueChanged()
{
config.PlayerHeight = PlayerHeightManager.Value;
onConfigChanged?.Invoke();
}
void onIntChanged(int value)
{
config.CaptureMode = (Config.captureMode)CaptureModeDropdown.value;
config.CaptureFPS = (Config.captureFPS)CaptureFPSDropdown.value;
config.SpectatorMode = (Config.spectatorMode)SpectatorModeDropdown.value;
config.SpectatorFPS = (Config.spectatorFPS)SpectatorFPSDropdown.value;
config.Skybox = SkyboxDropdown.value;
config.TouchSampleRate = (Config.touchSampleRate)TouchSampleRateDropdown.value;
config.HandStabilizationMode = (Config.handStabilization)HandStabilizationModeDropdown.value;
config.TestKey = (VirtualKeyCode)Enum.GetValues(typeof(VirtualKeyCode)).GetValue(TestKeyDropdown.value);
config.ServiceKey = (VirtualKeyCode)Enum.GetValues(typeof(VirtualKeyCode)).GetValue(ServiceKeyDropdown.value);
config.CoinKey = (VirtualKeyCode)Enum.GetValues(typeof(VirtualKeyCode)).GetValue(CoinKeyDropdown.value);
config.CustomKey = (VirtualKeyCode)Enum.GetValues(typeof(VirtualKeyCode)).GetValue(CustomKeyDropdown.value);
onConfigChanged?.Invoke();
}
void onFloatChanged(float value)
{
config.SpectatorFOV = SpectatorFOVSlider.value;
config.HandSize = HandSizeSlider.value;
config.HandPosition[0] = HandXSlider.value;
config.HandPosition[1] = HandYSlider.value;
config.HandPosition[2] = HandZSlider.value;
config.HapticDuration = HapticDurationSlider.value;
config.HapticAmplitude = HapticAmplitudeSlider.value;
//config.HandStabilVelocity = HandStabilVelocitySlider.value;
//config.HandStabilDistance = HandStabilDistanceSlider.value;
//config.HandStabilSmooth = HandStabilSmoothSlider.value;
onConfigChanged?.Invoke();
}
void onBoolChanged(bool value)
{
config.CaptureDesktop = CaptureDesktopToggle.isOn;
config.useIPCLighting = isIPCLightingToggle.isOn;
config.useIPCTouch = isIPCTouchToggle.isOn;
onConfigChanged?.Invoke();
}
[ContextMenu("UpdateConfigPanel")]
void UpdateConfigPanel()
{
CaptureModeDropdown.value = (int)config.CaptureMode;
CaptureFPSDropdown.value = (int)config.CaptureFPS;
CaptureDesktopToggle.isOn = config.CaptureDesktop;
SpectatorModeDropdown.value = (int)config.SpectatorMode;
SpectatorFPSDropdown.value = (int)config.SpectatorFPS;
SpectatorFOVSlider.value = config.SpectatorFOV;
HandSizeSlider.value = config.HandSize;
HandXSlider.value = config.HandPosition[0];
HandYSlider.value = config.HandPosition[1];
HandZSlider.value = config.HandPosition[2];
SkyboxDropdown.value = config.Skybox;
PlayerHeightManager.Value = config.PlayerHeight;
HapticDurationSlider.value = config.HapticDuration;
HapticAmplitudeSlider.value = config.HapticAmplitude;
TouchSampleRateDropdown.value = (int)config.TouchSampleRate;
HandStabilizationModeDropdown.value = (int)config.HandStabilizationMode;
//HandStabilVelocitySlider.value = HandStabilVelocity;
//HandStabilDistanceSlider.value = HandStabilDistance;
//HandStabilSmoothSlider.value = HandStabilSmooth;
isIPCLightingToggle.isOn = config.useIPCLighting;
isIPCTouchToggle.isOn = config.useIPCTouch;
TestKeyDropdown.value = Array.IndexOf(Enum.GetValues(typeof(VirtualKeyCode)), config.TestKey);
ServiceKeyDropdown.value = Array.IndexOf(Enum.GetValues(typeof(VirtualKeyCode)), config.ServiceKey);
CoinKeyDropdown.value = Array.IndexOf(Enum.GetValues(typeof(VirtualKeyCode)), config.CoinKey);
CustomKeyDropdown.value = Array.IndexOf(Enum.GetValues(typeof(VirtualKeyCode)), config.CustomKey);
}
}

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: f20344b9494eebc47b9860adf04f6667
guid: f0559825455822d48a37fc54c6dfd318
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@ -2,7 +2,12 @@
"name": "Configuration",
"rootNamespace": "",
"references": [
"GUID:56dd35f9b6f21364494ed8365264cbf6"
"GUID:56dd35f9b6f21364494ed8365264cbf6",
"GUID:6055be8ebefd69e48b49212b09b47b2f",
"GUID:2dcfcfc00d4ac7749bb60698b85f1dc2",
"GUID:fe685ec1767f73d42b749ea8045bfe43",
"GUID:75469ad4d38634e559750d17036d5f7c",
"GUID:e9ef0e10f8c2b264e9705f57f028b9e8"
],
"includePlatforms": [],
"excludePlatforms": [],

Some files were not shown because too many files have changed in this diff Show More