Showing
58 changed files
with
3675 additions
and
0 deletions
.gitignore
0 → 100644
1 | +# This .gitignore file should be placed at the root of your Unity project directory | ||
2 | +# | ||
3 | +# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore | ||
4 | +# | ||
5 | +# =============== # | ||
6 | + | ||
7 | +# Unity generated # | ||
8 | + | ||
9 | +# =============== # | ||
10 | + | ||
11 | +Temp/ | ||
12 | + | ||
13 | +Obj/ | ||
14 | + | ||
15 | +UnityGenerated/ | ||
16 | + | ||
17 | +Library/ | ||
18 | + | ||
19 | +## | ||
20 | +/[Ll]ibrary/ | ||
21 | +/[Tt]emp/ | ||
22 | +/[Oo]bj/ | ||
23 | +/[Bb]uild/ | ||
24 | +/[Bb]uilds/ | ||
25 | +/[Ll]ogs/ | ||
26 | +/[Uu]ser[Ss]ettings/ | ||
27 | + | ||
28 | +# MemoryCaptures can get excessive in size. | ||
29 | +# They also could contain extremely sensitive data | ||
30 | +/[Mm]emoryCaptures/ | ||
31 | + | ||
32 | +# Asset meta data should only be ignored when the corresponding asset is also ignored | ||
33 | +!/[Aa]ssets/**/*.meta | ||
34 | + | ||
35 | +# Uncomment this line if you wish to ignore the asset store tools plugin | ||
36 | +# /[Aa]ssets/AssetStoreTools* | ||
37 | + | ||
38 | +# Autogenerated Jetbrains Rider plugin | ||
39 | +/[Aa]ssets/Plugins/Editor/JetBrains* | ||
40 | + | ||
41 | +# Visual Studio cache directory | ||
42 | +.vs/ | ||
43 | + | ||
44 | +# Gradle cache directory | ||
45 | +.gradle/ | ||
46 | + | ||
47 | +# Autogenerated VS/MD/Consulo solution and project files | ||
48 | +ExportedObj/ | ||
49 | +.consulo/ | ||
50 | +*.csproj | ||
51 | +*.unityproj | ||
52 | +*.sln | ||
53 | +*.suo | ||
54 | +*.tmp | ||
55 | +*.user | ||
56 | +*.userprefs | ||
57 | +*.pidb | ||
58 | +*.booproj | ||
59 | +*.svd | ||
60 | +*.pdb | ||
61 | +*.mdb | ||
62 | +*.opendb | ||
63 | +*.VC.db | ||
64 | + | ||
65 | +# Unity3D generated meta files | ||
66 | +*.pidb.meta | ||
67 | +*.pdb.meta | ||
68 | +*.mdb.meta | ||
69 | + | ||
70 | +# Unity3D generated file on crash reports | ||
71 | +sysinfo.txt | ||
72 | + | ||
73 | +# Builds | ||
74 | +*.apk | ||
75 | +*.aab | ||
76 | +*.unitypackage | ||
77 | + | ||
78 | +# Crashlytics generated file | ||
79 | +crashlytics-build.properties | ||
80 | + | ||
81 | +# Packed Addressables | ||
82 | +/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin* | ||
83 | + | ||
84 | +# Temporary auto-generated Android Assets | ||
85 | +/[Aa]ssets/[Ss]treamingAssets/aa.meta | ||
86 | +/[Aa]ssets/[Ss]treamingAssets/aa/* | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
프로젝트/NewAndFurious/Assets/AYAYA.jpg
0 → 100644
27.7 KB
프로젝트/NewAndFurious/Assets/AYAYA.jpg.meta
0 → 100644
1 | +fileFormatVersion: 2 | ||
2 | +guid: 9ee754493e5ea2e4d8ddbf602631f850 | ||
3 | +TextureImporter: | ||
4 | + internalIDToNameTable: [] | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 11 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + applyGammaDecoding: 0 | ||
61 | + platformSettings: | ||
62 | + - serializedVersion: 3 | ||
63 | + buildTarget: DefaultTexturePlatform | ||
64 | + maxTextureSize: 2048 | ||
65 | + resizeAlgorithm: 0 | ||
66 | + textureFormat: -1 | ||
67 | + textureCompression: 1 | ||
68 | + compressionQuality: 50 | ||
69 | + crunchedCompression: 0 | ||
70 | + allowsAlphaSplitting: 0 | ||
71 | + overridden: 0 | ||
72 | + androidETC2FallbackOverride: 0 | ||
73 | + forceMaximumCompressionQuality_BC6H_BC7: 0 | ||
74 | + spriteSheet: | ||
75 | + serializedVersion: 2 | ||
76 | + sprites: [] | ||
77 | + outline: [] | ||
78 | + physicsShape: [] | ||
79 | + bones: [] | ||
80 | + spriteID: | ||
81 | + internalID: 0 | ||
82 | + vertices: [] | ||
83 | + indices: | ||
84 | + edges: [] | ||
85 | + weights: [] | ||
86 | + secondaryTextures: [] | ||
87 | + spritePackingTag: | ||
88 | + pSDRemoveMatte: 0 | ||
89 | + pSDShowRemoveMatteOption: 0 | ||
90 | + userData: | ||
91 | + assetBundleName: | ||
92 | + assetBundleVariant: |
프로젝트/NewAndFurious/Assets/Bee_Mad_Emote.png
0 → 100644
47.6 KB
1 | +fileFormatVersion: 2 | ||
2 | +guid: 637490d0320677044aeeaad680945746 | ||
3 | +TextureImporter: | ||
4 | + internalIDToNameTable: [] | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 11 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + applyGammaDecoding: 0 | ||
61 | + platformSettings: | ||
62 | + - serializedVersion: 3 | ||
63 | + buildTarget: DefaultTexturePlatform | ||
64 | + maxTextureSize: 2048 | ||
65 | + resizeAlgorithm: 0 | ||
66 | + textureFormat: -1 | ||
67 | + textureCompression: 1 | ||
68 | + compressionQuality: 50 | ||
69 | + crunchedCompression: 0 | ||
70 | + allowsAlphaSplitting: 0 | ||
71 | + overridden: 0 | ||
72 | + androidETC2FallbackOverride: 0 | ||
73 | + forceMaximumCompressionQuality_BC6H_BC7: 0 | ||
74 | + spriteSheet: | ||
75 | + serializedVersion: 2 | ||
76 | + sprites: [] | ||
77 | + outline: [] | ||
78 | + physicsShape: [] | ||
79 | + bones: [] | ||
80 | + spriteID: | ||
81 | + internalID: 0 | ||
82 | + vertices: [] | ||
83 | + indices: | ||
84 | + edges: [] | ||
85 | + weights: [] | ||
86 | + secondaryTextures: [] | ||
87 | + spritePackingTag: | ||
88 | + pSDRemoveMatte: 0 | ||
89 | + pSDShowRemoveMatteOption: 0 | ||
90 | + userData: | ||
91 | + assetBundleName: | ||
92 | + assetBundleVariant: |
프로젝트/NewAndFurious/Assets/Bee_Sad_Emote.png
0 → 100644
82.4 KB
1 | +fileFormatVersion: 2 | ||
2 | +guid: 276c4e4726da6a148b43ba56f388c1e1 | ||
3 | +TextureImporter: | ||
4 | + internalIDToNameTable: [] | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 11 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + applyGammaDecoding: 0 | ||
61 | + platformSettings: | ||
62 | + - serializedVersion: 3 | ||
63 | + buildTarget: DefaultTexturePlatform | ||
64 | + maxTextureSize: 2048 | ||
65 | + resizeAlgorithm: 0 | ||
66 | + textureFormat: -1 | ||
67 | + textureCompression: 1 | ||
68 | + compressionQuality: 50 | ||
69 | + crunchedCompression: 0 | ||
70 | + allowsAlphaSplitting: 0 | ||
71 | + overridden: 0 | ||
72 | + androidETC2FallbackOverride: 0 | ||
73 | + forceMaximumCompressionQuality_BC6H_BC7: 0 | ||
74 | + spriteSheet: | ||
75 | + serializedVersion: 2 | ||
76 | + sprites: [] | ||
77 | + outline: [] | ||
78 | + physicsShape: [] | ||
79 | + bones: [] | ||
80 | + spriteID: | ||
81 | + internalID: 0 | ||
82 | + vertices: [] | ||
83 | + indices: | ||
84 | + edges: [] | ||
85 | + weights: [] | ||
86 | + secondaryTextures: [] | ||
87 | + spritePackingTag: | ||
88 | + pSDRemoveMatte: 0 | ||
89 | + pSDShowRemoveMatteOption: 0 | ||
90 | + userData: | ||
91 | + assetBundleName: | ||
92 | + assetBundleVariant: |
프로젝트/NewAndFurious/Assets/Demo.meta
0 → 100644
129 Bytes
1 | +fileFormatVersion: 2 | ||
2 | +guid: 1042d5f4559f64489a485e76563ccece | ||
3 | +TextureImporter: | ||
4 | + fileIDToRecycleName: {} | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 7 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 1 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + platformSettings: | ||
61 | + - serializedVersion: 2 | ||
62 | + buildTarget: DefaultTexturePlatform | ||
63 | + maxTextureSize: 2048 | ||
64 | + resizeAlgorithm: 0 | ||
65 | + textureFormat: -1 | ||
66 | + textureCompression: 1 | ||
67 | + compressionQuality: 50 | ||
68 | + crunchedCompression: 0 | ||
69 | + allowsAlphaSplitting: 0 | ||
70 | + overridden: 0 | ||
71 | + androidETC2FallbackOverride: 0 | ||
72 | + - serializedVersion: 2 | ||
73 | + buildTarget: Standalone | ||
74 | + maxTextureSize: 2048 | ||
75 | + resizeAlgorithm: 0 | ||
76 | + textureFormat: -1 | ||
77 | + textureCompression: 1 | ||
78 | + compressionQuality: 50 | ||
79 | + crunchedCompression: 0 | ||
80 | + allowsAlphaSplitting: 0 | ||
81 | + overridden: 0 | ||
82 | + androidETC2FallbackOverride: 0 | ||
83 | + - serializedVersion: 2 | ||
84 | + buildTarget: iPhone | ||
85 | + maxTextureSize: 2048 | ||
86 | + resizeAlgorithm: 0 | ||
87 | + textureFormat: -1 | ||
88 | + textureCompression: 1 | ||
89 | + compressionQuality: 50 | ||
90 | + crunchedCompression: 0 | ||
91 | + allowsAlphaSplitting: 0 | ||
92 | + overridden: 0 | ||
93 | + androidETC2FallbackOverride: 0 | ||
94 | + - serializedVersion: 2 | ||
95 | + buildTarget: Android | ||
96 | + maxTextureSize: 2048 | ||
97 | + resizeAlgorithm: 0 | ||
98 | + textureFormat: -1 | ||
99 | + textureCompression: 1 | ||
100 | + compressionQuality: 50 | ||
101 | + crunchedCompression: 0 | ||
102 | + allowsAlphaSplitting: 0 | ||
103 | + overridden: 0 | ||
104 | + androidETC2FallbackOverride: 0 | ||
105 | + spriteSheet: | ||
106 | + serializedVersion: 2 | ||
107 | + sprites: [] | ||
108 | + outline: [] | ||
109 | + physicsShape: [] | ||
110 | + bones: [] | ||
111 | + spriteID: | ||
112 | + vertices: [] | ||
113 | + indices: | ||
114 | + edges: [] | ||
115 | + weights: [] | ||
116 | + spritePackingTag: | ||
117 | + pSDRemoveMatte: 0 | ||
118 | + pSDShowRemoveMatteOption: 0 | ||
119 | + userData: | ||
120 | + assetBundleName: | ||
121 | + assetBundleVariant: |
1 | +using System.Collections; | ||
2 | +using System.Collections.Generic; | ||
3 | +using UnityEngine; | ||
4 | +using UnityEngine.XR.ARFoundation; | ||
5 | +using UnityEngine.XR; | ||
6 | +using UnityEngine.XR.ARSubsystems; | ||
7 | +using System; | ||
8 | + | ||
9 | +public class ARTapToPlaceObject : MonoBehaviour | ||
10 | +{ | ||
11 | + public GameObject objectToPlace; | ||
12 | + public GameObject placementIndicator; | ||
13 | + private Camera myCamera; | ||
14 | + private ARSessionOrigin arOrigin; | ||
15 | + private ARRaycastManager raycastManager; | ||
16 | + private Pose placementPose; | ||
17 | + private bool placementPoseIsValid = false; | ||
18 | + | ||
19 | + void Start() | ||
20 | + { | ||
21 | + arOrigin = FindObjectOfType<ARSessionOrigin>(); | ||
22 | + raycastManager = FindObjectOfType<ARRaycastManager>(); | ||
23 | + | ||
24 | + } | ||
25 | + | ||
26 | + void Update() | ||
27 | + { | ||
28 | + UpdatePlacementPose(); | ||
29 | + UpdatePlacementIndicator(); | ||
30 | + Debug.Log(placementPoseIsValid); | ||
31 | + | ||
32 | + if (placementPoseIsValid && Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began) | ||
33 | + { | ||
34 | + PlaceObject(); | ||
35 | + } | ||
36 | + } | ||
37 | + | ||
38 | + private void PlaceObject() | ||
39 | + { | ||
40 | + Instantiate(objectToPlace, placementPose.position, placementPose.rotation); | ||
41 | + } | ||
42 | + | ||
43 | + private void UpdatePlacementIndicator() | ||
44 | + { | ||
45 | + if (placementPoseIsValid) | ||
46 | + { | ||
47 | + placementIndicator.SetActive(true); | ||
48 | + placementIndicator.transform.SetPositionAndRotation(placementPose.position, placementPose.rotation); | ||
49 | + } | ||
50 | + else | ||
51 | + { | ||
52 | + placementIndicator.SetActive(false); | ||
53 | + } | ||
54 | + } | ||
55 | + | ||
56 | + private void UpdatePlacementPose() | ||
57 | + { | ||
58 | + var screenCenter = Camera.main.ViewportToScreenPoint(new Vector3(0.5f, 0.5f)); | ||
59 | + var hits = new List<ARRaycastHit>(); | ||
60 | + raycastManager.Raycast(screenCenter, hits, TrackableType.Planes); | ||
61 | + Debug.Log(hits); | ||
62 | + | ||
63 | + placementPoseIsValid = hits.Count > 0; | ||
64 | + if (placementPoseIsValid) | ||
65 | + { | ||
66 | + placementPose = hits[0].pose; | ||
67 | + | ||
68 | + var cameraForward = Camera.main.transform.forward; | ||
69 | + var cameraBearing = new Vector3(cameraForward.x, 0, cameraForward.z).normalized; | ||
70 | + placementPose.rotation = Quaternion.LookRotation(cameraBearing); | ||
71 | + } | ||
72 | + } | ||
73 | + | ||
74 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!1 &508961879638566353 | ||
4 | +GameObject: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + serializedVersion: 6 | ||
10 | + m_Component: | ||
11 | + - component: {fileID: 6563567102876091991} | ||
12 | + m_Layer: 0 | ||
13 | + m_Name: Game Piece | ||
14 | + m_TagString: Untagged | ||
15 | + m_Icon: {fileID: 0} | ||
16 | + m_NavMeshLayer: 0 | ||
17 | + m_StaticEditorFlags: 0 | ||
18 | + m_IsActive: 1 | ||
19 | +--- !u!4 &6563567102876091991 | ||
20 | +Transform: | ||
21 | + m_ObjectHideFlags: 0 | ||
22 | + m_CorrespondingSourceObject: {fileID: 0} | ||
23 | + m_PrefabInstance: {fileID: 0} | ||
24 | + m_PrefabAsset: {fileID: 0} | ||
25 | + m_GameObject: {fileID: 508961879638566353} | ||
26 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
27 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
28 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
29 | + m_Children: | ||
30 | + - {fileID: 4697389430244674019} | ||
31 | + m_Father: {fileID: 0} | ||
32 | + m_RootOrder: 0 | ||
33 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
34 | +--- !u!1 &4697389430244674031 | ||
35 | +GameObject: | ||
36 | + m_ObjectHideFlags: 0 | ||
37 | + m_CorrespondingSourceObject: {fileID: 0} | ||
38 | + m_PrefabInstance: {fileID: 0} | ||
39 | + m_PrefabAsset: {fileID: 0} | ||
40 | + serializedVersion: 6 | ||
41 | + m_Component: | ||
42 | + - component: {fileID: 4697389430244674019} | ||
43 | + - component: {fileID: 4697389430244674028} | ||
44 | + - component: {fileID: 4697389430244674029} | ||
45 | + - component: {fileID: 4697389430244674030} | ||
46 | + m_Layer: 0 | ||
47 | + m_Name: Cube | ||
48 | + m_TagString: Untagged | ||
49 | + m_Icon: {fileID: 0} | ||
50 | + m_NavMeshLayer: 0 | ||
51 | + m_StaticEditorFlags: 0 | ||
52 | + m_IsActive: 1 | ||
53 | +--- !u!4 &4697389430244674019 | ||
54 | +Transform: | ||
55 | + m_ObjectHideFlags: 0 | ||
56 | + m_CorrespondingSourceObject: {fileID: 0} | ||
57 | + m_PrefabInstance: {fileID: 0} | ||
58 | + m_PrefabAsset: {fileID: 0} | ||
59 | + m_GameObject: {fileID: 4697389430244674031} | ||
60 | + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||
61 | + m_LocalPosition: {x: 0, y: 0.05, z: 0} | ||
62 | + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} | ||
63 | + m_Children: [] | ||
64 | + m_Father: {fileID: 6563567102876091991} | ||
65 | + m_RootOrder: 0 | ||
66 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
67 | +--- !u!33 &4697389430244674028 | ||
68 | +MeshFilter: | ||
69 | + m_ObjectHideFlags: 0 | ||
70 | + m_CorrespondingSourceObject: {fileID: 0} | ||
71 | + m_PrefabInstance: {fileID: 0} | ||
72 | + m_PrefabAsset: {fileID: 0} | ||
73 | + m_GameObject: {fileID: 4697389430244674031} | ||
74 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
75 | +--- !u!23 &4697389430244674029 | ||
76 | +MeshRenderer: | ||
77 | + m_ObjectHideFlags: 0 | ||
78 | + m_CorrespondingSourceObject: {fileID: 0} | ||
79 | + m_PrefabInstance: {fileID: 0} | ||
80 | + m_PrefabAsset: {fileID: 0} | ||
81 | + m_GameObject: {fileID: 4697389430244674031} | ||
82 | + m_Enabled: 1 | ||
83 | + m_CastShadows: 1 | ||
84 | + m_ReceiveShadows: 1 | ||
85 | + m_DynamicOccludee: 1 | ||
86 | + m_MotionVectors: 1 | ||
87 | + m_LightProbeUsage: 1 | ||
88 | + m_ReflectionProbeUsage: 1 | ||
89 | + m_RenderingLayerMask: 1 | ||
90 | + m_RendererPriority: 0 | ||
91 | + m_Materials: | ||
92 | + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} | ||
93 | + m_StaticBatchInfo: | ||
94 | + firstSubMesh: 0 | ||
95 | + subMeshCount: 0 | ||
96 | + m_StaticBatchRoot: {fileID: 0} | ||
97 | + m_ProbeAnchor: {fileID: 0} | ||
98 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
99 | + m_ScaleInLightmap: 1 | ||
100 | + m_PreserveUVs: 0 | ||
101 | + m_IgnoreNormalsForChartDetection: 0 | ||
102 | + m_ImportantGI: 0 | ||
103 | + m_StitchLightmapSeams: 0 | ||
104 | + m_SelectedEditorRenderState: 3 | ||
105 | + m_MinimumChartSize: 4 | ||
106 | + m_AutoUVMaxDistance: 0.5 | ||
107 | + m_AutoUVMaxAngle: 89 | ||
108 | + m_LightmapParameters: {fileID: 0} | ||
109 | + m_SortingLayerID: 0 | ||
110 | + m_SortingLayer: 0 | ||
111 | + m_SortingOrder: 0 | ||
112 | +--- !u!65 &4697389430244674030 | ||
113 | +BoxCollider: | ||
114 | + m_ObjectHideFlags: 0 | ||
115 | + m_CorrespondingSourceObject: {fileID: 0} | ||
116 | + m_PrefabInstance: {fileID: 0} | ||
117 | + m_PrefabAsset: {fileID: 0} | ||
118 | + m_GameObject: {fileID: 4697389430244674031} | ||
119 | + m_Material: {fileID: 0} | ||
120 | + m_IsTrigger: 0 | ||
121 | + m_Enabled: 1 | ||
122 | + serializedVersion: 2 | ||
123 | + m_Size: {x: 1, y: 1, z: 1} | ||
124 | + m_Center: {x: 0, y: 0, z: 0} |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!21 &2100000 | ||
4 | +Material: | ||
5 | + serializedVersion: 6 | ||
6 | + m_ObjectHideFlags: 0 | ||
7 | + m_CorrespondingSourceObject: {fileID: 0} | ||
8 | + m_PrefabInstance: {fileID: 0} | ||
9 | + m_PrefabAsset: {fileID: 0} | ||
10 | + m_Name: PlacementIndicator | ||
11 | + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} | ||
12 | + m_ShaderKeywords: | ||
13 | + m_LightmapFlags: 4 | ||
14 | + m_EnableInstancingVariants: 0 | ||
15 | + m_DoubleSidedGI: 0 | ||
16 | + m_CustomRenderQueue: -1 | ||
17 | + stringTagMap: {} | ||
18 | + disabledShaderPasses: [] | ||
19 | + m_SavedProperties: | ||
20 | + serializedVersion: 3 | ||
21 | + m_TexEnvs: | ||
22 | + - _BumpMap: | ||
23 | + m_Texture: {fileID: 0} | ||
24 | + m_Scale: {x: 1, y: 1} | ||
25 | + m_Offset: {x: 0, y: 0} | ||
26 | + - _DetailAlbedoMap: | ||
27 | + m_Texture: {fileID: 0} | ||
28 | + m_Scale: {x: 1, y: 1} | ||
29 | + m_Offset: {x: 0, y: 0} | ||
30 | + - _DetailMask: | ||
31 | + m_Texture: {fileID: 0} | ||
32 | + m_Scale: {x: 1, y: 1} | ||
33 | + m_Offset: {x: 0, y: 0} | ||
34 | + - _DetailNormalMap: | ||
35 | + m_Texture: {fileID: 0} | ||
36 | + m_Scale: {x: 1, y: 1} | ||
37 | + m_Offset: {x: 0, y: 0} | ||
38 | + - _EmissionMap: | ||
39 | + m_Texture: {fileID: 0} | ||
40 | + m_Scale: {x: 1, y: 1} | ||
41 | + m_Offset: {x: 0, y: 0} | ||
42 | + - _MainTex: | ||
43 | + m_Texture: {fileID: 2800000, guid: 1a347211d9074b14990f45ba0e4d5796, type: 3} | ||
44 | + m_Scale: {x: 1, y: 1} | ||
45 | + m_Offset: {x: 0, y: 0} | ||
46 | + - _MetallicGlossMap: | ||
47 | + m_Texture: {fileID: 0} | ||
48 | + m_Scale: {x: 1, y: 1} | ||
49 | + m_Offset: {x: 0, y: 0} | ||
50 | + - _OcclusionMap: | ||
51 | + m_Texture: {fileID: 0} | ||
52 | + m_Scale: {x: 1, y: 1} | ||
53 | + m_Offset: {x: 0, y: 0} | ||
54 | + - _ParallaxMap: | ||
55 | + m_Texture: {fileID: 0} | ||
56 | + m_Scale: {x: 1, y: 1} | ||
57 | + m_Offset: {x: 0, y: 0} | ||
58 | + m_Floats: | ||
59 | + - _BumpScale: 1 | ||
60 | + - _Cutoff: 0.5 | ||
61 | + - _DetailNormalMapScale: 1 | ||
62 | + - _DstBlend: 0 | ||
63 | + - _GlossMapScale: 1 | ||
64 | + - _Glossiness: 0.5 | ||
65 | + - _GlossyReflections: 1 | ||
66 | + - _Metallic: 0 | ||
67 | + - _Mode: 0 | ||
68 | + - _OcclusionStrength: 1 | ||
69 | + - _Parallax: 0.02 | ||
70 | + - _SmoothnessTextureChannel: 0 | ||
71 | + - _SpecularHighlights: 1 | ||
72 | + - _SrcBlend: 1 | ||
73 | + - _UVSec: 0 | ||
74 | + - _ZWrite: 1 | ||
75 | + m_Colors: | ||
76 | + - _Color: {r: 1, g: 1, b: 1, a: 1} | ||
77 | + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!21 &2100000 | ||
4 | +Material: | ||
5 | + serializedVersion: 6 | ||
6 | + m_ObjectHideFlags: 0 | ||
7 | + m_CorrespondingSourceObject: {fileID: 0} | ||
8 | + m_PrefabInstance: {fileID: 0} | ||
9 | + m_PrefabAsset: {fileID: 0} | ||
10 | + m_Name: PlacementIndicator_2 | ||
11 | + m_Shader: {fileID: 10750, guid: 0000000000000000f000000000000000, type: 0} | ||
12 | + m_ShaderKeywords: | ||
13 | + m_LightmapFlags: 4 | ||
14 | + m_EnableInstancingVariants: 0 | ||
15 | + m_DoubleSidedGI: 0 | ||
16 | + m_CustomRenderQueue: -1 | ||
17 | + stringTagMap: {} | ||
18 | + disabledShaderPasses: [] | ||
19 | + m_SavedProperties: | ||
20 | + serializedVersion: 3 | ||
21 | + m_TexEnvs: | ||
22 | + - _BumpMap: | ||
23 | + m_Texture: {fileID: 0} | ||
24 | + m_Scale: {x: 1, y: 1} | ||
25 | + m_Offset: {x: 0, y: 0} | ||
26 | + - _DetailAlbedoMap: | ||
27 | + m_Texture: {fileID: 0} | ||
28 | + m_Scale: {x: 1, y: 1} | ||
29 | + m_Offset: {x: 0, y: 0} | ||
30 | + - _DetailMask: | ||
31 | + m_Texture: {fileID: 0} | ||
32 | + m_Scale: {x: 1, y: 1} | ||
33 | + m_Offset: {x: 0, y: 0} | ||
34 | + - _DetailNormalMap: | ||
35 | + m_Texture: {fileID: 0} | ||
36 | + m_Scale: {x: 1, y: 1} | ||
37 | + m_Offset: {x: 0, y: 0} | ||
38 | + - _EmissionMap: | ||
39 | + m_Texture: {fileID: 0} | ||
40 | + m_Scale: {x: 1, y: 1} | ||
41 | + m_Offset: {x: 0, y: 0} | ||
42 | + - _MainTex: | ||
43 | + m_Texture: {fileID: 2800000, guid: 276c4e4726da6a148b43ba56f388c1e1, type: 3} | ||
44 | + m_Scale: {x: 1, y: 1} | ||
45 | + m_Offset: {x: 0, y: 0} | ||
46 | + - _MetallicGlossMap: | ||
47 | + m_Texture: {fileID: 0} | ||
48 | + m_Scale: {x: 1, y: 1} | ||
49 | + m_Offset: {x: 0, y: 0} | ||
50 | + - _OcclusionMap: | ||
51 | + m_Texture: {fileID: 0} | ||
52 | + m_Scale: {x: 1, y: 1} | ||
53 | + m_Offset: {x: 0, y: 0} | ||
54 | + - _ParallaxMap: | ||
55 | + m_Texture: {fileID: 0} | ||
56 | + m_Scale: {x: 1, y: 1} | ||
57 | + m_Offset: {x: 0, y: 0} | ||
58 | + m_Floats: | ||
59 | + - _BumpScale: 1 | ||
60 | + - _Cutoff: 0.5 | ||
61 | + - _DetailNormalMapScale: 1 | ||
62 | + - _DstBlend: 0 | ||
63 | + - _GlossMapScale: 1 | ||
64 | + - _Glossiness: 0.5 | ||
65 | + - _GlossyReflections: 1 | ||
66 | + - _Metallic: 0 | ||
67 | + - _Mode: 0 | ||
68 | + - _OcclusionStrength: 1 | ||
69 | + - _Parallax: 0.02 | ||
70 | + - _SmoothnessTextureChannel: 0 | ||
71 | + - _SpecularHighlights: 1 | ||
72 | + - _SrcBlend: 1 | ||
73 | + - _UVSec: 0 | ||
74 | + - _ZWrite: 1 | ||
75 | + m_Colors: | ||
76 | + - _Color: {r: 1, g: 1, b: 1, a: 1} | ||
77 | + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
프로젝트/NewAndFurious/Assets/FinalPLan.cs
0 → 100644
1 | +using System.Collections; | ||
2 | +using System.Collections.Generic; | ||
3 | +using UnityEngine; | ||
4 | +using UnityEngine.XR.ARFoundation; | ||
5 | +using UnityEngine.XR; | ||
6 | +using UnityEngine.XR.ARSubsystems; | ||
7 | + | ||
8 | +public class FinalPLan : MonoBehaviour | ||
9 | +{ | ||
10 | + public GameObject PrefabToInstantiate; | ||
11 | + private float sponTime = 0.5f; | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + private void Awake() | ||
16 | + { | ||
17 | + | ||
18 | + } | ||
19 | + private void Update() | ||
20 | + { | ||
21 | + | ||
22 | + | ||
23 | + sponTime -= Time.deltaTime; // 리스폰 시간을 깍음. | ||
24 | + if (sponTime < 0) // 리스폰 시간이 0이 되었는지 검사 | ||
25 | + { | ||
26 | + | ||
27 | + var item = GameObject.FindWithTag("HeyBee"); | ||
28 | + Vector3 NNNN = new Vector3(transform.position.x, item.transform.position.y, transform.position.z); | ||
29 | + Instantiate(PrefabToInstantiate, NNNN, transform.rotation); // 생성 | ||
30 | + Debug.Log("PlacemnetIndicator Generate Sucess!"); | ||
31 | + sponTime = 0.5f; | ||
32 | + | ||
33 | + | ||
34 | + // 리스폰시간 초기화 | ||
35 | + } | ||
36 | + | ||
37 | + } | ||
38 | + | ||
39 | +} |
프로젝트/NewAndFurious/Assets/FinalPLan.cs.meta
0 → 100644
프로젝트/NewAndFurious/Assets/HeyBee.png
0 → 100644
58.6 KB
프로젝트/NewAndFurious/Assets/HeyBee.png.meta
0 → 100644
1 | +fileFormatVersion: 2 | ||
2 | +guid: 1a347211d9074b14990f45ba0e4d5796 | ||
3 | +TextureImporter: | ||
4 | + internalIDToNameTable: [] | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 11 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + applyGammaDecoding: 0 | ||
61 | + platformSettings: | ||
62 | + - serializedVersion: 3 | ||
63 | + buildTarget: DefaultTexturePlatform | ||
64 | + maxTextureSize: 2048 | ||
65 | + resizeAlgorithm: 0 | ||
66 | + textureFormat: -1 | ||
67 | + textureCompression: 1 | ||
68 | + compressionQuality: 50 | ||
69 | + crunchedCompression: 0 | ||
70 | + allowsAlphaSplitting: 0 | ||
71 | + overridden: 0 | ||
72 | + androidETC2FallbackOverride: 0 | ||
73 | + forceMaximumCompressionQuality_BC6H_BC7: 0 | ||
74 | + spriteSheet: | ||
75 | + serializedVersion: 2 | ||
76 | + sprites: [] | ||
77 | + outline: [] | ||
78 | + physicsShape: [] | ||
79 | + bones: [] | ||
80 | + spriteID: | ||
81 | + internalID: 0 | ||
82 | + vertices: [] | ||
83 | + indices: | ||
84 | + edges: [] | ||
85 | + weights: [] | ||
86 | + secondaryTextures: [] | ||
87 | + spritePackingTag: | ||
88 | + pSDRemoveMatte: 0 | ||
89 | + pSDShowRemoveMatteOption: 0 | ||
90 | + userData: | ||
91 | + assetBundleName: | ||
92 | + assetBundleVariant: |
1 | +using System.Collections; | ||
2 | +using System.Collections.Generic; | ||
3 | +using UnityEngine; | ||
4 | +using UnityEngine.XR; | ||
5 | +using UnityEngine.XR.ARFoundation; | ||
6 | + | ||
7 | +public class ImageRecognitionExample : MonoBehaviour | ||
8 | +{ | ||
9 | + private ARTrackedImageManager _arTrackedImageManager; | ||
10 | + | ||
11 | + private void Awake() | ||
12 | + { | ||
13 | + _arTrackedImageManager = FindObjectOfType<ARTrackedImageManager>(); | ||
14 | + } | ||
15 | + | ||
16 | + private void OnEnable() | ||
17 | + { | ||
18 | + _arTrackedImageManager.trackedImagesChanged += OnImageChanged; | ||
19 | + } | ||
20 | + | ||
21 | + private void OnDisable() | ||
22 | + { | ||
23 | + _arTrackedImageManager.trackedImagesChanged -= OnImageChanged; | ||
24 | + | ||
25 | + } | ||
26 | + | ||
27 | + public void OnImageChanged(ARTrackedImagesChangedEventArgs args) | ||
28 | + { | ||
29 | + foreach (var trackedImage in args.added) | ||
30 | + { | ||
31 | + Debug.Log(trackedImage.name); | ||
32 | + } | ||
33 | + } | ||
34 | +} |
프로젝트/NewAndFurious/Assets/MakePlaneColor.cs
0 → 100644
1 | +using System.Collections; | ||
2 | +using System.Collections.Generic; | ||
3 | +using UnityEngine; | ||
4 | +using UnityEngine.XR.ARFoundation; | ||
5 | +using UnityEngine.XR.ARSubsystems; | ||
6 | + | ||
7 | + | ||
8 | +[RequireComponent(typeof(ARRaycastManager))] | ||
9 | +public class MakePlaneColor : MonoBehaviour | ||
10 | +{ | ||
11 | + public GameObject gameObjectToInstantiate; | ||
12 | + | ||
13 | + private GameObject spawnedObject; | ||
14 | + private ARRaycastManager _arRaycastManager; | ||
15 | + private Vector2 touchPosition; | ||
16 | + | ||
17 | + static List<ARRaycastHit> hits = new List<ARRaycastHit>(); | ||
18 | + | ||
19 | + private void Awake() | ||
20 | + { | ||
21 | + _arRaycastManager = GetComponent<ARRaycastManager>(); | ||
22 | + } | ||
23 | + | ||
24 | + bool TryGetTouchPosition(out Vector2 touchPosition) | ||
25 | + { | ||
26 | + if (Input.touchCount > 0) | ||
27 | + { | ||
28 | + touchPosition = Input.GetTouch(0).position; | ||
29 | + return true; | ||
30 | + } | ||
31 | + | ||
32 | + touchPosition = default; | ||
33 | + return false; | ||
34 | + } | ||
35 | + | ||
36 | + | ||
37 | + // Update is called once per frame | ||
38 | + void Update() | ||
39 | + { | ||
40 | + if (!TryGetTouchPosition(out Vector2 touchPosition)) | ||
41 | + return; | ||
42 | + if (_arRaycastManager.Raycast(touchPosition, hits, TrackableType.PlaneWithinPolygon)) | ||
43 | + { | ||
44 | + var hitPose = hits[0].pose; | ||
45 | + | ||
46 | + if (spawnedObject == null) | ||
47 | + { | ||
48 | + spawnedObject = Instantiate(gameObjectToInstantiate, hitPose.position, hitPose.rotation); | ||
49 | + } | ||
50 | + else | ||
51 | + { | ||
52 | + spawnedObject.transform.position = hitPose.position; | ||
53 | + } | ||
54 | + } | ||
55 | + | ||
56 | + } | ||
57 | +} |
프로젝트/NewAndFurious/Assets/Materials.meta
0 → 100644
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!21 &2100000 | ||
4 | +Material: | ||
5 | + serializedVersion: 6 | ||
6 | + m_ObjectHideFlags: 0 | ||
7 | + m_CorrespondingSourceObject: {fileID: 0} | ||
8 | + m_PrefabInstance: {fileID: 0} | ||
9 | + m_PrefabAsset: {fileID: 0} | ||
10 | + m_Name: Visualizer | ||
11 | + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} | ||
12 | + m_ShaderKeywords: _ALPHAPREMULTIPLY_ON | ||
13 | + m_LightmapFlags: 4 | ||
14 | + m_EnableInstancingVariants: 0 | ||
15 | + m_DoubleSidedGI: 0 | ||
16 | + m_CustomRenderQueue: 3000 | ||
17 | + stringTagMap: | ||
18 | + RenderType: Transparent | ||
19 | + disabledShaderPasses: [] | ||
20 | + m_SavedProperties: | ||
21 | + serializedVersion: 3 | ||
22 | + m_TexEnvs: | ||
23 | + - _BumpMap: | ||
24 | + m_Texture: {fileID: 0} | ||
25 | + m_Scale: {x: 1, y: 1} | ||
26 | + m_Offset: {x: 0, y: 0} | ||
27 | + - _DetailAlbedoMap: | ||
28 | + m_Texture: {fileID: 0} | ||
29 | + m_Scale: {x: 1, y: 1} | ||
30 | + m_Offset: {x: 0, y: 0} | ||
31 | + - _DetailMask: | ||
32 | + m_Texture: {fileID: 0} | ||
33 | + m_Scale: {x: 1, y: 1} | ||
34 | + m_Offset: {x: 0, y: 0} | ||
35 | + - _DetailNormalMap: | ||
36 | + m_Texture: {fileID: 0} | ||
37 | + m_Scale: {x: 1, y: 1} | ||
38 | + m_Offset: {x: 0, y: 0} | ||
39 | + - _EmissionMap: | ||
40 | + m_Texture: {fileID: 0} | ||
41 | + m_Scale: {x: 1, y: 1} | ||
42 | + m_Offset: {x: 0, y: 0} | ||
43 | + - _MainTex: | ||
44 | + m_Texture: {fileID: 0} | ||
45 | + m_Scale: {x: 1, y: 1} | ||
46 | + m_Offset: {x: 0, y: 0} | ||
47 | + - _MetallicGlossMap: | ||
48 | + m_Texture: {fileID: 0} | ||
49 | + m_Scale: {x: 1, y: 1} | ||
50 | + m_Offset: {x: 0, y: 0} | ||
51 | + - _OcclusionMap: | ||
52 | + m_Texture: {fileID: 0} | ||
53 | + m_Scale: {x: 1, y: 1} | ||
54 | + m_Offset: {x: 0, y: 0} | ||
55 | + - _ParallaxMap: | ||
56 | + m_Texture: {fileID: 0} | ||
57 | + m_Scale: {x: 1, y: 1} | ||
58 | + m_Offset: {x: 0, y: 0} | ||
59 | + m_Floats: | ||
60 | + - _BumpScale: 1 | ||
61 | + - _Cutoff: 0.5 | ||
62 | + - _DetailNormalMapScale: 1 | ||
63 | + - _DstBlend: 10 | ||
64 | + - _GlossMapScale: 1 | ||
65 | + - _Glossiness: 0.5 | ||
66 | + - _GlossyReflections: 1 | ||
67 | + - _Metallic: 0 | ||
68 | + - _Mode: 3 | ||
69 | + - _OcclusionStrength: 1 | ||
70 | + - _Parallax: 0.02 | ||
71 | + - _SmoothnessTextureChannel: 0 | ||
72 | + - _SpecularHighlights: 1 | ||
73 | + - _SrcBlend: 1 | ||
74 | + - _UVSec: 0 | ||
75 | + - _ZWrite: 0 | ||
76 | + m_Colors: | ||
77 | + - _Color: {r: 1, g: 1, b: 1, a: 0.27450982} | ||
78 | + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!21 &2100000 | ||
4 | +Material: | ||
5 | + serializedVersion: 6 | ||
6 | + m_ObjectHideFlags: 0 | ||
7 | + m_CorrespondingSourceObject: {fileID: 0} | ||
8 | + m_PrefabInstance: {fileID: 0} | ||
9 | + m_PrefabAsset: {fileID: 0} | ||
10 | + m_Name: Visualizer2 | ||
11 | + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} | ||
12 | + m_ShaderKeywords: _ALPHAPREMULTIPLY_ON | ||
13 | + m_LightmapFlags: 4 | ||
14 | + m_EnableInstancingVariants: 0 | ||
15 | + m_DoubleSidedGI: 0 | ||
16 | + m_CustomRenderQueue: 3000 | ||
17 | + stringTagMap: | ||
18 | + RenderType: Transparent | ||
19 | + disabledShaderPasses: [] | ||
20 | + m_SavedProperties: | ||
21 | + serializedVersion: 3 | ||
22 | + m_TexEnvs: | ||
23 | + - _BumpMap: | ||
24 | + m_Texture: {fileID: 0} | ||
25 | + m_Scale: {x: 1, y: 1} | ||
26 | + m_Offset: {x: 0, y: 0} | ||
27 | + - _DetailAlbedoMap: | ||
28 | + m_Texture: {fileID: 0} | ||
29 | + m_Scale: {x: 1, y: 1} | ||
30 | + m_Offset: {x: 0, y: 0} | ||
31 | + - _DetailMask: | ||
32 | + m_Texture: {fileID: 0} | ||
33 | + m_Scale: {x: 1, y: 1} | ||
34 | + m_Offset: {x: 0, y: 0} | ||
35 | + - _DetailNormalMap: | ||
36 | + m_Texture: {fileID: 0} | ||
37 | + m_Scale: {x: 1, y: 1} | ||
38 | + m_Offset: {x: 0, y: 0} | ||
39 | + - _EmissionMap: | ||
40 | + m_Texture: {fileID: 0} | ||
41 | + m_Scale: {x: 1, y: 1} | ||
42 | + m_Offset: {x: 0, y: 0} | ||
43 | + - _MainTex: | ||
44 | + m_Texture: {fileID: 0} | ||
45 | + m_Scale: {x: 1, y: 1} | ||
46 | + m_Offset: {x: 0, y: 0} | ||
47 | + - _MetallicGlossMap: | ||
48 | + m_Texture: {fileID: 0} | ||
49 | + m_Scale: {x: 1, y: 1} | ||
50 | + m_Offset: {x: 0, y: 0} | ||
51 | + - _OcclusionMap: | ||
52 | + m_Texture: {fileID: 0} | ||
53 | + m_Scale: {x: 1, y: 1} | ||
54 | + m_Offset: {x: 0, y: 0} | ||
55 | + - _ParallaxMap: | ||
56 | + m_Texture: {fileID: 0} | ||
57 | + m_Scale: {x: 1, y: 1} | ||
58 | + m_Offset: {x: 0, y: 0} | ||
59 | + m_Floats: | ||
60 | + - _BumpScale: 1 | ||
61 | + - _Cutoff: 0.5 | ||
62 | + - _DetailNormalMapScale: 1 | ||
63 | + - _DstBlend: 10 | ||
64 | + - _GlossMapScale: 1 | ||
65 | + - _Glossiness: 0.5 | ||
66 | + - _GlossyReflections: 1 | ||
67 | + - _Metallic: 0 | ||
68 | + - _Mode: 3 | ||
69 | + - _OcclusionStrength: 1 | ||
70 | + - _Parallax: 0.02 | ||
71 | + - _SmoothnessTextureChannel: 0 | ||
72 | + - _SpecularHighlights: 1 | ||
73 | + - _SrcBlend: 1 | ||
74 | + - _UVSec: 0 | ||
75 | + - _ZWrite: 0 | ||
76 | + m_Colors: | ||
77 | + - _Color: {r: 0, g: 0.31863594, b: 1, a: 0.27450982} | ||
78 | + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
프로젝트/NewAndFurious/Assets/Prefabs.meta
0 → 100644
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!1 &8572943399424948391 | ||
4 | +GameObject: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + serializedVersion: 6 | ||
10 | + m_Component: | ||
11 | + - component: {fileID: 8230380940538504422} | ||
12 | + - component: {fileID: 6414193907150849304} | ||
13 | + - component: {fileID: 6901249324319875320} | ||
14 | + - component: {fileID: 8458829766186277930} | ||
15 | + - component: {fileID: 7777063999342426469} | ||
16 | + - component: {fileID: 6856376542911430689} | ||
17 | + - component: {fileID: 1734348606672184616} | ||
18 | + m_Layer: 0 | ||
19 | + m_Name: ARPlane | ||
20 | + m_TagString: Untagged | ||
21 | + m_Icon: {fileID: 0} | ||
22 | + m_NavMeshLayer: 0 | ||
23 | + m_StaticEditorFlags: 0 | ||
24 | + m_IsActive: 1 | ||
25 | +--- !u!4 &8230380940538504422 | ||
26 | +Transform: | ||
27 | + m_ObjectHideFlags: 0 | ||
28 | + m_CorrespondingSourceObject: {fileID: 0} | ||
29 | + m_PrefabInstance: {fileID: 0} | ||
30 | + m_PrefabAsset: {fileID: 0} | ||
31 | + m_GameObject: {fileID: 8572943399424948391} | ||
32 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
33 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
34 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
35 | + m_Children: [] | ||
36 | + m_Father: {fileID: 0} | ||
37 | + m_RootOrder: 0 | ||
38 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
39 | +--- !u!114 &6414193907150849304 | ||
40 | +MonoBehaviour: | ||
41 | + m_ObjectHideFlags: 0 | ||
42 | + m_CorrespondingSourceObject: {fileID: 0} | ||
43 | + m_PrefabInstance: {fileID: 0} | ||
44 | + m_PrefabAsset: {fileID: 0} | ||
45 | + m_GameObject: {fileID: 8572943399424948391} | ||
46 | + m_Enabled: 1 | ||
47 | + m_EditorHideFlags: 0 | ||
48 | + m_Script: {fileID: 11500000, guid: 5f66da7470dce8f4d821d71dd2b1d4ac, type: 3} | ||
49 | + m_Name: | ||
50 | + m_EditorClassIdentifier: | ||
51 | + m_DestroyOnRemoval: 1 | ||
52 | + m_VertexChangedThreshold: 0.01 | ||
53 | +--- !u!114 &6901249324319875320 | ||
54 | +MonoBehaviour: | ||
55 | + m_ObjectHideFlags: 0 | ||
56 | + m_CorrespondingSourceObject: {fileID: 0} | ||
57 | + m_PrefabInstance: {fileID: 0} | ||
58 | + m_PrefabAsset: {fileID: 0} | ||
59 | + m_GameObject: {fileID: 8572943399424948391} | ||
60 | + m_Enabled: 1 | ||
61 | + m_EditorHideFlags: 0 | ||
62 | + m_Script: {fileID: 11500000, guid: 3d180956a54db4646a1c6342921672ad, type: 3} | ||
63 | + m_Name: | ||
64 | + m_EditorClassIdentifier: | ||
65 | +--- !u!64 &8458829766186277930 | ||
66 | +MeshCollider: | ||
67 | + m_ObjectHideFlags: 0 | ||
68 | + m_CorrespondingSourceObject: {fileID: 0} | ||
69 | + m_PrefabInstance: {fileID: 0} | ||
70 | + m_PrefabAsset: {fileID: 0} | ||
71 | + m_GameObject: {fileID: 8572943399424948391} | ||
72 | + m_Material: {fileID: 0} | ||
73 | + m_IsTrigger: 0 | ||
74 | + m_Enabled: 1 | ||
75 | + serializedVersion: 4 | ||
76 | + m_Convex: 0 | ||
77 | + m_CookingOptions: 30 | ||
78 | + m_Mesh: {fileID: 0} | ||
79 | +--- !u!33 &7777063999342426469 | ||
80 | +MeshFilter: | ||
81 | + m_ObjectHideFlags: 0 | ||
82 | + m_CorrespondingSourceObject: {fileID: 0} | ||
83 | + m_PrefabInstance: {fileID: 0} | ||
84 | + m_PrefabAsset: {fileID: 0} | ||
85 | + m_GameObject: {fileID: 8572943399424948391} | ||
86 | + m_Mesh: {fileID: 0} | ||
87 | +--- !u!23 &6856376542911430689 | ||
88 | +MeshRenderer: | ||
89 | + m_ObjectHideFlags: 0 | ||
90 | + m_CorrespondingSourceObject: {fileID: 0} | ||
91 | + m_PrefabInstance: {fileID: 0} | ||
92 | + m_PrefabAsset: {fileID: 0} | ||
93 | + m_GameObject: {fileID: 8572943399424948391} | ||
94 | + m_Enabled: 1 | ||
95 | + m_CastShadows: 1 | ||
96 | + m_ReceiveShadows: 1 | ||
97 | + m_DynamicOccludee: 1 | ||
98 | + m_MotionVectors: 1 | ||
99 | + m_LightProbeUsage: 1 | ||
100 | + m_ReflectionProbeUsage: 1 | ||
101 | + m_RayTracingMode: 2 | ||
102 | + m_RenderingLayerMask: 1 | ||
103 | + m_RendererPriority: 0 | ||
104 | + m_Materials: | ||
105 | + - {fileID: 2100000, guid: 6574dd7043e33924c93430c58b5798e9, type: 2} | ||
106 | + m_StaticBatchInfo: | ||
107 | + firstSubMesh: 0 | ||
108 | + subMeshCount: 0 | ||
109 | + m_StaticBatchRoot: {fileID: 0} | ||
110 | + m_ProbeAnchor: {fileID: 0} | ||
111 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
112 | + m_ScaleInLightmap: 1 | ||
113 | + m_ReceiveGI: 1 | ||
114 | + m_PreserveUVs: 0 | ||
115 | + m_IgnoreNormalsForChartDetection: 0 | ||
116 | + m_ImportantGI: 0 | ||
117 | + m_StitchLightmapSeams: 1 | ||
118 | + m_SelectedEditorRenderState: 3 | ||
119 | + m_MinimumChartSize: 4 | ||
120 | + m_AutoUVMaxDistance: 0.5 | ||
121 | + m_AutoUVMaxAngle: 89 | ||
122 | + m_LightmapParameters: {fileID: 0} | ||
123 | + m_SortingLayerID: 0 | ||
124 | + m_SortingLayer: 0 | ||
125 | + m_SortingOrder: 0 | ||
126 | +--- !u!120 &1734348606672184616 | ||
127 | +LineRenderer: | ||
128 | + m_ObjectHideFlags: 0 | ||
129 | + m_CorrespondingSourceObject: {fileID: 0} | ||
130 | + m_PrefabInstance: {fileID: 0} | ||
131 | + m_PrefabAsset: {fileID: 0} | ||
132 | + m_GameObject: {fileID: 8572943399424948391} | ||
133 | + m_Enabled: 1 | ||
134 | + m_CastShadows: 0 | ||
135 | + m_ReceiveShadows: 0 | ||
136 | + m_DynamicOccludee: 1 | ||
137 | + m_MotionVectors: 0 | ||
138 | + m_LightProbeUsage: 0 | ||
139 | + m_ReflectionProbeUsage: 0 | ||
140 | + m_RayTracingMode: 0 | ||
141 | + m_RenderingLayerMask: 1 | ||
142 | + m_RendererPriority: 0 | ||
143 | + m_Materials: | ||
144 | + - {fileID: 10306, guid: 0000000000000000f000000000000000, type: 0} | ||
145 | + m_StaticBatchInfo: | ||
146 | + firstSubMesh: 0 | ||
147 | + subMeshCount: 0 | ||
148 | + m_StaticBatchRoot: {fileID: 0} | ||
149 | + m_ProbeAnchor: {fileID: 0} | ||
150 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
151 | + m_ScaleInLightmap: 1 | ||
152 | + m_ReceiveGI: 1 | ||
153 | + m_PreserveUVs: 0 | ||
154 | + m_IgnoreNormalsForChartDetection: 0 | ||
155 | + m_ImportantGI: 0 | ||
156 | + m_StitchLightmapSeams: 1 | ||
157 | + m_SelectedEditorRenderState: 3 | ||
158 | + m_MinimumChartSize: 4 | ||
159 | + m_AutoUVMaxDistance: 0.5 | ||
160 | + m_AutoUVMaxAngle: 89 | ||
161 | + m_LightmapParameters: {fileID: 0} | ||
162 | + m_SortingLayerID: 0 | ||
163 | + m_SortingLayer: 0 | ||
164 | + m_SortingOrder: 0 | ||
165 | + m_Positions: | ||
166 | + - {x: 0, y: 0, z: 0} | ||
167 | + - {x: 0, y: 0, z: 1} | ||
168 | + m_Parameters: | ||
169 | + serializedVersion: 3 | ||
170 | + widthMultiplier: 0.01 | ||
171 | + widthCurve: | ||
172 | + serializedVersion: 2 | ||
173 | + m_Curve: | ||
174 | + - serializedVersion: 3 | ||
175 | + time: 0 | ||
176 | + value: 1 | ||
177 | + inSlope: 0 | ||
178 | + outSlope: 0 | ||
179 | + tangentMode: 0 | ||
180 | + weightedMode: 0 | ||
181 | + inWeight: 0.33333334 | ||
182 | + outWeight: 0.33333334 | ||
183 | + m_PreInfinity: 2 | ||
184 | + m_PostInfinity: 2 | ||
185 | + m_RotationOrder: 4 | ||
186 | + colorGradient: | ||
187 | + serializedVersion: 2 | ||
188 | + key0: {r: 0.28721562, g: 0.015686274, b: 1, a: 1} | ||
189 | + key1: {r: 0, g: 0.594635, b: 1, a: 1} | ||
190 | + key2: {r: 0, g: 0.594635, b: 1, a: 0} | ||
191 | + key3: {r: 0, g: 0.594635, b: 1, a: 0} | ||
192 | + key4: {r: 0, g: 0, b: 0, a: 0} | ||
193 | + key5: {r: 0, g: 0, b: 0, a: 0} | ||
194 | + key6: {r: 0, g: 0, b: 0, a: 0} | ||
195 | + key7: {r: 0, g: 0, b: 0, a: 0} | ||
196 | + ctime0: 0 | ||
197 | + ctime1: 65535 | ||
198 | + ctime2: 65535 | ||
199 | + ctime3: 65535 | ||
200 | + ctime4: 0 | ||
201 | + ctime5: 0 | ||
202 | + ctime6: 0 | ||
203 | + ctime7: 0 | ||
204 | + atime0: 0 | ||
205 | + atime1: 65535 | ||
206 | + atime2: 0 | ||
207 | + atime3: 0 | ||
208 | + atime4: 0 | ||
209 | + atime5: 0 | ||
210 | + atime6: 0 | ||
211 | + atime7: 0 | ||
212 | + m_Mode: 0 | ||
213 | + m_NumColorKeys: 2 | ||
214 | + m_NumAlphaKeys: 2 | ||
215 | + numCornerVertices: 4 | ||
216 | + numCapVertices: 4 | ||
217 | + alignment: 0 | ||
218 | + textureMode: 0 | ||
219 | + shadowBias: 0.5 | ||
220 | + generateLightingData: 0 | ||
221 | + m_UseWorldSpace: 0 | ||
222 | + m_Loop: 0 |
1 | +using System.Collections; | ||
2 | +using System.Collections.Generic; | ||
3 | +using UnityEngine; | ||
4 | + | ||
5 | +public class ColorChange : MonoBehaviour | ||
6 | +{ | ||
7 | + | ||
8 | + MeshRenderer mesh; | ||
9 | + Material mat; | ||
10 | + | ||
11 | + void Start() | ||
12 | + { | ||
13 | + mesh = GetComponent<MeshRenderer>(); | ||
14 | + mat = mesh.material; | ||
15 | + } | ||
16 | + private void Update() | ||
17 | + { | ||
18 | + | ||
19 | + } | ||
20 | + | ||
21 | + private void OnCollisionEnter(Collision collision) | ||
22 | + { | ||
23 | + Debug.Log("충돌"); | ||
24 | + mat.color = new Color(1, 0, 0); | ||
25 | + } | ||
26 | + | ||
27 | +} | ||
28 | + |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!1 &275043505709825487 | ||
4 | +GameObject: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + serializedVersion: 6 | ||
10 | + m_Component: | ||
11 | + - component: {fileID: 275043505709825483} | ||
12 | + - component: {fileID: 275043505709825480} | ||
13 | + - component: {fileID: 275043505709825481} | ||
14 | + - component: {fileID: 275043505709825486} | ||
15 | + - component: {fileID: 1390676110750850629} | ||
16 | + m_Layer: 0 | ||
17 | + m_Name: Cube | ||
18 | + m_TagString: Untagged | ||
19 | + m_Icon: {fileID: 0} | ||
20 | + m_NavMeshLayer: 0 | ||
21 | + m_StaticEditorFlags: 0 | ||
22 | + m_IsActive: 1 | ||
23 | +--- !u!4 &275043505709825483 | ||
24 | +Transform: | ||
25 | + m_ObjectHideFlags: 0 | ||
26 | + m_CorrespondingSourceObject: {fileID: 0} | ||
27 | + m_PrefabInstance: {fileID: 0} | ||
28 | + m_PrefabAsset: {fileID: 0} | ||
29 | + m_GameObject: {fileID: 275043505709825487} | ||
30 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
31 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
32 | + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} | ||
33 | + m_Children: [] | ||
34 | + m_Father: {fileID: 0} | ||
35 | + m_RootOrder: 0 | ||
36 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
37 | +--- !u!33 &275043505709825480 | ||
38 | +MeshFilter: | ||
39 | + m_ObjectHideFlags: 0 | ||
40 | + m_CorrespondingSourceObject: {fileID: 0} | ||
41 | + m_PrefabInstance: {fileID: 0} | ||
42 | + m_PrefabAsset: {fileID: 0} | ||
43 | + m_GameObject: {fileID: 275043505709825487} | ||
44 | + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} | ||
45 | +--- !u!23 &275043505709825481 | ||
46 | +MeshRenderer: | ||
47 | + m_ObjectHideFlags: 0 | ||
48 | + m_CorrespondingSourceObject: {fileID: 0} | ||
49 | + m_PrefabInstance: {fileID: 0} | ||
50 | + m_PrefabAsset: {fileID: 0} | ||
51 | + m_GameObject: {fileID: 275043505709825487} | ||
52 | + m_Enabled: 1 | ||
53 | + m_CastShadows: 1 | ||
54 | + m_ReceiveShadows: 1 | ||
55 | + m_DynamicOccludee: 1 | ||
56 | + m_MotionVectors: 1 | ||
57 | + m_LightProbeUsage: 1 | ||
58 | + m_ReflectionProbeUsage: 1 | ||
59 | + m_RayTracingMode: 2 | ||
60 | + m_RenderingLayerMask: 1 | ||
61 | + m_RendererPriority: 0 | ||
62 | + m_Materials: | ||
63 | + - {fileID: 2100000, guid: c65f0a93e557b904582ebd86151d51ea, type: 2} | ||
64 | + m_StaticBatchInfo: | ||
65 | + firstSubMesh: 0 | ||
66 | + subMeshCount: 0 | ||
67 | + m_StaticBatchRoot: {fileID: 0} | ||
68 | + m_ProbeAnchor: {fileID: 0} | ||
69 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
70 | + m_ScaleInLightmap: 1 | ||
71 | + m_ReceiveGI: 1 | ||
72 | + m_PreserveUVs: 0 | ||
73 | + m_IgnoreNormalsForChartDetection: 0 | ||
74 | + m_ImportantGI: 0 | ||
75 | + m_StitchLightmapSeams: 1 | ||
76 | + m_SelectedEditorRenderState: 3 | ||
77 | + m_MinimumChartSize: 4 | ||
78 | + m_AutoUVMaxDistance: 0.5 | ||
79 | + m_AutoUVMaxAngle: 89 | ||
80 | + m_LightmapParameters: {fileID: 0} | ||
81 | + m_SortingLayerID: 0 | ||
82 | + m_SortingLayer: 0 | ||
83 | + m_SortingOrder: 0 | ||
84 | +--- !u!65 &275043505709825486 | ||
85 | +BoxCollider: | ||
86 | + m_ObjectHideFlags: 0 | ||
87 | + m_CorrespondingSourceObject: {fileID: 0} | ||
88 | + m_PrefabInstance: {fileID: 0} | ||
89 | + m_PrefabAsset: {fileID: 0} | ||
90 | + m_GameObject: {fileID: 275043505709825487} | ||
91 | + m_Material: {fileID: 0} | ||
92 | + m_IsTrigger: 0 | ||
93 | + m_Enabled: 1 | ||
94 | + serializedVersion: 2 | ||
95 | + m_Size: {x: 2, y: 2, z: 2} | ||
96 | + m_Center: {x: 0, y: 0, z: 0} | ||
97 | +--- !u!114 &1390676110750850629 | ||
98 | +MonoBehaviour: | ||
99 | + m_ObjectHideFlags: 0 | ||
100 | + m_CorrespondingSourceObject: {fileID: 0} | ||
101 | + m_PrefabInstance: {fileID: 0} | ||
102 | + m_PrefabAsset: {fileID: 0} | ||
103 | + m_GameObject: {fileID: 275043505709825487} | ||
104 | + m_Enabled: 1 | ||
105 | + m_EditorHideFlags: 0 | ||
106 | + m_Script: {fileID: 11500000, guid: fd6f278c2997a064aac10352bac67407, type: 3} | ||
107 | + m_Name: | ||
108 | + m_EditorClassIdentifier: |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!1 &1694644481791102473 | ||
4 | +GameObject: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + serializedVersion: 6 | ||
10 | + m_Component: | ||
11 | + - component: {fileID: 7764804282280814968} | ||
12 | + - component: {fileID: 5819071639410241156} | ||
13 | + - component: {fileID: 4549434547178058856} | ||
14 | + - component: {fileID: 4223524825986161770} | ||
15 | + m_Layer: 0 | ||
16 | + m_Name: Quad | ||
17 | + m_TagString: Untagged | ||
18 | + m_Icon: {fileID: 0} | ||
19 | + m_NavMeshLayer: 0 | ||
20 | + m_StaticEditorFlags: 0 | ||
21 | + m_IsActive: 1 | ||
22 | +--- !u!4 &7764804282280814968 | ||
23 | +Transform: | ||
24 | + m_ObjectHideFlags: 0 | ||
25 | + m_CorrespondingSourceObject: {fileID: 0} | ||
26 | + m_PrefabInstance: {fileID: 0} | ||
27 | + m_PrefabAsset: {fileID: 0} | ||
28 | + m_GameObject: {fileID: 1694644481791102473} | ||
29 | + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} | ||
30 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
31 | + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} | ||
32 | + m_Children: [] | ||
33 | + m_Father: {fileID: 3847587717169254739} | ||
34 | + m_RootOrder: 0 | ||
35 | + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} | ||
36 | +--- !u!33 &5819071639410241156 | ||
37 | +MeshFilter: | ||
38 | + m_ObjectHideFlags: 0 | ||
39 | + m_CorrespondingSourceObject: {fileID: 0} | ||
40 | + m_PrefabInstance: {fileID: 0} | ||
41 | + m_PrefabAsset: {fileID: 0} | ||
42 | + m_GameObject: {fileID: 1694644481791102473} | ||
43 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
44 | +--- !u!23 &4549434547178058856 | ||
45 | +MeshRenderer: | ||
46 | + m_ObjectHideFlags: 0 | ||
47 | + m_CorrespondingSourceObject: {fileID: 0} | ||
48 | + m_PrefabInstance: {fileID: 0} | ||
49 | + m_PrefabAsset: {fileID: 0} | ||
50 | + m_GameObject: {fileID: 1694644481791102473} | ||
51 | + m_Enabled: 1 | ||
52 | + m_CastShadows: 1 | ||
53 | + m_ReceiveShadows: 1 | ||
54 | + m_DynamicOccludee: 1 | ||
55 | + m_MotionVectors: 1 | ||
56 | + m_LightProbeUsage: 1 | ||
57 | + m_ReflectionProbeUsage: 1 | ||
58 | + m_RayTracingMode: 2 | ||
59 | + m_RenderingLayerMask: 1 | ||
60 | + m_RendererPriority: 0 | ||
61 | + m_Materials: | ||
62 | + - {fileID: 2100000, guid: 0252f8fdc4e801244aba3d32e4532c25, type: 2} | ||
63 | + m_StaticBatchInfo: | ||
64 | + firstSubMesh: 0 | ||
65 | + subMeshCount: 0 | ||
66 | + m_StaticBatchRoot: {fileID: 0} | ||
67 | + m_ProbeAnchor: {fileID: 0} | ||
68 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
69 | + m_ScaleInLightmap: 1 | ||
70 | + m_ReceiveGI: 1 | ||
71 | + m_PreserveUVs: 0 | ||
72 | + m_IgnoreNormalsForChartDetection: 0 | ||
73 | + m_ImportantGI: 0 | ||
74 | + m_StitchLightmapSeams: 1 | ||
75 | + m_SelectedEditorRenderState: 3 | ||
76 | + m_MinimumChartSize: 4 | ||
77 | + m_AutoUVMaxDistance: 0.5 | ||
78 | + m_AutoUVMaxAngle: 89 | ||
79 | + m_LightmapParameters: {fileID: 0} | ||
80 | + m_SortingLayerID: 0 | ||
81 | + m_SortingLayer: 0 | ||
82 | + m_SortingOrder: 0 | ||
83 | +--- !u!64 &4223524825986161770 | ||
84 | +MeshCollider: | ||
85 | + m_ObjectHideFlags: 0 | ||
86 | + m_CorrespondingSourceObject: {fileID: 0} | ||
87 | + m_PrefabInstance: {fileID: 0} | ||
88 | + m_PrefabAsset: {fileID: 0} | ||
89 | + m_GameObject: {fileID: 1694644481791102473} | ||
90 | + m_Material: {fileID: 0} | ||
91 | + m_IsTrigger: 0 | ||
92 | + m_Enabled: 1 | ||
93 | + serializedVersion: 4 | ||
94 | + m_Convex: 0 | ||
95 | + m_CookingOptions: 30 | ||
96 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
97 | +--- !u!1 &5867708520892882964 | ||
98 | +GameObject: | ||
99 | + m_ObjectHideFlags: 0 | ||
100 | + m_CorrespondingSourceObject: {fileID: 0} | ||
101 | + m_PrefabInstance: {fileID: 0} | ||
102 | + m_PrefabAsset: {fileID: 0} | ||
103 | + serializedVersion: 6 | ||
104 | + m_Component: | ||
105 | + - component: {fileID: 3847587717169254739} | ||
106 | + - component: {fileID: 158359302260373369} | ||
107 | + m_Layer: 0 | ||
108 | + m_Name: Placement Indicator (1) | ||
109 | + m_TagString: Untagged | ||
110 | + m_Icon: {fileID: 0} | ||
111 | + m_NavMeshLayer: 0 | ||
112 | + m_StaticEditorFlags: 0 | ||
113 | + m_IsActive: 1 | ||
114 | +--- !u!4 &3847587717169254739 | ||
115 | +Transform: | ||
116 | + m_ObjectHideFlags: 0 | ||
117 | + m_CorrespondingSourceObject: {fileID: 0} | ||
118 | + m_PrefabInstance: {fileID: 0} | ||
119 | + m_PrefabAsset: {fileID: 0} | ||
120 | + m_GameObject: {fileID: 5867708520892882964} | ||
121 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
122 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
123 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
124 | + m_Children: | ||
125 | + - {fileID: 7764804282280814968} | ||
126 | + m_Father: {fileID: 0} | ||
127 | + m_RootOrder: 0 | ||
128 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
129 | +--- !u!114 &158359302260373369 | ||
130 | +MonoBehaviour: | ||
131 | + m_ObjectHideFlags: 0 | ||
132 | + m_CorrespondingSourceObject: {fileID: 0} | ||
133 | + m_PrefabInstance: {fileID: 0} | ||
134 | + m_PrefabAsset: {fileID: 0} | ||
135 | + m_GameObject: {fileID: 5867708520892882964} | ||
136 | + m_Enabled: 1 | ||
137 | + m_EditorHideFlags: 0 | ||
138 | + m_Script: {fileID: 11500000, guid: d38a937ca4a4faf40869c82a6910b034, type: 3} | ||
139 | + m_Name: | ||
140 | + m_EditorClassIdentifier: | ||
141 | + PrefabToInstantiate: {fileID: 275043505709825487, guid: e93862c196e3d4941a028a74fbb079a6, | ||
142 | + type: 3} | ||
143 | + WhyCryBee: {fileID: 0} | ||
144 | + MechaKucha: {fileID: 0} |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!114 &11400000 | ||
4 | +MonoBehaviour: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + m_GameObject: {fileID: 0} | ||
10 | + m_Enabled: 1 | ||
11 | + m_EditorHideFlags: 0 | ||
12 | + m_Script: {fileID: 11500000, guid: 848409ee8ba454f42a5ddff137688a27, type: 3} | ||
13 | + m_Name: ReferenceImageLibrary | ||
14 | + m_EditorClassIdentifier: | ||
15 | + m_GuidLow: 5251952150333541850 | ||
16 | + m_GuidHigh: 16658206529639963798 | ||
17 | + m_Images: | ||
18 | + - m_SerializedGuid: | ||
19 | + m_GuidLow: 5438664385715598811 | ||
20 | + m_GuidHigh: 1485330862213032371 | ||
21 | + m_SerializedTextureGuid: | ||
22 | + m_GuidLow: 8576034593440043216 | ||
23 | + m_GuidHigh: 5068683186707033674 | ||
24 | + m_Size: {x: 0.3, y: 0.3} | ||
25 | + m_SpecifySize: 1 | ||
26 | + m_Name: AYAYA | ||
27 | + m_Texture: {fileID: 0} |
프로젝트/NewAndFurious/Assets/Scenes.meta
0 → 100644
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!29 &1 | ||
4 | +OcclusionCullingSettings: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + serializedVersion: 2 | ||
7 | + m_OcclusionBakeSettings: | ||
8 | + smallestOccluder: 5 | ||
9 | + smallestHole: 0.25 | ||
10 | + backfaceThreshold: 100 | ||
11 | + m_SceneGUID: 00000000000000000000000000000000 | ||
12 | + m_OcclusionCullingData: {fileID: 0} | ||
13 | +--- !u!104 &2 | ||
14 | +RenderSettings: | ||
15 | + m_ObjectHideFlags: 0 | ||
16 | + serializedVersion: 9 | ||
17 | + m_Fog: 0 | ||
18 | + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} | ||
19 | + m_FogMode: 3 | ||
20 | + m_FogDensity: 0.01 | ||
21 | + m_LinearFogStart: 0 | ||
22 | + m_LinearFogEnd: 300 | ||
23 | + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} | ||
24 | + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} | ||
25 | + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} | ||
26 | + m_AmbientIntensity: 1 | ||
27 | + m_AmbientMode: 0 | ||
28 | + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} | ||
29 | + m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} | ||
30 | + m_HaloStrength: 0.5 | ||
31 | + m_FlareStrength: 1 | ||
32 | + m_FlareFadeSpeed: 3 | ||
33 | + m_HaloTexture: {fileID: 0} | ||
34 | + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} | ||
35 | + m_DefaultReflectionMode: 0 | ||
36 | + m_DefaultReflectionResolution: 128 | ||
37 | + m_ReflectionBounces: 1 | ||
38 | + m_ReflectionIntensity: 1 | ||
39 | + m_CustomReflection: {fileID: 0} | ||
40 | + m_Sun: {fileID: 705507994} | ||
41 | + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} | ||
42 | + m_UseRadianceAmbientProbe: 0 | ||
43 | +--- !u!157 &3 | ||
44 | +LightmapSettings: | ||
45 | + m_ObjectHideFlags: 0 | ||
46 | + serializedVersion: 11 | ||
47 | + m_GIWorkflowMode: 1 | ||
48 | + m_GISettings: | ||
49 | + serializedVersion: 2 | ||
50 | + m_BounceScale: 1 | ||
51 | + m_IndirectOutputScale: 1 | ||
52 | + m_AlbedoBoost: 1 | ||
53 | + m_EnvironmentLightingMode: 0 | ||
54 | + m_EnableBakedLightmaps: 1 | ||
55 | + m_EnableRealtimeLightmaps: 0 | ||
56 | + m_LightmapEditorSettings: | ||
57 | + serializedVersion: 12 | ||
58 | + m_Resolution: 2 | ||
59 | + m_BakeResolution: 40 | ||
60 | + m_AtlasSize: 1024 | ||
61 | + m_AO: 0 | ||
62 | + m_AOMaxDistance: 1 | ||
63 | + m_CompAOExponent: 1 | ||
64 | + m_CompAOExponentDirect: 0 | ||
65 | + m_ExtractAmbientOcclusion: 0 | ||
66 | + m_Padding: 2 | ||
67 | + m_LightmapParameters: {fileID: 0} | ||
68 | + m_LightmapsBakeMode: 1 | ||
69 | + m_TextureCompression: 1 | ||
70 | + m_FinalGather: 0 | ||
71 | + m_FinalGatherFiltering: 1 | ||
72 | + m_FinalGatherRayCount: 256 | ||
73 | + m_ReflectionCompression: 2 | ||
74 | + m_MixedBakeMode: 2 | ||
75 | + m_BakeBackend: 1 | ||
76 | + m_PVRSampling: 1 | ||
77 | + m_PVRDirectSampleCount: 32 | ||
78 | + m_PVRSampleCount: 500 | ||
79 | + m_PVRBounces: 2 | ||
80 | + m_PVREnvironmentSampleCount: 500 | ||
81 | + m_PVREnvironmentReferencePointCount: 2048 | ||
82 | + m_PVRFilteringMode: 2 | ||
83 | + m_PVRDenoiserTypeDirect: 0 | ||
84 | + m_PVRDenoiserTypeIndirect: 0 | ||
85 | + m_PVRDenoiserTypeAO: 0 | ||
86 | + m_PVRFilterTypeDirect: 0 | ||
87 | + m_PVRFilterTypeIndirect: 0 | ||
88 | + m_PVRFilterTypeAO: 0 | ||
89 | + m_PVREnvironmentMIS: 0 | ||
90 | + m_PVRCulling: 1 | ||
91 | + m_PVRFilteringGaussRadiusDirect: 1 | ||
92 | + m_PVRFilteringGaussRadiusIndirect: 5 | ||
93 | + m_PVRFilteringGaussRadiusAO: 2 | ||
94 | + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 | ||
95 | + m_PVRFilteringAtrousPositionSigmaIndirect: 2 | ||
96 | + m_PVRFilteringAtrousPositionSigmaAO: 1 | ||
97 | + m_ExportTrainingData: 0 | ||
98 | + m_TrainingDataDestination: TrainingData | ||
99 | + m_LightProbeSampleCountMultiplier: 4 | ||
100 | + m_LightingDataAsset: {fileID: 0} | ||
101 | + m_UseShadowmask: 1 | ||
102 | +--- !u!196 &4 | ||
103 | +NavMeshSettings: | ||
104 | + serializedVersion: 2 | ||
105 | + m_ObjectHideFlags: 0 | ||
106 | + m_BuildSettings: | ||
107 | + serializedVersion: 2 | ||
108 | + agentTypeID: 0 | ||
109 | + agentRadius: 0.5 | ||
110 | + agentHeight: 2 | ||
111 | + agentSlope: 45 | ||
112 | + agentClimb: 0.4 | ||
113 | + ledgeDropHeight: 0 | ||
114 | + maxJumpAcrossDistance: 0 | ||
115 | + minRegionArea: 2 | ||
116 | + manualCellSize: 0 | ||
117 | + cellSize: 0.16666667 | ||
118 | + manualTileSize: 0 | ||
119 | + tileSize: 256 | ||
120 | + accuratePlacement: 0 | ||
121 | + debug: | ||
122 | + m_Flags: 0 | ||
123 | + m_NavMeshData: {fileID: 0} | ||
124 | +--- !u!1 &40919614 | ||
125 | +GameObject: | ||
126 | + m_ObjectHideFlags: 0 | ||
127 | + m_CorrespondingSourceObject: {fileID: 0} | ||
128 | + m_PrefabInstance: {fileID: 0} | ||
129 | + m_PrefabAsset: {fileID: 0} | ||
130 | + serializedVersion: 6 | ||
131 | + m_Component: | ||
132 | + - component: {fileID: 40919619} | ||
133 | + - component: {fileID: 40919618} | ||
134 | + - component: {fileID: 40919617} | ||
135 | + - component: {fileID: 40919616} | ||
136 | + - component: {fileID: 40919615} | ||
137 | + - component: {fileID: 40919621} | ||
138 | + m_Layer: 0 | ||
139 | + m_Name: AR Session Origin | ||
140 | + m_TagString: Untagged | ||
141 | + m_Icon: {fileID: 0} | ||
142 | + m_NavMeshLayer: 0 | ||
143 | + m_StaticEditorFlags: 0 | ||
144 | + m_IsActive: 1 | ||
145 | +--- !u!114 &40919615 | ||
146 | +MonoBehaviour: | ||
147 | + m_ObjectHideFlags: 0 | ||
148 | + m_CorrespondingSourceObject: {fileID: 0} | ||
149 | + m_PrefabInstance: {fileID: 0} | ||
150 | + m_PrefabAsset: {fileID: 0} | ||
151 | + m_GameObject: {fileID: 40919614} | ||
152 | + m_Enabled: 1 | ||
153 | + m_EditorHideFlags: 0 | ||
154 | + m_Script: {fileID: 11500000, guid: e1760703bbd54c04488a8d10600262ab, type: 3} | ||
155 | + m_Name: | ||
156 | + m_EditorClassIdentifier: | ||
157 | + m_PlanePrefab: {fileID: 8572943399424948391, guid: fe2335bd30ab08049bd6a37fca18395f, | ||
158 | + type: 3} | ||
159 | + m_DetectionMode: 1 | ||
160 | +--- !u!114 &40919616 | ||
161 | +MonoBehaviour: | ||
162 | + m_ObjectHideFlags: 0 | ||
163 | + m_CorrespondingSourceObject: {fileID: 0} | ||
164 | + m_PrefabInstance: {fileID: 0} | ||
165 | + m_PrefabAsset: {fileID: 0} | ||
166 | + m_GameObject: {fileID: 40919614} | ||
167 | + m_Enabled: 1 | ||
168 | + m_EditorHideFlags: 0 | ||
169 | + m_Script: {fileID: 11500000, guid: 5e30c535ca3f10743870195660ebc31c, type: 3} | ||
170 | + m_Name: | ||
171 | + m_EditorClassIdentifier: | ||
172 | +--- !u!114 &40919617 | ||
173 | +MonoBehaviour: | ||
174 | + m_ObjectHideFlags: 0 | ||
175 | + m_CorrespondingSourceObject: {fileID: 0} | ||
176 | + m_PrefabInstance: {fileID: 0} | ||
177 | + m_PrefabAsset: {fileID: 0} | ||
178 | + m_GameObject: {fileID: 40919614} | ||
179 | + m_Enabled: 1 | ||
180 | + m_EditorHideFlags: 0 | ||
181 | + m_Script: {fileID: 11500000, guid: 4dea56a9eaadd1c439095de4f9a371cb, type: 3} | ||
182 | + m_Name: | ||
183 | + m_EditorClassIdentifier: | ||
184 | + m_ReferenceLibrary: {fileID: 11400000, guid: 03bb37fe8461d7d4286d9eb4be448d32, type: 2} | ||
185 | + m_MaxNumberOfMovingImages: 2 | ||
186 | + m_TrackedImagePrefab: {fileID: 5867708520892882964, guid: f4a9f395498e4df4098402cb1898b3ef, | ||
187 | + type: 3} | ||
188 | +--- !u!114 &40919618 | ||
189 | +MonoBehaviour: | ||
190 | + m_ObjectHideFlags: 0 | ||
191 | + m_CorrespondingSourceObject: {fileID: 0} | ||
192 | + m_PrefabInstance: {fileID: 0} | ||
193 | + m_PrefabAsset: {fileID: 0} | ||
194 | + m_GameObject: {fileID: 40919614} | ||
195 | + m_Enabled: 1 | ||
196 | + m_EditorHideFlags: 0 | ||
197 | + m_Script: {fileID: 11500000, guid: 520bb47c46cf8624fafb307b7d1b862a, type: 3} | ||
198 | + m_Name: | ||
199 | + m_EditorClassIdentifier: | ||
200 | + m_Camera: {fileID: 1114040581} | ||
201 | +--- !u!4 &40919619 | ||
202 | +Transform: | ||
203 | + m_ObjectHideFlags: 0 | ||
204 | + m_CorrespondingSourceObject: {fileID: 0} | ||
205 | + m_PrefabInstance: {fileID: 0} | ||
206 | + m_PrefabAsset: {fileID: 0} | ||
207 | + m_GameObject: {fileID: 40919614} | ||
208 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
209 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
210 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
211 | + m_Children: | ||
212 | + - {fileID: 1114040585} | ||
213 | + m_Father: {fileID: 0} | ||
214 | + m_RootOrder: 1 | ||
215 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
216 | +--- !u!114 &40919621 | ||
217 | +MonoBehaviour: | ||
218 | + m_ObjectHideFlags: 0 | ||
219 | + m_CorrespondingSourceObject: {fileID: 0} | ||
220 | + m_PrefabInstance: {fileID: 0} | ||
221 | + m_PrefabAsset: {fileID: 0} | ||
222 | + m_GameObject: {fileID: 40919614} | ||
223 | + m_Enabled: 1 | ||
224 | + m_EditorHideFlags: 0 | ||
225 | + m_Script: {fileID: 11500000, guid: fa17d122634046b4a8e23048891fafc5, type: 3} | ||
226 | + m_Name: | ||
227 | + m_EditorClassIdentifier: | ||
228 | +--- !u!1 &60527766 | ||
229 | +GameObject: | ||
230 | + m_ObjectHideFlags: 0 | ||
231 | + m_CorrespondingSourceObject: {fileID: 0} | ||
232 | + m_PrefabInstance: {fileID: 0} | ||
233 | + m_PrefabAsset: {fileID: 0} | ||
234 | + serializedVersion: 6 | ||
235 | + m_Component: | ||
236 | + - component: {fileID: 60527767} | ||
237 | + - component: {fileID: 60527770} | ||
238 | + - component: {fileID: 60527769} | ||
239 | + - component: {fileID: 60527768} | ||
240 | + m_Layer: 5 | ||
241 | + m_Name: Canvas | ||
242 | + m_TagString: Untagged | ||
243 | + m_Icon: {fileID: 0} | ||
244 | + m_NavMeshLayer: 0 | ||
245 | + m_StaticEditorFlags: 0 | ||
246 | + m_IsActive: 1 | ||
247 | +--- !u!224 &60527767 | ||
248 | +RectTransform: | ||
249 | + m_ObjectHideFlags: 0 | ||
250 | + m_CorrespondingSourceObject: {fileID: 0} | ||
251 | + m_PrefabInstance: {fileID: 0} | ||
252 | + m_PrefabAsset: {fileID: 0} | ||
253 | + m_GameObject: {fileID: 60527766} | ||
254 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
255 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
256 | + m_LocalScale: {x: 0, y: 0, z: 0} | ||
257 | + m_Children: | ||
258 | + - {fileID: 366288481} | ||
259 | + m_Father: {fileID: 1114040585} | ||
260 | + m_RootOrder: 0 | ||
261 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
262 | + m_AnchorMin: {x: 0, y: 0} | ||
263 | + m_AnchorMax: {x: 0, y: 0} | ||
264 | + m_AnchoredPosition: {x: 0, y: 0} | ||
265 | + m_SizeDelta: {x: 0, y: 0} | ||
266 | + m_Pivot: {x: 0, y: 0} | ||
267 | +--- !u!114 &60527768 | ||
268 | +MonoBehaviour: | ||
269 | + m_ObjectHideFlags: 0 | ||
270 | + m_CorrespondingSourceObject: {fileID: 0} | ||
271 | + m_PrefabInstance: {fileID: 0} | ||
272 | + m_PrefabAsset: {fileID: 0} | ||
273 | + m_GameObject: {fileID: 60527766} | ||
274 | + m_Enabled: 1 | ||
275 | + m_EditorHideFlags: 0 | ||
276 | + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} | ||
277 | + m_Name: | ||
278 | + m_EditorClassIdentifier: | ||
279 | + m_IgnoreReversedGraphics: 1 | ||
280 | + m_BlockingObjects: 0 | ||
281 | + m_BlockingMask: | ||
282 | + serializedVersion: 2 | ||
283 | + m_Bits: 4294967295 | ||
284 | +--- !u!114 &60527769 | ||
285 | +MonoBehaviour: | ||
286 | + m_ObjectHideFlags: 0 | ||
287 | + m_CorrespondingSourceObject: {fileID: 0} | ||
288 | + m_PrefabInstance: {fileID: 0} | ||
289 | + m_PrefabAsset: {fileID: 0} | ||
290 | + m_GameObject: {fileID: 60527766} | ||
291 | + m_Enabled: 1 | ||
292 | + m_EditorHideFlags: 0 | ||
293 | + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} | ||
294 | + m_Name: | ||
295 | + m_EditorClassIdentifier: | ||
296 | + m_UiScaleMode: 0 | ||
297 | + m_ReferencePixelsPerUnit: 100 | ||
298 | + m_ScaleFactor: 1 | ||
299 | + m_ReferenceResolution: {x: 800, y: 600} | ||
300 | + m_ScreenMatchMode: 0 | ||
301 | + m_MatchWidthOrHeight: 0 | ||
302 | + m_PhysicalUnit: 3 | ||
303 | + m_FallbackScreenDPI: 96 | ||
304 | + m_DefaultSpriteDPI: 96 | ||
305 | + m_DynamicPixelsPerUnit: 1 | ||
306 | +--- !u!223 &60527770 | ||
307 | +Canvas: | ||
308 | + m_ObjectHideFlags: 0 | ||
309 | + m_CorrespondingSourceObject: {fileID: 0} | ||
310 | + m_PrefabInstance: {fileID: 0} | ||
311 | + m_PrefabAsset: {fileID: 0} | ||
312 | + m_GameObject: {fileID: 60527766} | ||
313 | + m_Enabled: 1 | ||
314 | + serializedVersion: 3 | ||
315 | + m_RenderMode: 0 | ||
316 | + m_Camera: {fileID: 0} | ||
317 | + m_PlaneDistance: 100 | ||
318 | + m_PixelPerfect: 0 | ||
319 | + m_ReceivesEvents: 1 | ||
320 | + m_OverrideSorting: 0 | ||
321 | + m_OverridePixelPerfect: 0 | ||
322 | + m_SortingBucketNormalizedSize: 0 | ||
323 | + m_AdditionalShaderChannelsFlag: 0 | ||
324 | + m_SortingLayerID: 0 | ||
325 | + m_SortingOrder: 0 | ||
326 | + m_TargetDisplay: 0 | ||
327 | +--- !u!1 &91670563 | ||
328 | +GameObject: | ||
329 | + m_ObjectHideFlags: 0 | ||
330 | + m_CorrespondingSourceObject: {fileID: 0} | ||
331 | + m_PrefabInstance: {fileID: 0} | ||
332 | + m_PrefabAsset: {fileID: 0} | ||
333 | + serializedVersion: 6 | ||
334 | + m_Component: | ||
335 | + - component: {fileID: 91670564} | ||
336 | + - component: {fileID: 91670566} | ||
337 | + - component: {fileID: 91670565} | ||
338 | + m_Layer: 5 | ||
339 | + m_Name: Text | ||
340 | + m_TagString: Untagged | ||
341 | + m_Icon: {fileID: 0} | ||
342 | + m_NavMeshLayer: 0 | ||
343 | + m_StaticEditorFlags: 0 | ||
344 | + m_IsActive: 1 | ||
345 | +--- !u!224 &91670564 | ||
346 | +RectTransform: | ||
347 | + m_ObjectHideFlags: 0 | ||
348 | + m_CorrespondingSourceObject: {fileID: 0} | ||
349 | + m_PrefabInstance: {fileID: 0} | ||
350 | + m_PrefabAsset: {fileID: 0} | ||
351 | + m_GameObject: {fileID: 91670563} | ||
352 | + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||
353 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
354 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
355 | + m_Children: [] | ||
356 | + m_Father: {fileID: 916142315} | ||
357 | + m_RootOrder: 0 | ||
358 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
359 | + m_AnchorMin: {x: 0, y: 0} | ||
360 | + m_AnchorMax: {x: 1, y: 1} | ||
361 | + m_AnchoredPosition: {x: 0, y: 0} | ||
362 | + m_SizeDelta: {x: 0, y: 0} | ||
363 | + m_Pivot: {x: 0.5, y: 0.5} | ||
364 | +--- !u!114 &91670565 | ||
365 | +MonoBehaviour: | ||
366 | + m_ObjectHideFlags: 0 | ||
367 | + m_CorrespondingSourceObject: {fileID: 0} | ||
368 | + m_PrefabInstance: {fileID: 0} | ||
369 | + m_PrefabAsset: {fileID: 0} | ||
370 | + m_GameObject: {fileID: 91670563} | ||
371 | + m_Enabled: 1 | ||
372 | + m_EditorHideFlags: 0 | ||
373 | + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} | ||
374 | + m_Name: | ||
375 | + m_EditorClassIdentifier: | ||
376 | + m_Material: {fileID: 0} | ||
377 | + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} | ||
378 | + m_RaycastTarget: 1 | ||
379 | + m_Maskable: 1 | ||
380 | + m_OnCullStateChanged: | ||
381 | + m_PersistentCalls: | ||
382 | + m_Calls: [] | ||
383 | + m_FontData: | ||
384 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
385 | + m_FontSize: 14 | ||
386 | + m_FontStyle: 0 | ||
387 | + m_BestFit: 0 | ||
388 | + m_MinSize: 10 | ||
389 | + m_MaxSize: 40 | ||
390 | + m_Alignment: 4 | ||
391 | + m_AlignByGeometry: 0 | ||
392 | + m_RichText: 1 | ||
393 | + m_HorizontalOverflow: 0 | ||
394 | + m_VerticalOverflow: 0 | ||
395 | + m_LineSpacing: 1 | ||
396 | + m_Text: Start/Stop | ||
397 | +--- !u!222 &91670566 | ||
398 | +CanvasRenderer: | ||
399 | + m_ObjectHideFlags: 0 | ||
400 | + m_CorrespondingSourceObject: {fileID: 0} | ||
401 | + m_PrefabInstance: {fileID: 0} | ||
402 | + m_PrefabAsset: {fileID: 0} | ||
403 | + m_GameObject: {fileID: 91670563} | ||
404 | + m_CullTransparentMesh: 0 | ||
405 | +--- !u!1 &165585583 | ||
406 | +GameObject: | ||
407 | + m_ObjectHideFlags: 0 | ||
408 | + m_CorrespondingSourceObject: {fileID: 0} | ||
409 | + m_PrefabInstance: {fileID: 0} | ||
410 | + m_PrefabAsset: {fileID: 0} | ||
411 | + serializedVersion: 6 | ||
412 | + m_Component: | ||
413 | + - component: {fileID: 165585584} | ||
414 | + m_Layer: 0 | ||
415 | + m_Name: Placement Indicator | ||
416 | + m_TagString: HeyBee | ||
417 | + m_Icon: {fileID: 0} | ||
418 | + m_NavMeshLayer: 0 | ||
419 | + m_StaticEditorFlags: 0 | ||
420 | + m_IsActive: 1 | ||
421 | +--- !u!4 &165585584 | ||
422 | +Transform: | ||
423 | + m_ObjectHideFlags: 0 | ||
424 | + m_CorrespondingSourceObject: {fileID: 0} | ||
425 | + m_PrefabInstance: {fileID: 0} | ||
426 | + m_PrefabAsset: {fileID: 0} | ||
427 | + m_GameObject: {fileID: 165585583} | ||
428 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
429 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
430 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
431 | + m_Children: | ||
432 | + - {fileID: 259715464} | ||
433 | + m_Father: {fileID: 0} | ||
434 | + m_RootOrder: 3 | ||
435 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
436 | +--- !u!1 &223974226 | ||
437 | +GameObject: | ||
438 | + m_ObjectHideFlags: 0 | ||
439 | + m_CorrespondingSourceObject: {fileID: 0} | ||
440 | + m_PrefabInstance: {fileID: 0} | ||
441 | + m_PrefabAsset: {fileID: 0} | ||
442 | + serializedVersion: 6 | ||
443 | + m_Component: | ||
444 | + - component: {fileID: 223974229} | ||
445 | + - component: {fileID: 223974228} | ||
446 | + - component: {fileID: 223974227} | ||
447 | + m_Layer: 0 | ||
448 | + m_Name: AR Session | ||
449 | + m_TagString: Untagged | ||
450 | + m_Icon: {fileID: 0} | ||
451 | + m_NavMeshLayer: 0 | ||
452 | + m_StaticEditorFlags: 0 | ||
453 | + m_IsActive: 1 | ||
454 | +--- !u!114 &223974227 | ||
455 | +MonoBehaviour: | ||
456 | + m_ObjectHideFlags: 0 | ||
457 | + m_CorrespondingSourceObject: {fileID: 0} | ||
458 | + m_PrefabInstance: {fileID: 0} | ||
459 | + m_PrefabAsset: {fileID: 0} | ||
460 | + m_GameObject: {fileID: 223974226} | ||
461 | + m_Enabled: 1 | ||
462 | + m_EditorHideFlags: 0 | ||
463 | + m_Script: {fileID: 11500000, guid: fa850fbd5b8aded44846f96e35f1a9f5, type: 3} | ||
464 | + m_Name: | ||
465 | + m_EditorClassIdentifier: | ||
466 | +--- !u!114 &223974228 | ||
467 | +MonoBehaviour: | ||
468 | + m_ObjectHideFlags: 0 | ||
469 | + m_CorrespondingSourceObject: {fileID: 0} | ||
470 | + m_PrefabInstance: {fileID: 0} | ||
471 | + m_PrefabAsset: {fileID: 0} | ||
472 | + m_GameObject: {fileID: 223974226} | ||
473 | + m_Enabled: 1 | ||
474 | + m_EditorHideFlags: 0 | ||
475 | + m_Script: {fileID: 11500000, guid: 3859a92a05d4f5d418cb6ca605290e74, type: 3} | ||
476 | + m_Name: | ||
477 | + m_EditorClassIdentifier: | ||
478 | + m_AttemptUpdate: 1 | ||
479 | + m_MatchFrameRate: 1 | ||
480 | +--- !u!4 &223974229 | ||
481 | +Transform: | ||
482 | + m_ObjectHideFlags: 0 | ||
483 | + m_CorrespondingSourceObject: {fileID: 0} | ||
484 | + m_PrefabInstance: {fileID: 0} | ||
485 | + m_PrefabAsset: {fileID: 0} | ||
486 | + m_GameObject: {fileID: 223974226} | ||
487 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
488 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
489 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
490 | + m_Children: [] | ||
491 | + m_Father: {fileID: 0} | ||
492 | + m_RootOrder: 2 | ||
493 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
494 | +--- !u!1 &259715463 | ||
495 | +GameObject: | ||
496 | + m_ObjectHideFlags: 0 | ||
497 | + m_CorrespondingSourceObject: {fileID: 0} | ||
498 | + m_PrefabInstance: {fileID: 0} | ||
499 | + m_PrefabAsset: {fileID: 0} | ||
500 | + serializedVersion: 6 | ||
501 | + m_Component: | ||
502 | + - component: {fileID: 259715464} | ||
503 | + - component: {fileID: 259715467} | ||
504 | + - component: {fileID: 259715466} | ||
505 | + - component: {fileID: 259715465} | ||
506 | + m_Layer: 0 | ||
507 | + m_Name: Quad | ||
508 | + m_TagString: Untagged | ||
509 | + m_Icon: {fileID: 0} | ||
510 | + m_NavMeshLayer: 0 | ||
511 | + m_StaticEditorFlags: 0 | ||
512 | + m_IsActive: 1 | ||
513 | +--- !u!4 &259715464 | ||
514 | +Transform: | ||
515 | + m_ObjectHideFlags: 0 | ||
516 | + m_CorrespondingSourceObject: {fileID: 0} | ||
517 | + m_PrefabInstance: {fileID: 0} | ||
518 | + m_PrefabAsset: {fileID: 0} | ||
519 | + m_GameObject: {fileID: 259715463} | ||
520 | + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} | ||
521 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
522 | + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} | ||
523 | + m_Children: [] | ||
524 | + m_Father: {fileID: 165585584} | ||
525 | + m_RootOrder: 0 | ||
526 | + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} | ||
527 | +--- !u!64 &259715465 | ||
528 | +MeshCollider: | ||
529 | + m_ObjectHideFlags: 0 | ||
530 | + m_CorrespondingSourceObject: {fileID: 0} | ||
531 | + m_PrefabInstance: {fileID: 0} | ||
532 | + m_PrefabAsset: {fileID: 0} | ||
533 | + m_GameObject: {fileID: 259715463} | ||
534 | + m_Material: {fileID: 0} | ||
535 | + m_IsTrigger: 0 | ||
536 | + m_Enabled: 1 | ||
537 | + serializedVersion: 4 | ||
538 | + m_Convex: 0 | ||
539 | + m_CookingOptions: 30 | ||
540 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
541 | +--- !u!23 &259715466 | ||
542 | +MeshRenderer: | ||
543 | + m_ObjectHideFlags: 0 | ||
544 | + m_CorrespondingSourceObject: {fileID: 0} | ||
545 | + m_PrefabInstance: {fileID: 0} | ||
546 | + m_PrefabAsset: {fileID: 0} | ||
547 | + m_GameObject: {fileID: 259715463} | ||
548 | + m_Enabled: 1 | ||
549 | + m_CastShadows: 1 | ||
550 | + m_ReceiveShadows: 1 | ||
551 | + m_DynamicOccludee: 1 | ||
552 | + m_MotionVectors: 1 | ||
553 | + m_LightProbeUsage: 1 | ||
554 | + m_ReflectionProbeUsage: 1 | ||
555 | + m_RayTracingMode: 2 | ||
556 | + m_RenderingLayerMask: 1 | ||
557 | + m_RendererPriority: 0 | ||
558 | + m_Materials: | ||
559 | + - {fileID: 2100000, guid: a4fe9d0734e8e448c8f11672a6e1d1ac, type: 2} | ||
560 | + m_StaticBatchInfo: | ||
561 | + firstSubMesh: 0 | ||
562 | + subMeshCount: 0 | ||
563 | + m_StaticBatchRoot: {fileID: 0} | ||
564 | + m_ProbeAnchor: {fileID: 0} | ||
565 | + m_LightProbeVolumeOverride: {fileID: 0} | ||
566 | + m_ScaleInLightmap: 1 | ||
567 | + m_ReceiveGI: 1 | ||
568 | + m_PreserveUVs: 0 | ||
569 | + m_IgnoreNormalsForChartDetection: 0 | ||
570 | + m_ImportantGI: 0 | ||
571 | + m_StitchLightmapSeams: 1 | ||
572 | + m_SelectedEditorRenderState: 3 | ||
573 | + m_MinimumChartSize: 4 | ||
574 | + m_AutoUVMaxDistance: 0.5 | ||
575 | + m_AutoUVMaxAngle: 89 | ||
576 | + m_LightmapParameters: {fileID: 0} | ||
577 | + m_SortingLayerID: 0 | ||
578 | + m_SortingLayer: 0 | ||
579 | + m_SortingOrder: 0 | ||
580 | +--- !u!33 &259715467 | ||
581 | +MeshFilter: | ||
582 | + m_ObjectHideFlags: 0 | ||
583 | + m_CorrespondingSourceObject: {fileID: 0} | ||
584 | + m_PrefabInstance: {fileID: 0} | ||
585 | + m_PrefabAsset: {fileID: 0} | ||
586 | + m_GameObject: {fileID: 259715463} | ||
587 | + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} | ||
588 | +--- !u!1 &295702585 | ||
589 | +GameObject: | ||
590 | + m_ObjectHideFlags: 0 | ||
591 | + m_CorrespondingSourceObject: {fileID: 0} | ||
592 | + m_PrefabInstance: {fileID: 0} | ||
593 | + m_PrefabAsset: {fileID: 0} | ||
594 | + serializedVersion: 6 | ||
595 | + m_Component: | ||
596 | + - component: {fileID: 295702586} | ||
597 | + - component: {fileID: 295702589} | ||
598 | + - component: {fileID: 295702588} | ||
599 | + - component: {fileID: 295702587} | ||
600 | + m_Layer: 5 | ||
601 | + m_Name: Button | ||
602 | + m_TagString: Untagged | ||
603 | + m_Icon: {fileID: 0} | ||
604 | + m_NavMeshLayer: 0 | ||
605 | + m_StaticEditorFlags: 0 | ||
606 | + m_IsActive: 1 | ||
607 | +--- !u!224 &295702586 | ||
608 | +RectTransform: | ||
609 | + m_ObjectHideFlags: 0 | ||
610 | + m_CorrespondingSourceObject: {fileID: 0} | ||
611 | + m_PrefabInstance: {fileID: 0} | ||
612 | + m_PrefabAsset: {fileID: 0} | ||
613 | + m_GameObject: {fileID: 295702585} | ||
614 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
615 | + m_LocalPosition: {x: 0, y: 0, z: 10} | ||
616 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
617 | + m_Children: | ||
618 | + - {fileID: 2005763623} | ||
619 | + m_Father: {fileID: 366288481} | ||
620 | + m_RootOrder: 1 | ||
621 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
622 | + m_AnchorMin: {x: 0.5, y: 0.5} | ||
623 | + m_AnchorMax: {x: 0.5, y: 0.5} | ||
624 | + m_AnchoredPosition: {x: -251, y: -217} | ||
625 | + m_SizeDelta: {x: 160, y: 30} | ||
626 | + m_Pivot: {x: 0.5, y: 0.5} | ||
627 | +--- !u!114 &295702587 | ||
628 | +MonoBehaviour: | ||
629 | + m_ObjectHideFlags: 0 | ||
630 | + m_CorrespondingSourceObject: {fileID: 0} | ||
631 | + m_PrefabInstance: {fileID: 0} | ||
632 | + m_PrefabAsset: {fileID: 0} | ||
633 | + m_GameObject: {fileID: 295702585} | ||
634 | + m_Enabled: 1 | ||
635 | + m_EditorHideFlags: 0 | ||
636 | + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} | ||
637 | + m_Name: | ||
638 | + m_EditorClassIdentifier: | ||
639 | + m_Navigation: | ||
640 | + m_Mode: 3 | ||
641 | + m_SelectOnUp: {fileID: 0} | ||
642 | + m_SelectOnDown: {fileID: 0} | ||
643 | + m_SelectOnLeft: {fileID: 0} | ||
644 | + m_SelectOnRight: {fileID: 0} | ||
645 | + m_Transition: 1 | ||
646 | + m_Colors: | ||
647 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
648 | + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} | ||
649 | + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} | ||
650 | + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} | ||
651 | + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} | ||
652 | + m_ColorMultiplier: 1 | ||
653 | + m_FadeDuration: 0.1 | ||
654 | + m_SpriteState: | ||
655 | + m_HighlightedSprite: {fileID: 0} | ||
656 | + m_PressedSprite: {fileID: 0} | ||
657 | + m_SelectedSprite: {fileID: 0} | ||
658 | + m_DisabledSprite: {fileID: 0} | ||
659 | + m_AnimationTriggers: | ||
660 | + m_NormalTrigger: Normal | ||
661 | + m_HighlightedTrigger: Highlighted | ||
662 | + m_PressedTrigger: Pressed | ||
663 | + m_SelectedTrigger: Selected | ||
664 | + m_DisabledTrigger: Disabled | ||
665 | + m_Interactable: 1 | ||
666 | + m_TargetGraphic: {fileID: 295702588} | ||
667 | + m_OnClick: | ||
668 | + m_PersistentCalls: | ||
669 | + m_Calls: [] | ||
670 | +--- !u!114 &295702588 | ||
671 | +MonoBehaviour: | ||
672 | + m_ObjectHideFlags: 0 | ||
673 | + m_CorrespondingSourceObject: {fileID: 0} | ||
674 | + m_PrefabInstance: {fileID: 0} | ||
675 | + m_PrefabAsset: {fileID: 0} | ||
676 | + m_GameObject: {fileID: 295702585} | ||
677 | + m_Enabled: 1 | ||
678 | + m_EditorHideFlags: 0 | ||
679 | + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} | ||
680 | + m_Name: | ||
681 | + m_EditorClassIdentifier: | ||
682 | + m_Material: {fileID: 0} | ||
683 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
684 | + m_RaycastTarget: 1 | ||
685 | + m_Maskable: 1 | ||
686 | + m_OnCullStateChanged: | ||
687 | + m_PersistentCalls: | ||
688 | + m_Calls: [] | ||
689 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
690 | + m_Type: 1 | ||
691 | + m_PreserveAspect: 0 | ||
692 | + m_FillCenter: 1 | ||
693 | + m_FillMethod: 4 | ||
694 | + m_FillAmount: 1 | ||
695 | + m_FillClockwise: 1 | ||
696 | + m_FillOrigin: 0 | ||
697 | + m_UseSpriteMesh: 0 | ||
698 | + m_PixelsPerUnitMultiplier: 1 | ||
699 | +--- !u!222 &295702589 | ||
700 | +CanvasRenderer: | ||
701 | + m_ObjectHideFlags: 0 | ||
702 | + m_CorrespondingSourceObject: {fileID: 0} | ||
703 | + m_PrefabInstance: {fileID: 0} | ||
704 | + m_PrefabAsset: {fileID: 0} | ||
705 | + m_GameObject: {fileID: 295702585} | ||
706 | + m_CullTransparentMesh: 0 | ||
707 | +--- !u!1 &366288480 | ||
708 | +GameObject: | ||
709 | + m_ObjectHideFlags: 0 | ||
710 | + m_CorrespondingSourceObject: {fileID: 0} | ||
711 | + m_PrefabInstance: {fileID: 0} | ||
712 | + m_PrefabAsset: {fileID: 0} | ||
713 | + serializedVersion: 6 | ||
714 | + m_Component: | ||
715 | + - component: {fileID: 366288481} | ||
716 | + - component: {fileID: 366288483} | ||
717 | + - component: {fileID: 366288482} | ||
718 | + m_Layer: 5 | ||
719 | + m_Name: Panel | ||
720 | + m_TagString: Untagged | ||
721 | + m_Icon: {fileID: 0} | ||
722 | + m_NavMeshLayer: 0 | ||
723 | + m_StaticEditorFlags: 0 | ||
724 | + m_IsActive: 1 | ||
725 | +--- !u!224 &366288481 | ||
726 | +RectTransform: | ||
727 | + m_ObjectHideFlags: 0 | ||
728 | + m_CorrespondingSourceObject: {fileID: 0} | ||
729 | + m_PrefabInstance: {fileID: 0} | ||
730 | + m_PrefabAsset: {fileID: 0} | ||
731 | + m_GameObject: {fileID: 366288480} | ||
732 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
733 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
734 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
735 | + m_Children: | ||
736 | + - {fileID: 916142315} | ||
737 | + - {fileID: 295702586} | ||
738 | + m_Father: {fileID: 60527767} | ||
739 | + m_RootOrder: 0 | ||
740 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
741 | + m_AnchorMin: {x: 0, y: 0} | ||
742 | + m_AnchorMax: {x: 1, y: 1} | ||
743 | + m_AnchoredPosition: {x: 0, y: 0} | ||
744 | + m_SizeDelta: {x: 0, y: 0} | ||
745 | + m_Pivot: {x: 0.5, y: 0.5} | ||
746 | +--- !u!114 &366288482 | ||
747 | +MonoBehaviour: | ||
748 | + m_ObjectHideFlags: 0 | ||
749 | + m_CorrespondingSourceObject: {fileID: 0} | ||
750 | + m_PrefabInstance: {fileID: 0} | ||
751 | + m_PrefabAsset: {fileID: 0} | ||
752 | + m_GameObject: {fileID: 366288480} | ||
753 | + m_Enabled: 1 | ||
754 | + m_EditorHideFlags: 0 | ||
755 | + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} | ||
756 | + m_Name: | ||
757 | + m_EditorClassIdentifier: | ||
758 | + m_Material: {fileID: 0} | ||
759 | + m_Color: {r: 1, g: 1, b: 1, a: 0.392} | ||
760 | + m_RaycastTarget: 1 | ||
761 | + m_Maskable: 1 | ||
762 | + m_OnCullStateChanged: | ||
763 | + m_PersistentCalls: | ||
764 | + m_Calls: [] | ||
765 | + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} | ||
766 | + m_Type: 1 | ||
767 | + m_PreserveAspect: 0 | ||
768 | + m_FillCenter: 1 | ||
769 | + m_FillMethod: 4 | ||
770 | + m_FillAmount: 1 | ||
771 | + m_FillClockwise: 1 | ||
772 | + m_FillOrigin: 0 | ||
773 | + m_UseSpriteMesh: 0 | ||
774 | + m_PixelsPerUnitMultiplier: 1 | ||
775 | +--- !u!222 &366288483 | ||
776 | +CanvasRenderer: | ||
777 | + m_ObjectHideFlags: 0 | ||
778 | + m_CorrespondingSourceObject: {fileID: 0} | ||
779 | + m_PrefabInstance: {fileID: 0} | ||
780 | + m_PrefabAsset: {fileID: 0} | ||
781 | + m_GameObject: {fileID: 366288480} | ||
782 | + m_CullTransparentMesh: 0 | ||
783 | +--- !u!1 &705507993 | ||
784 | +GameObject: | ||
785 | + m_ObjectHideFlags: 0 | ||
786 | + m_CorrespondingSourceObject: {fileID: 0} | ||
787 | + m_PrefabInstance: {fileID: 0} | ||
788 | + m_PrefabAsset: {fileID: 0} | ||
789 | + serializedVersion: 6 | ||
790 | + m_Component: | ||
791 | + - component: {fileID: 705507995} | ||
792 | + - component: {fileID: 705507994} | ||
793 | + m_Layer: 0 | ||
794 | + m_Name: Directional Light | ||
795 | + m_TagString: Untagged | ||
796 | + m_Icon: {fileID: 0} | ||
797 | + m_NavMeshLayer: 0 | ||
798 | + m_StaticEditorFlags: 0 | ||
799 | + m_IsActive: 1 | ||
800 | +--- !u!108 &705507994 | ||
801 | +Light: | ||
802 | + m_ObjectHideFlags: 0 | ||
803 | + m_CorrespondingSourceObject: {fileID: 0} | ||
804 | + m_PrefabInstance: {fileID: 0} | ||
805 | + m_PrefabAsset: {fileID: 0} | ||
806 | + m_GameObject: {fileID: 705507993} | ||
807 | + m_Enabled: 1 | ||
808 | + serializedVersion: 10 | ||
809 | + m_Type: 1 | ||
810 | + m_Shape: 0 | ||
811 | + m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} | ||
812 | + m_Intensity: 1 | ||
813 | + m_Range: 10 | ||
814 | + m_SpotAngle: 30 | ||
815 | + m_InnerSpotAngle: 21.80208 | ||
816 | + m_CookieSize: 10 | ||
817 | + m_Shadows: | ||
818 | + m_Type: 2 | ||
819 | + m_Resolution: -1 | ||
820 | + m_CustomResolution: -1 | ||
821 | + m_Strength: 1 | ||
822 | + m_Bias: 0.05 | ||
823 | + m_NormalBias: 0.4 | ||
824 | + m_NearPlane: 0.2 | ||
825 | + m_CullingMatrixOverride: | ||
826 | + e00: 1 | ||
827 | + e01: 0 | ||
828 | + e02: 0 | ||
829 | + e03: 0 | ||
830 | + e10: 0 | ||
831 | + e11: 1 | ||
832 | + e12: 0 | ||
833 | + e13: 0 | ||
834 | + e20: 0 | ||
835 | + e21: 0 | ||
836 | + e22: 1 | ||
837 | + e23: 0 | ||
838 | + e30: 0 | ||
839 | + e31: 0 | ||
840 | + e32: 0 | ||
841 | + e33: 1 | ||
842 | + m_UseCullingMatrixOverride: 0 | ||
843 | + m_Cookie: {fileID: 0} | ||
844 | + m_DrawHalo: 0 | ||
845 | + m_Flare: {fileID: 0} | ||
846 | + m_RenderMode: 0 | ||
847 | + m_CullingMask: | ||
848 | + serializedVersion: 2 | ||
849 | + m_Bits: 4294967295 | ||
850 | + m_RenderingLayerMask: 1 | ||
851 | + m_Lightmapping: 1 | ||
852 | + m_LightShadowCasterMode: 0 | ||
853 | + m_AreaSize: {x: 1, y: 1} | ||
854 | + m_BounceIntensity: 1 | ||
855 | + m_ColorTemperature: 6570 | ||
856 | + m_UseColorTemperature: 0 | ||
857 | + m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} | ||
858 | + m_UseBoundingSphereOverride: 0 | ||
859 | + m_ShadowRadius: 0 | ||
860 | + m_ShadowAngle: 0 | ||
861 | +--- !u!4 &705507995 | ||
862 | +Transform: | ||
863 | + m_ObjectHideFlags: 0 | ||
864 | + m_CorrespondingSourceObject: {fileID: 0} | ||
865 | + m_PrefabInstance: {fileID: 0} | ||
866 | + m_PrefabAsset: {fileID: 0} | ||
867 | + m_GameObject: {fileID: 705507993} | ||
868 | + m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} | ||
869 | + m_LocalPosition: {x: 0, y: 3, z: 0} | ||
870 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
871 | + m_Children: [] | ||
872 | + m_Father: {fileID: 0} | ||
873 | + m_RootOrder: 0 | ||
874 | + m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} | ||
875 | +--- !u!1 &916142314 | ||
876 | +GameObject: | ||
877 | + m_ObjectHideFlags: 0 | ||
878 | + m_CorrespondingSourceObject: {fileID: 0} | ||
879 | + m_PrefabInstance: {fileID: 0} | ||
880 | + m_PrefabAsset: {fileID: 0} | ||
881 | + serializedVersion: 6 | ||
882 | + m_Component: | ||
883 | + - component: {fileID: 916142315} | ||
884 | + - component: {fileID: 916142318} | ||
885 | + - component: {fileID: 916142317} | ||
886 | + - component: {fileID: 916142316} | ||
887 | + m_Layer: 5 | ||
888 | + m_Name: Start/Stop | ||
889 | + m_TagString: Untagged | ||
890 | + m_Icon: {fileID: 0} | ||
891 | + m_NavMeshLayer: 0 | ||
892 | + m_StaticEditorFlags: 0 | ||
893 | + m_IsActive: 1 | ||
894 | +--- !u!224 &916142315 | ||
895 | +RectTransform: | ||
896 | + m_ObjectHideFlags: 0 | ||
897 | + m_CorrespondingSourceObject: {fileID: 0} | ||
898 | + m_PrefabInstance: {fileID: 0} | ||
899 | + m_PrefabAsset: {fileID: 0} | ||
900 | + m_GameObject: {fileID: 916142314} | ||
901 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
902 | + m_LocalPosition: {x: 0, y: 0, z: 10} | ||
903 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
904 | + m_Children: | ||
905 | + - {fileID: 91670564} | ||
906 | + m_Father: {fileID: 366288481} | ||
907 | + m_RootOrder: 0 | ||
908 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
909 | + m_AnchorMin: {x: 0.5, y: 0.5} | ||
910 | + m_AnchorMax: {x: 0.5, y: 0.5} | ||
911 | + m_AnchoredPosition: {x: -251, y: -177} | ||
912 | + m_SizeDelta: {x: 160, y: 30} | ||
913 | + m_Pivot: {x: 0.5, y: 0.5} | ||
914 | +--- !u!114 &916142316 | ||
915 | +MonoBehaviour: | ||
916 | + m_ObjectHideFlags: 0 | ||
917 | + m_CorrespondingSourceObject: {fileID: 0} | ||
918 | + m_PrefabInstance: {fileID: 0} | ||
919 | + m_PrefabAsset: {fileID: 0} | ||
920 | + m_GameObject: {fileID: 916142314} | ||
921 | + m_Enabled: 1 | ||
922 | + m_EditorHideFlags: 0 | ||
923 | + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} | ||
924 | + m_Name: | ||
925 | + m_EditorClassIdentifier: | ||
926 | + m_Navigation: | ||
927 | + m_Mode: 3 | ||
928 | + m_SelectOnUp: {fileID: 0} | ||
929 | + m_SelectOnDown: {fileID: 0} | ||
930 | + m_SelectOnLeft: {fileID: 0} | ||
931 | + m_SelectOnRight: {fileID: 0} | ||
932 | + m_Transition: 1 | ||
933 | + m_Colors: | ||
934 | + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} | ||
935 | + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} | ||
936 | + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} | ||
937 | + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} | ||
938 | + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} | ||
939 | + m_ColorMultiplier: 1 | ||
940 | + m_FadeDuration: 0.1 | ||
941 | + m_SpriteState: | ||
942 | + m_HighlightedSprite: {fileID: 0} | ||
943 | + m_PressedSprite: {fileID: 0} | ||
944 | + m_SelectedSprite: {fileID: 0} | ||
945 | + m_DisabledSprite: {fileID: 0} | ||
946 | + m_AnimationTriggers: | ||
947 | + m_NormalTrigger: Normal | ||
948 | + m_HighlightedTrigger: Highlighted | ||
949 | + m_PressedTrigger: Pressed | ||
950 | + m_SelectedTrigger: Selected | ||
951 | + m_DisabledTrigger: Disabled | ||
952 | + m_Interactable: 1 | ||
953 | + m_TargetGraphic: {fileID: 916142317} | ||
954 | + m_OnClick: | ||
955 | + m_PersistentCalls: | ||
956 | + m_Calls: [] | ||
957 | +--- !u!114 &916142317 | ||
958 | +MonoBehaviour: | ||
959 | + m_ObjectHideFlags: 0 | ||
960 | + m_CorrespondingSourceObject: {fileID: 0} | ||
961 | + m_PrefabInstance: {fileID: 0} | ||
962 | + m_PrefabAsset: {fileID: 0} | ||
963 | + m_GameObject: {fileID: 916142314} | ||
964 | + m_Enabled: 1 | ||
965 | + m_EditorHideFlags: 0 | ||
966 | + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} | ||
967 | + m_Name: | ||
968 | + m_EditorClassIdentifier: | ||
969 | + m_Material: {fileID: 0} | ||
970 | + m_Color: {r: 1, g: 1, b: 1, a: 1} | ||
971 | + m_RaycastTarget: 1 | ||
972 | + m_Maskable: 1 | ||
973 | + m_OnCullStateChanged: | ||
974 | + m_PersistentCalls: | ||
975 | + m_Calls: [] | ||
976 | + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} | ||
977 | + m_Type: 1 | ||
978 | + m_PreserveAspect: 0 | ||
979 | + m_FillCenter: 1 | ||
980 | + m_FillMethod: 4 | ||
981 | + m_FillAmount: 1 | ||
982 | + m_FillClockwise: 1 | ||
983 | + m_FillOrigin: 0 | ||
984 | + m_UseSpriteMesh: 0 | ||
985 | + m_PixelsPerUnitMultiplier: 1 | ||
986 | +--- !u!222 &916142318 | ||
987 | +CanvasRenderer: | ||
988 | + m_ObjectHideFlags: 0 | ||
989 | + m_CorrespondingSourceObject: {fileID: 0} | ||
990 | + m_PrefabInstance: {fileID: 0} | ||
991 | + m_PrefabAsset: {fileID: 0} | ||
992 | + m_GameObject: {fileID: 916142314} | ||
993 | + m_CullTransparentMesh: 0 | ||
994 | +--- !u!1 &1114040580 | ||
995 | +GameObject: | ||
996 | + m_ObjectHideFlags: 0 | ||
997 | + m_CorrespondingSourceObject: {fileID: 0} | ||
998 | + m_PrefabInstance: {fileID: 0} | ||
999 | + m_PrefabAsset: {fileID: 0} | ||
1000 | + serializedVersion: 6 | ||
1001 | + m_Component: | ||
1002 | + - component: {fileID: 1114040585} | ||
1003 | + - component: {fileID: 1114040581} | ||
1004 | + - component: {fileID: 1114040584} | ||
1005 | + - component: {fileID: 1114040583} | ||
1006 | + - component: {fileID: 1114040582} | ||
1007 | + m_Layer: 0 | ||
1008 | + m_Name: AR Camera | ||
1009 | + m_TagString: MainCamera | ||
1010 | + m_Icon: {fileID: 0} | ||
1011 | + m_NavMeshLayer: 0 | ||
1012 | + m_StaticEditorFlags: 0 | ||
1013 | + m_IsActive: 1 | ||
1014 | +--- !u!20 &1114040581 | ||
1015 | +Camera: | ||
1016 | + m_ObjectHideFlags: 0 | ||
1017 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1018 | + m_PrefabInstance: {fileID: 0} | ||
1019 | + m_PrefabAsset: {fileID: 0} | ||
1020 | + m_GameObject: {fileID: 1114040580} | ||
1021 | + m_Enabled: 1 | ||
1022 | + serializedVersion: 2 | ||
1023 | + m_ClearFlags: 2 | ||
1024 | + m_BackGroundColor: {r: 0, g: 0, b: 0, a: 1} | ||
1025 | + m_projectionMatrixMode: 1 | ||
1026 | + m_GateFitMode: 2 | ||
1027 | + m_FOVAxisMode: 0 | ||
1028 | + m_SensorSize: {x: 36, y: 24} | ||
1029 | + m_LensShift: {x: 0, y: 0} | ||
1030 | + m_FocalLength: 50 | ||
1031 | + m_NormalizedViewPortRect: | ||
1032 | + serializedVersion: 2 | ||
1033 | + x: 0 | ||
1034 | + y: 0 | ||
1035 | + width: 1 | ||
1036 | + height: 1 | ||
1037 | + near clip plane: 0.1 | ||
1038 | + far clip plane: 20 | ||
1039 | + field of view: 60 | ||
1040 | + orthographic: 0 | ||
1041 | + orthographic size: 5 | ||
1042 | + m_Depth: 0 | ||
1043 | + m_CullingMask: | ||
1044 | + serializedVersion: 2 | ||
1045 | + m_Bits: 4294967295 | ||
1046 | + m_RenderingPath: -1 | ||
1047 | + m_TargetTexture: {fileID: 0} | ||
1048 | + m_TargetDisplay: 0 | ||
1049 | + m_TargetEye: 3 | ||
1050 | + m_HDR: 1 | ||
1051 | + m_AllowMSAA: 1 | ||
1052 | + m_AllowDynamicResolution: 0 | ||
1053 | + m_ForceIntoRT: 0 | ||
1054 | + m_OcclusionCulling: 1 | ||
1055 | + m_StereoConvergence: 10 | ||
1056 | + m_StereoSeparation: 0.022 | ||
1057 | +--- !u!114 &1114040582 | ||
1058 | +MonoBehaviour: | ||
1059 | + m_ObjectHideFlags: 0 | ||
1060 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1061 | + m_PrefabInstance: {fileID: 0} | ||
1062 | + m_PrefabAsset: {fileID: 0} | ||
1063 | + m_GameObject: {fileID: 1114040580} | ||
1064 | + m_Enabled: 1 | ||
1065 | + m_EditorHideFlags: 0 | ||
1066 | + m_Script: {fileID: 11500000, guid: 816b289ef451e094f9ae174fb4cf8db0, type: 3} | ||
1067 | + m_Name: | ||
1068 | + m_EditorClassIdentifier: | ||
1069 | + m_UseCustomMaterial: 0 | ||
1070 | + m_CustomMaterial: {fileID: 0} | ||
1071 | + m_UseCustomRendererAsset: 0 | ||
1072 | + m_CustomRendererAsset: {fileID: 0} | ||
1073 | +--- !u!114 &1114040583 | ||
1074 | +MonoBehaviour: | ||
1075 | + m_ObjectHideFlags: 0 | ||
1076 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1077 | + m_PrefabInstance: {fileID: 0} | ||
1078 | + m_PrefabAsset: {fileID: 0} | ||
1079 | + m_GameObject: {fileID: 1114040580} | ||
1080 | + m_Enabled: 1 | ||
1081 | + m_EditorHideFlags: 0 | ||
1082 | + m_Script: {fileID: 11500000, guid: 4966719baa26e4b0e8231a24d9bd491a, type: 3} | ||
1083 | + m_Name: | ||
1084 | + m_EditorClassIdentifier: | ||
1085 | + m_FocusMode: 1 | ||
1086 | + m_LightEstimationMode: 0 | ||
1087 | +--- !u!114 &1114040584 | ||
1088 | +MonoBehaviour: | ||
1089 | + m_ObjectHideFlags: 0 | ||
1090 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1091 | + m_PrefabInstance: {fileID: 0} | ||
1092 | + m_PrefabAsset: {fileID: 0} | ||
1093 | + m_GameObject: {fileID: 1114040580} | ||
1094 | + m_Enabled: 1 | ||
1095 | + m_EditorHideFlags: 0 | ||
1096 | + m_Script: {fileID: 11500000, guid: 5a2a9c34df4095f47b9ca8f975175f5b, type: 3} | ||
1097 | + m_Name: | ||
1098 | + m_EditorClassIdentifier: | ||
1099 | + m_Device: 0 | ||
1100 | + m_PoseSource: 6 | ||
1101 | + m_PoseProviderComponent: {fileID: 0} | ||
1102 | + m_TrackingType: 0 | ||
1103 | + m_UpdateType: 0 | ||
1104 | + m_UseRelativeTransform: 0 | ||
1105 | +--- !u!4 &1114040585 | ||
1106 | +Transform: | ||
1107 | + m_ObjectHideFlags: 0 | ||
1108 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1109 | + m_PrefabInstance: {fileID: 0} | ||
1110 | + m_PrefabAsset: {fileID: 0} | ||
1111 | + m_GameObject: {fileID: 1114040580} | ||
1112 | + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||
1113 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
1114 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
1115 | + m_Children: | ||
1116 | + - {fileID: 60527767} | ||
1117 | + m_Father: {fileID: 40919619} | ||
1118 | + m_RootOrder: 0 | ||
1119 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
1120 | +--- !u!1 &1577749883 | ||
1121 | +GameObject: | ||
1122 | + m_ObjectHideFlags: 0 | ||
1123 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1124 | + m_PrefabInstance: {fileID: 0} | ||
1125 | + m_PrefabAsset: {fileID: 0} | ||
1126 | + serializedVersion: 6 | ||
1127 | + m_Component: | ||
1128 | + - component: {fileID: 1577749885} | ||
1129 | + - component: {fileID: 1577749884} | ||
1130 | + m_Layer: 0 | ||
1131 | + m_Name: Interaction | ||
1132 | + m_TagString: Untagged | ||
1133 | + m_Icon: {fileID: 0} | ||
1134 | + m_NavMeshLayer: 0 | ||
1135 | + m_StaticEditorFlags: 0 | ||
1136 | + m_IsActive: 1 | ||
1137 | +--- !u!114 &1577749884 | ||
1138 | +MonoBehaviour: | ||
1139 | + m_ObjectHideFlags: 0 | ||
1140 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1141 | + m_PrefabInstance: {fileID: 0} | ||
1142 | + m_PrefabAsset: {fileID: 0} | ||
1143 | + m_GameObject: {fileID: 1577749883} | ||
1144 | + m_Enabled: 1 | ||
1145 | + m_EditorHideFlags: 0 | ||
1146 | + m_Script: {fileID: 11500000, guid: 5b2e7c22494424549bed4b3f481585dc, type: 3} | ||
1147 | + m_Name: | ||
1148 | + m_EditorClassIdentifier: | ||
1149 | + objectToPlace: {fileID: 275043505709825487, guid: e93862c196e3d4941a028a74fbb079a6, | ||
1150 | + type: 3} | ||
1151 | + placementIndicator: {fileID: 165585583} | ||
1152 | +--- !u!4 &1577749885 | ||
1153 | +Transform: | ||
1154 | + m_ObjectHideFlags: 0 | ||
1155 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1156 | + m_PrefabInstance: {fileID: 0} | ||
1157 | + m_PrefabAsset: {fileID: 0} | ||
1158 | + m_GameObject: {fileID: 1577749883} | ||
1159 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
1160 | + m_LocalPosition: {x: -0.00013267249, y: 0.00038051978, z: -0.00013267249} | ||
1161 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
1162 | + m_Children: [] | ||
1163 | + m_Father: {fileID: 0} | ||
1164 | + m_RootOrder: 4 | ||
1165 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
1166 | +--- !u!1 &2005763622 | ||
1167 | +GameObject: | ||
1168 | + m_ObjectHideFlags: 0 | ||
1169 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1170 | + m_PrefabInstance: {fileID: 0} | ||
1171 | + m_PrefabAsset: {fileID: 0} | ||
1172 | + serializedVersion: 6 | ||
1173 | + m_Component: | ||
1174 | + - component: {fileID: 2005763623} | ||
1175 | + - component: {fileID: 2005763625} | ||
1176 | + - component: {fileID: 2005763624} | ||
1177 | + m_Layer: 5 | ||
1178 | + m_Name: Text | ||
1179 | + m_TagString: Untagged | ||
1180 | + m_Icon: {fileID: 0} | ||
1181 | + m_NavMeshLayer: 0 | ||
1182 | + m_StaticEditorFlags: 0 | ||
1183 | + m_IsActive: 1 | ||
1184 | +--- !u!224 &2005763623 | ||
1185 | +RectTransform: | ||
1186 | + m_ObjectHideFlags: 0 | ||
1187 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1188 | + m_PrefabInstance: {fileID: 0} | ||
1189 | + m_PrefabAsset: {fileID: 0} | ||
1190 | + m_GameObject: {fileID: 2005763622} | ||
1191 | + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} | ||
1192 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
1193 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
1194 | + m_Children: [] | ||
1195 | + m_Father: {fileID: 295702586} | ||
1196 | + m_RootOrder: 0 | ||
1197 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
1198 | + m_AnchorMin: {x: 0, y: 0} | ||
1199 | + m_AnchorMax: {x: 1, y: 1} | ||
1200 | + m_AnchoredPosition: {x: 0, y: 0} | ||
1201 | + m_SizeDelta: {x: 0, y: 0} | ||
1202 | + m_Pivot: {x: 0.5, y: 0.5} | ||
1203 | +--- !u!114 &2005763624 | ||
1204 | +MonoBehaviour: | ||
1205 | + m_ObjectHideFlags: 0 | ||
1206 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1207 | + m_PrefabInstance: {fileID: 0} | ||
1208 | + m_PrefabAsset: {fileID: 0} | ||
1209 | + m_GameObject: {fileID: 2005763622} | ||
1210 | + m_Enabled: 1 | ||
1211 | + m_EditorHideFlags: 0 | ||
1212 | + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} | ||
1213 | + m_Name: | ||
1214 | + m_EditorClassIdentifier: | ||
1215 | + m_Material: {fileID: 0} | ||
1216 | + m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} | ||
1217 | + m_RaycastTarget: 1 | ||
1218 | + m_Maskable: 1 | ||
1219 | + m_OnCullStateChanged: | ||
1220 | + m_PersistentCalls: | ||
1221 | + m_Calls: [] | ||
1222 | + m_FontData: | ||
1223 | + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} | ||
1224 | + m_FontSize: 14 | ||
1225 | + m_FontStyle: 0 | ||
1226 | + m_BestFit: 0 | ||
1227 | + m_MinSize: 10 | ||
1228 | + m_MaxSize: 40 | ||
1229 | + m_Alignment: 4 | ||
1230 | + m_AlignByGeometry: 0 | ||
1231 | + m_RichText: 1 | ||
1232 | + m_HorizontalOverflow: 0 | ||
1233 | + m_VerticalOverflow: 0 | ||
1234 | + m_LineSpacing: 1 | ||
1235 | + m_Text: Button | ||
1236 | +--- !u!222 &2005763625 | ||
1237 | +CanvasRenderer: | ||
1238 | + m_ObjectHideFlags: 0 | ||
1239 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1240 | + m_PrefabInstance: {fileID: 0} | ||
1241 | + m_PrefabAsset: {fileID: 0} | ||
1242 | + m_GameObject: {fileID: 2005763622} | ||
1243 | + m_CullTransparentMesh: 0 | ||
1244 | +--- !u!1 &2048318143 | ||
1245 | +GameObject: | ||
1246 | + m_ObjectHideFlags: 0 | ||
1247 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1248 | + m_PrefabInstance: {fileID: 0} | ||
1249 | + m_PrefabAsset: {fileID: 0} | ||
1250 | + serializedVersion: 6 | ||
1251 | + m_Component: | ||
1252 | + - component: {fileID: 2048318146} | ||
1253 | + - component: {fileID: 2048318145} | ||
1254 | + - component: {fileID: 2048318144} | ||
1255 | + m_Layer: 0 | ||
1256 | + m_Name: EventSystem | ||
1257 | + m_TagString: Untagged | ||
1258 | + m_Icon: {fileID: 0} | ||
1259 | + m_NavMeshLayer: 0 | ||
1260 | + m_StaticEditorFlags: 0 | ||
1261 | + m_IsActive: 1 | ||
1262 | +--- !u!114 &2048318144 | ||
1263 | +MonoBehaviour: | ||
1264 | + m_ObjectHideFlags: 0 | ||
1265 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1266 | + m_PrefabInstance: {fileID: 0} | ||
1267 | + m_PrefabAsset: {fileID: 0} | ||
1268 | + m_GameObject: {fileID: 2048318143} | ||
1269 | + m_Enabled: 1 | ||
1270 | + m_EditorHideFlags: 0 | ||
1271 | + m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} | ||
1272 | + m_Name: | ||
1273 | + m_EditorClassIdentifier: | ||
1274 | + m_HorizontalAxis: Horizontal | ||
1275 | + m_VerticalAxis: Vertical | ||
1276 | + m_SubmitButton: Submit | ||
1277 | + m_CancelButton: Cancel | ||
1278 | + m_InputActionsPerSecond: 10 | ||
1279 | + m_RepeatDelay: 0.5 | ||
1280 | + m_ForceModuleActive: 0 | ||
1281 | +--- !u!114 &2048318145 | ||
1282 | +MonoBehaviour: | ||
1283 | + m_ObjectHideFlags: 0 | ||
1284 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1285 | + m_PrefabInstance: {fileID: 0} | ||
1286 | + m_PrefabAsset: {fileID: 0} | ||
1287 | + m_GameObject: {fileID: 2048318143} | ||
1288 | + m_Enabled: 1 | ||
1289 | + m_EditorHideFlags: 0 | ||
1290 | + m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} | ||
1291 | + m_Name: | ||
1292 | + m_EditorClassIdentifier: | ||
1293 | + m_FirstSelected: {fileID: 0} | ||
1294 | + m_sendNavigationEvents: 1 | ||
1295 | + m_DragThreshold: 10 | ||
1296 | +--- !u!4 &2048318146 | ||
1297 | +Transform: | ||
1298 | + m_ObjectHideFlags: 0 | ||
1299 | + m_CorrespondingSourceObject: {fileID: 0} | ||
1300 | + m_PrefabInstance: {fileID: 0} | ||
1301 | + m_PrefabAsset: {fileID: 0} | ||
1302 | + m_GameObject: {fileID: 2048318143} | ||
1303 | + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
1304 | + m_LocalPosition: {x: 0, y: 0, z: 0} | ||
1305 | + m_LocalScale: {x: 1, y: 1, z: 1} | ||
1306 | + m_Children: [] | ||
1307 | + m_Father: {fileID: 0} | ||
1308 | + m_RootOrder: 5 | ||
1309 | + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
프로젝트/NewAndFurious/Assets/XR.meta
0 → 100644
프로젝트/NewAndFurious/Assets/XR/Loaders.meta
0 → 100644
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!114 &11400000 | ||
4 | +MonoBehaviour: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + m_GameObject: {fileID: 0} | ||
10 | + m_Enabled: 1 | ||
11 | + m_EditorHideFlags: 0 | ||
12 | + m_Script: {fileID: 11500000, guid: 06042c85f885b4d1886f3ca5a1074eca, type: 3} | ||
13 | + m_Name: AR Core Loader | ||
14 | + m_EditorClassIdentifier: |
프로젝트/NewAndFurious/Assets/XR/Settings.meta
0 → 100644
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!114 &11400000 | ||
4 | +MonoBehaviour: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + m_GameObject: {fileID: 0} | ||
10 | + m_Enabled: 1 | ||
11 | + m_EditorHideFlags: 0 | ||
12 | + m_Script: {fileID: 11500000, guid: 00cb13c61b2744fd786f9f969ce96149, type: 3} | ||
13 | + m_Name: AR Core Loader Settings | ||
14 | + m_EditorClassIdentifier: | ||
15 | + m_StartAndStopSubsystems: 0 |
1 | +%YAML 1.1 | ||
2 | +%TAG !u! tag:unity3d.com,2011: | ||
3 | +--- !u!114 &-3492707309148798384 | ||
4 | +MonoBehaviour: | ||
5 | + m_ObjectHideFlags: 0 | ||
6 | + m_CorrespondingSourceObject: {fileID: 0} | ||
7 | + m_PrefabInstance: {fileID: 0} | ||
8 | + m_PrefabAsset: {fileID: 0} | ||
9 | + m_GameObject: {fileID: 0} | ||
10 | + m_Enabled: 1 | ||
11 | + m_EditorHideFlags: 0 | ||
12 | + m_Script: {fileID: 11500000, guid: d236b7d11115f2143951f1e14045df39, type: 3} | ||
13 | + m_Name: Android Settings | ||
14 | + m_EditorClassIdentifier: | ||
15 | + m_LoaderManagerInstance: {fileID: 2886245437578067938} | ||
16 | + m_InitManagerOnStart: 1 | ||
17 | +--- !u!114 &11400000 | ||
18 | +MonoBehaviour: | ||
19 | + m_ObjectHideFlags: 0 | ||
20 | + m_CorrespondingSourceObject: {fileID: 0} | ||
21 | + m_PrefabInstance: {fileID: 0} | ||
22 | + m_PrefabAsset: {fileID: 0} | ||
23 | + m_GameObject: {fileID: 0} | ||
24 | + m_Enabled: 1 | ||
25 | + m_EditorHideFlags: 0 | ||
26 | + m_Script: {fileID: 11500000, guid: d2dc886499c26824283350fa532d087d, type: 3} | ||
27 | + m_Name: XRGeneralSettings | ||
28 | + m_EditorClassIdentifier: | ||
29 | + Keys: 07000000 | ||
30 | + Values: | ||
31 | + - {fileID: -3492707309148798384} | ||
32 | +--- !u!114 &2886245437578067938 | ||
33 | +MonoBehaviour: | ||
34 | + m_ObjectHideFlags: 0 | ||
35 | + m_CorrespondingSourceObject: {fileID: 0} | ||
36 | + m_PrefabInstance: {fileID: 0} | ||
37 | + m_PrefabAsset: {fileID: 0} | ||
38 | + m_GameObject: {fileID: 0} | ||
39 | + m_Enabled: 1 | ||
40 | + m_EditorHideFlags: 0 | ||
41 | + m_Script: {fileID: 11500000, guid: f4c3631f5e58749a59194e0cf6baf6d5, type: 3} | ||
42 | + m_Name: Android Providers | ||
43 | + m_EditorClassIdentifier: | ||
44 | + m_RequiresSettingsUpdate: 0 | ||
45 | + m_AutomaticLoading: 0 | ||
46 | + m_AutomaticRunning: 0 | ||
47 | + m_Loaders: [] |
프로젝트/NewAndFurious/Assets/unnamed (2).jpg
0 → 100644
96.5 KB
1 | +fileFormatVersion: 2 | ||
2 | +guid: 67e4c6c70a114c846a9f096e714a499a | ||
3 | +TextureImporter: | ||
4 | + internalIDToNameTable: [] | ||
5 | + externalObjects: {} | ||
6 | + serializedVersion: 11 | ||
7 | + mipmaps: | ||
8 | + mipMapMode: 0 | ||
9 | + enableMipMap: 1 | ||
10 | + sRGBTexture: 1 | ||
11 | + linearTexture: 0 | ||
12 | + fadeOut: 0 | ||
13 | + borderMipMap: 0 | ||
14 | + mipMapsPreserveCoverage: 0 | ||
15 | + alphaTestReferenceValue: 0.5 | ||
16 | + mipMapFadeDistanceStart: 1 | ||
17 | + mipMapFadeDistanceEnd: 3 | ||
18 | + bumpmap: | ||
19 | + convertToNormalMap: 0 | ||
20 | + externalNormalMap: 0 | ||
21 | + heightScale: 0.25 | ||
22 | + normalMapFilter: 0 | ||
23 | + isReadable: 0 | ||
24 | + streamingMipmaps: 0 | ||
25 | + streamingMipmapsPriority: 0 | ||
26 | + grayScaleToAlpha: 0 | ||
27 | + generateCubemap: 6 | ||
28 | + cubemapConvolution: 0 | ||
29 | + seamlessCubemap: 0 | ||
30 | + textureFormat: 1 | ||
31 | + maxTextureSize: 2048 | ||
32 | + textureSettings: | ||
33 | + serializedVersion: 2 | ||
34 | + filterMode: -1 | ||
35 | + aniso: -1 | ||
36 | + mipBias: -100 | ||
37 | + wrapU: -1 | ||
38 | + wrapV: -1 | ||
39 | + wrapW: -1 | ||
40 | + nPOTScale: 1 | ||
41 | + lightmap: 0 | ||
42 | + compressionQuality: 50 | ||
43 | + spriteMode: 0 | ||
44 | + spriteExtrude: 1 | ||
45 | + spriteMeshType: 1 | ||
46 | + alignment: 0 | ||
47 | + spritePivot: {x: 0.5, y: 0.5} | ||
48 | + spritePixelsToUnits: 100 | ||
49 | + spriteBorder: {x: 0, y: 0, z: 0, w: 0} | ||
50 | + spriteGenerateFallbackPhysicsShape: 1 | ||
51 | + alphaUsage: 1 | ||
52 | + alphaIsTransparency: 0 | ||
53 | + spriteTessellationDetail: -1 | ||
54 | + textureType: 0 | ||
55 | + textureShape: 1 | ||
56 | + singleChannelComponent: 0 | ||
57 | + maxTextureSizeSet: 0 | ||
58 | + compressionQualitySet: 0 | ||
59 | + textureFormatSet: 0 | ||
60 | + applyGammaDecoding: 0 | ||
61 | + platformSettings: | ||
62 | + - serializedVersion: 3 | ||
63 | + buildTarget: DefaultTexturePlatform | ||
64 | + maxTextureSize: 2048 | ||
65 | + resizeAlgorithm: 0 | ||
66 | + textureFormat: -1 | ||
67 | + textureCompression: 1 | ||
68 | + compressionQuality: 50 | ||
69 | + crunchedCompression: 0 | ||
70 | + allowsAlphaSplitting: 0 | ||
71 | + overridden: 0 | ||
72 | + androidETC2FallbackOverride: 0 | ||
73 | + forceMaximumCompressionQuality_BC6H_BC7: 0 | ||
74 | + spriteSheet: | ||
75 | + serializedVersion: 2 | ||
76 | + sprites: [] | ||
77 | + outline: [] | ||
78 | + physicsShape: [] | ||
79 | + bones: [] | ||
80 | + spriteID: | ||
81 | + internalID: 0 | ||
82 | + vertices: [] | ||
83 | + indices: | ||
84 | + edges: [] | ||
85 | + weights: [] | ||
86 | + secondaryTextures: [] | ||
87 | + spritePackingTag: | ||
88 | + pSDRemoveMatte: 0 | ||
89 | + pSDShowRemoveMatteOption: 0 | ||
90 | + userData: | ||
91 | + assetBundleName: | ||
92 | + assetBundleVariant: |
1 | +//----------------------------------------------------------------------- | ||
2 | +// <copyright file="DetectedPlaneVisualizer.cs" company="Google"> | ||
3 | +// | ||
4 | +// Copyright 2017 Google Inc. All Rights Reserved. | ||
5 | +// | ||
6 | +// Licensed under the Apache License, Version 2.0 (the "License"); | ||
7 | +// you may not use this file except in compliance with the License. | ||
8 | +// You may obtain a copy of the License at | ||
9 | +// | ||
10 | +// http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | +// | ||
12 | +// Unless required by applicable law or agreed to in writing, software | ||
13 | +// distributed under the License is distributed on an "AS IS" BASIS, | ||
14 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
15 | +// See the License for the specific language governing permissions and | ||
16 | +// limitations under the License. | ||
17 | +// | ||
18 | +// </copyright> | ||
19 | +//----------------------------------------------------------------------- | ||
20 | + | ||
21 | +namespace GoogleARCore.Examples.Common | ||
22 | +{ | ||
23 | + using System.Collections.Generic; | ||
24 | + using GoogleARCore; | ||
25 | + using UnityEngine; | ||
26 | + | ||
27 | + /// <summary> | ||
28 | + /// Visualizes a single DetectedPlane in the Unity scene. | ||
29 | + /// </summary> | ||
30 | + public class DetectedPlaneVisualizer : MonoBehaviour | ||
31 | + { | ||
32 | + private static int s_PlaneCount = 0; | ||
33 | + | ||
34 | + private readonly Color[] k_PlaneColors = new Color[] | ||
35 | + { | ||
36 | + new Color(1.0f, 1.0f, 1.0f), | ||
37 | + new Color(0.956f, 0.262f, 0.211f), | ||
38 | + new Color(0.913f, 0.117f, 0.388f), | ||
39 | + new Color(0.611f, 0.152f, 0.654f), | ||
40 | + new Color(0.403f, 0.227f, 0.717f), | ||
41 | + new Color(0.247f, 0.317f, 0.709f), | ||
42 | + new Color(0.129f, 0.588f, 0.952f), | ||
43 | + new Color(0.011f, 0.662f, 0.956f), | ||
44 | + new Color(0f, 0.737f, 0.831f), | ||
45 | + new Color(0f, 0.588f, 0.533f), | ||
46 | + new Color(0.298f, 0.686f, 0.313f), | ||
47 | + new Color(0.545f, 0.764f, 0.290f), | ||
48 | + new Color(0.803f, 0.862f, 0.223f), | ||
49 | + new Color(1.0f, 0.921f, 0.231f), | ||
50 | + new Color(1.0f, 0.756f, 0.027f) | ||
51 | + }; | ||
52 | + | ||
53 | + private DetectedPlane m_DetectedPlane; | ||
54 | + | ||
55 | + // Keep previous frame's mesh polygon to avoid mesh update every frame. | ||
56 | + private List<Vector3> m_PreviousFrameMeshVertices = new List<Vector3>(); | ||
57 | + private List<Vector3> m_MeshVertices = new List<Vector3>(); | ||
58 | + private Vector3 m_PlaneCenter = new Vector3(); | ||
59 | + | ||
60 | + private List<Color> m_MeshColors = new List<Color>(); | ||
61 | + | ||
62 | + private List<int> m_MeshIndices = new List<int>(); | ||
63 | + | ||
64 | + private Mesh m_Mesh; | ||
65 | + | ||
66 | + private MeshRenderer m_MeshRenderer; | ||
67 | + private MeshCollider ar_meshCollider; //Abdul | ||
68 | + | ||
69 | + /// <summary> | ||
70 | + /// The Unity Awake() method. | ||
71 | + /// </summary> | ||
72 | + public void Awake() | ||
73 | + { | ||
74 | + m_Mesh = GetComponent<MeshFilter>().mesh; | ||
75 | + m_MeshRenderer = GetComponent<UnityEngine.MeshRenderer>(); | ||
76 | + ar_meshCollider = GetComponent<MeshCollider>(); //Abdul | ||
77 | + } | ||
78 | + | ||
79 | + /// <summary> | ||
80 | + /// The Unity Update() method. | ||
81 | + /// </summary> | ||
82 | + public void Update() | ||
83 | + { | ||
84 | + if (m_DetectedPlane == null) | ||
85 | + { | ||
86 | + return; | ||
87 | + } | ||
88 | + else if (m_DetectedPlane.SubsumedBy != null) | ||
89 | + { | ||
90 | + Destroy(gameObject); | ||
91 | + return; | ||
92 | + } | ||
93 | + else if (m_DetectedPlane.TrackingState != TrackingState.Tracking) | ||
94 | + { | ||
95 | + m_MeshRenderer.enabled = false; | ||
96 | + return; | ||
97 | + } | ||
98 | + | ||
99 | + m_MeshRenderer.enabled = true; | ||
100 | + | ||
101 | + _UpdateMeshIfNeeded(); | ||
102 | + } | ||
103 | + | ||
104 | + /// <summary> | ||
105 | + /// Initializes the DetectedPlaneVisualizer with a DetectedPlane. | ||
106 | + /// </summary> | ||
107 | + /// <param name="plane">The plane to vizualize.</param> | ||
108 | + public void Initialize(DetectedPlane plane) | ||
109 | + { | ||
110 | + m_DetectedPlane = plane; | ||
111 | + m_MeshRenderer.material.SetColor( | ||
112 | + "_GridColor", k_PlaneColors[s_PlaneCount++ % k_PlaneColors.Length]); | ||
113 | + m_MeshRenderer.material.SetFloat("_UvRotation", Random.Range(0.0f, 360.0f)); | ||
114 | + | ||
115 | + Update(); | ||
116 | + } | ||
117 | + | ||
118 | + /// <summary> | ||
119 | + /// Update mesh with a list of Vector3 and plane's center position. | ||
120 | + /// </summary> | ||
121 | + private void _UpdateMeshIfNeeded() | ||
122 | + { | ||
123 | + m_DetectedPlane.GetBoundaryPolygon(m_MeshVertices); | ||
124 | + | ||
125 | + if (_AreVerticesListsEqual(m_PreviousFrameMeshVertices, m_MeshVertices)) | ||
126 | + { | ||
127 | + return; | ||
128 | + } | ||
129 | + | ||
130 | + m_PreviousFrameMeshVertices.Clear(); | ||
131 | + m_PreviousFrameMeshVertices.AddRange(m_MeshVertices); | ||
132 | + | ||
133 | + m_PlaneCenter = m_DetectedPlane.CenterPose.position; | ||
134 | + | ||
135 | + Vector3 planeNormal = m_DetectedPlane.CenterPose.rotation * Vector3.up; | ||
136 | + | ||
137 | + m_MeshRenderer.material.SetVector("_PlaneNormal", planeNormal); | ||
138 | + | ||
139 | + int planePolygonCount = m_MeshVertices.Count; | ||
140 | + | ||
141 | + // The following code converts a polygon to a mesh with two polygons, inner polygon | ||
142 | + // renders with 100% opacity and fade out to outter polygon with opacity 0%, as shown | ||
143 | + // below. The indices shown in the diagram are used in comments below. | ||
144 | + // _______________ 0_______________1 | ||
145 | + // | | |4___________5| | ||
146 | + // | | | | | | | ||
147 | + // | | => | | | | | ||
148 | + // | | | | | | | ||
149 | + // | | |7-----------6| | ||
150 | + // --------------- 3---------------2 | ||
151 | + m_MeshColors.Clear(); | ||
152 | + | ||
153 | + // Fill transparent color to vertices 0 to 3. | ||
154 | + for (int i = 0; i < planePolygonCount; ++i) | ||
155 | + { | ||
156 | + m_MeshColors.Add(Color.clear); | ||
157 | + } | ||
158 | + | ||
159 | + // Feather distance 0.2 meters. | ||
160 | + const float featherLength = 0.2f; | ||
161 | + | ||
162 | + // Feather scale over the distance between plane center and vertices. | ||
163 | + const float featherScale = 0.2f; | ||
164 | + | ||
165 | + // Add vertex 4 to 7. | ||
166 | + for (int i = 0; i < planePolygonCount; ++i) | ||
167 | + { | ||
168 | + Vector3 v = m_MeshVertices[i]; | ||
169 | + | ||
170 | + // Vector from plane center to current point | ||
171 | + Vector3 d = v - m_PlaneCenter; | ||
172 | + | ||
173 | + float scale = 1.0f - Mathf.Min(featherLength / d.magnitude, featherScale); | ||
174 | + m_MeshVertices.Add((scale * d) + m_PlaneCenter); | ||
175 | + | ||
176 | + m_MeshColors.Add(Color.white); | ||
177 | + } | ||
178 | + | ||
179 | + m_MeshIndices.Clear(); | ||
180 | + int firstOuterVertex = 0; | ||
181 | + int firstInnerVertex = planePolygonCount; | ||
182 | + | ||
183 | + // Generate triangle (4, 5, 6) and (4, 6, 7). | ||
184 | + for (int i = 0; i < planePolygonCount - 2; ++i) | ||
185 | + { | ||
186 | + m_MeshIndices.Add(firstInnerVertex); | ||
187 | + m_MeshIndices.Add(firstInnerVertex + i + 1); | ||
188 | + m_MeshIndices.Add(firstInnerVertex + i + 2); | ||
189 | + } | ||
190 | + | ||
191 | + // Generate triangle (0, 1, 4), (4, 1, 5), (5, 1, 2), (5, 2, 6), (6, 2, 3), (6, 3, 7) | ||
192 | + // (7, 3, 0), (7, 0, 4) | ||
193 | + for (int i = 0; i < planePolygonCount; ++i) | ||
194 | + { | ||
195 | + int outerVertex1 = firstOuterVertex + i; | ||
196 | + int outerVertex2 = firstOuterVertex + ((i + 1) % planePolygonCount); | ||
197 | + int innerVertex1 = firstInnerVertex + i; | ||
198 | + int innerVertex2 = firstInnerVertex + ((i + 1) % planePolygonCount); | ||
199 | + | ||
200 | + m_MeshIndices.Add(outerVertex1); | ||
201 | + m_MeshIndices.Add(outerVertex2); | ||
202 | + m_MeshIndices.Add(innerVertex1); | ||
203 | + | ||
204 | + m_MeshIndices.Add(innerVertex1); | ||
205 | + m_MeshIndices.Add(outerVertex2); | ||
206 | + m_MeshIndices.Add(innerVertex2); | ||
207 | + } | ||
208 | + | ||
209 | + m_Mesh.Clear(); | ||
210 | + m_Mesh.SetVertices(m_MeshVertices); | ||
211 | + m_Mesh.SetTriangles(m_MeshIndices, 0); | ||
212 | + m_Mesh.SetColors(m_MeshColors); | ||
213 | + | ||
214 | + ar_meshCollider.sharedMesh = m_Mesh; //Abdul (used for collision detection) | ||
215 | + } | ||
216 | + | ||
217 | + private bool _AreVerticesListsEqual(List<Vector3> firstList, List<Vector3> secondList) | ||
218 | + { | ||
219 | + if (firstList.Count != secondList.Count) | ||
220 | + { | ||
221 | + return false; | ||
222 | + } | ||
223 | + | ||
224 | + for (int i = 0; i < firstList.Count; i++) | ||
225 | + { | ||
226 | + if (firstList[i] != secondList[i]) | ||
227 | + { | ||
228 | + return false; | ||
229 | + } | ||
230 | + } | ||
231 | + | ||
232 | + return true; | ||
233 | + } | ||
234 | + } | ||
235 | +} |
-
Please register or login to post a comment