integrated clickable ar content to demo scene

This commit is contained in:
Abraham Blain 2023-07-26 18:12:01 -04:00
parent 3af1d3cb53
commit c50e0813f4
8 changed files with 743 additions and 434 deletions

View File

@ -1,347 +1,5 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3377275226918760605
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5485783304458000861}
- component: {fileID: 3556156017817083409}
- component: {fileID: 26213903138351933}
- component: {fileID: 3176792281707585349}
m_Layer: 0
m_Name: box
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5485783304458000861
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3377275226918760605}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: -0.074207515, y: 0.002, z: -0.287}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7402249168475929347}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!33 &3556156017817083409
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3377275226918760605}
m_Mesh: {fileID: 5060444177187149915, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
--- !u!23 &26213903138351933
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3377275226918760605}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &3176792281707585349
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3377275226918760605}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3}
m_Name:
m_EditorClassIdentifier:
SyncPositionX: 1
SyncPositionY: 1
SyncPositionZ: 1
SyncRotAngleX: 1
SyncRotAngleY: 1
SyncRotAngleZ: 1
SyncScaleX: 1
SyncScaleY: 1
SyncScaleZ: 1
PositionThreshold: 0.001
RotAngleThreshold: 0.01
ScaleThreshold: 0.01
UseQuaternionSynchronization: 0
UseQuaternionCompression: 0
UseHalfFloatPrecision: 0
InLocalSpace: 1
Interpolate: 1
SlerpPosition: 0
--- !u!1 &4233396218196892077
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3318966672510228129}
- component: {fileID: 2912341155835996039}
- component: {fileID: 5222237285568091304}
- component: {fileID: 2891112353886512195}
m_Layer: 0
m_Name: ring
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3318966672510228129
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4233396218196892077}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0.18502346, y: 0.000984252, z: -0.13480884}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7402249168475929347}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!33 &2912341155835996039
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4233396218196892077}
m_Mesh: {fileID: -951608786083511892, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
--- !u!23 &5222237285568091304
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4233396218196892077}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &2891112353886512195
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4233396218196892077}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3}
m_Name:
m_EditorClassIdentifier:
SyncPositionX: 1
SyncPositionY: 1
SyncPositionZ: 1
SyncRotAngleX: 1
SyncRotAngleY: 1
SyncRotAngleZ: 1
SyncScaleX: 1
SyncScaleY: 1
SyncScaleZ: 1
PositionThreshold: 0.001
RotAngleThreshold: 0.01
ScaleThreshold: 0.01
UseQuaternionSynchronization: 0
UseQuaternionCompression: 0
UseHalfFloatPrecision: 0
InLocalSpace: 1
Interpolate: 1
SlerpPosition: 0
--- !u!1 &5420290355833925677
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8279054276442065816}
- component: {fileID: 8812099696508077793}
- component: {fileID: 3385445966439361575}
- component: {fileID: 1350795570115082793}
m_Layer: 0
m_Name: arrow
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8279054276442065816
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5420290355833925677}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: -0.25636378, y: 0.0029527557, z: -0.12484971}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7402249168475929347}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!33 &8812099696508077793
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5420290355833925677}
m_Mesh: {fileID: -2232952877369940510, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
--- !u!23 &3385445966439361575
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5420290355833925677}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &1350795570115082793
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5420290355833925677}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e96cb6065543e43c4a752faaa1468eb1, type: 3}
m_Name:
m_EditorClassIdentifier:
SyncPositionX: 1
SyncPositionY: 1
SyncPositionZ: 1
SyncRotAngleX: 1
SyncRotAngleY: 1
SyncRotAngleZ: 1
SyncScaleX: 1
SyncScaleY: 1
SyncScaleZ: 1
PositionThreshold: 0.001
RotAngleThreshold: 0.01
ScaleThreshold: 0.01
UseQuaternionSynchronization: 0
UseQuaternionCompression: 0
UseHalfFloatPrecision: 0
InLocalSpace: 1
Interpolate: 1
SlerpPosition: 0
--- !u!1 &5712394482908249473
GameObject:
m_ObjectHideFlags: 0
@ -372,9 +30,9 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8279054276442065816}
- {fileID: 5485783304458000861}
- {fileID: 3318966672510228129}
- {fileID: 492145882582119477}
- {fileID: 6401622216245542525}
- {fileID: 2258326434549197031}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -410,7 +68,282 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 35fd0dfbb18a59a42bf45722835aeceb, type: 3}
m_Name:
m_EditorClassIdentifier:
childMeshRenderers:
- {fileID: 26213903138351933}
- {fileID: 3385445966439361575}
- {fileID: 5222237285568091304}
childClickers:
- {fileID: 5741557176138778120}
- {fileID: 1273760836563946560}
- {fileID: 6209690015439477466}
--- !u!1001 &587271020216964223
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7402249168475929347}
m_Modifications:
- target: {fileID: 3200304953016752685, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Mesh
value:
objectReference: {fileID: 5060444177187149915, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
- target: {fileID: 4283365415450091389, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Name
value: BoxAR
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: -0.020999998
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
--- !u!114 &1273760836563946560 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1840610342772348991, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 587271020216964223}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 716d8e97a1bbba54b8ff4c23ead72f7d, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &6401622216245542525 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 587271020216964223}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &5739390713432654565
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7402249168475929347}
m_Modifications:
- target: {fileID: 3200304953016752685, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Mesh
value:
objectReference: {fileID: -951608786083511892, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
- target: {fileID: 4283365415450091389, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Name
value: RingAR
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: -0.021
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5483330319324179096, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
--- !u!4 &2258326434549197031 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 5739390713432654565}
m_PrefabAsset: {fileID: 0}
--- !u!114 &6209690015439477466 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1840610342772348991, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 5739390713432654565}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 716d8e97a1bbba54b8ff4c23ead72f7d, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &6207423247798230583
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 7402249168475929347}
m_Modifications:
- target: {fileID: 4283365415450091389, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Name
value: ArrowAR
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
--- !u!4 &492145882582119477 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 6207423247798230583}
m_PrefabAsset: {fileID: 0}
--- !u!114 &5741557176138778120 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1840610342772348991, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_PrefabInstance: {fileID: 6207423247798230583}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 716d8e97a1bbba54b8ff4c23ead72f7d, type: 3}
m_Name:
m_EditorClassIdentifier:

View File

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.18028326, g: 0.22571333, b: 0.30692202, a: 1}
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -135,6 +135,14 @@ PrefabInstance:
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 62037503446583542, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 62037503446583542, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 2301362472593170023, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_Name
value: EditorObjects
@ -179,6 +187,14 @@ PrefabInstance:
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 4732050508463854983, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 4732050508463854983, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 5406916776953705393, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMax.x
value: 0.74700004
@ -215,37 +231,45 @@ PrefabInstance:
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 5933924579405714970, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 5933924579405714970, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalPosition.x
value: -0.1051
value: -0.1591756
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalPosition.y
value: 0.2827
value: -0.70097315
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalPosition.z
value: -0.6013
value: -0.1943322
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.w
value: 0.9704773
value: 0.77075183
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.x
value: 0.19938692
value: -0.53990406
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.y
value: 0.13293882
value: 0.27708036
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.z
value: -0.027312605
value: 0.19409205
objectReference: {fileID: 0}
- target: {fileID: 6023609763215936869, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -335,6 +359,22 @@ PrefabInstance:
propertyPath: orthographic
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.w
value: 0.46564484
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.x
value: -0.5750607
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.y
value: 0.64745134
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.z
value: 0.18244688
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []

View File

@ -135,6 +135,7 @@ GameObject:
- component: {fileID: 84623876}
- component: {fileID: 84623875}
- component: {fileID: 84623874}
- component: {fileID: 84623878}
m_Layer: 6
m_Name: Cube
m_TagString: Untagged
@ -220,14 +221,132 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 84623873}
m_LocalRotation: {x: -0.30801988, y: 0.0026493112, z: -0.15098792, w: 0.9393186}
m_LocalPosition: {x: 0, y: 0.9, z: -6.41}
m_LocalRotation: {x: -0.35407314, y: -0.30750257, z: -0.2641433, w: 0.84279454}
m_LocalPosition: {x: -1.2, y: 0.9, z: -6.41}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: -35.3, y: 6.896, z: -20.46}
m_LocalEulerAnglesHint: {x: -49.4, y: -30.6, z: -20.46}
--- !u!114 &84623878
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 84623873}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fdd21f99668c94b83a6b3d5c8dbc23, type: 3}
m_Name:
m_EditorClassIdentifier:
positionClicker: {fileID: 1693151032820507894}
--- !u!1 &753472255
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 753472259}
- component: {fileID: 753472258}
- component: {fileID: 753472257}
- component: {fileID: 753472256}
m_Layer: 6
m_Name: Cube (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!65 &753472256
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 753472255}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &753472257
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 753472255}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &753472258
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 753472255}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &753472259
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 753472255}
m_LocalRotation: {x: -0.2138593, y: -0.72273237, z: 0.6108811, w: 0.24237676}
m_LocalPosition: {x: 2.1, y: 0.9, z: -6.41}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 51.2, y: -102.55, z: 75}
--- !u!1 &995904099
GameObject:
m_ObjectHideFlags: 0
@ -414,64 +533,218 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &1077607973515246793
PrefabInstance:
--- !u!33 &641134067720351700
MeshFilter:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4283365415450091389, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_Name
value: ArrowAR
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.x
value: 1.82
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.y
value: 0.356
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalPosition.z
value: -6.242
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5832520631127222786, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fc5d001b36dae68449d99f55804a3d97, type: 3}
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7164742440106274974}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &1236259722890243143
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7164742440106274974}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &1693151032820507894
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3856766388825334708}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 716d8e97a1bbba54b8ff4c23ead72f7d, type: 3}
m_Name:
m_EditorClassIdentifier:
collisionLayer:
serializedVersion: 2
m_Bits: 64
--- !u!4 &1849104977105116748
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7164742440106274974}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.05, y: 0.05, z: 0.05}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6774865344163518155}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &2494337613557507812
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4560228490934948672}
m_Mesh: {fileID: -2232952877369940510, guid: bb44050f9486f1047962ea8f68a7357d, type: 3}
--- !u!1 &3856766388825334708
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6774865344163518155}
- component: {fileID: 1693151032820507894}
m_Layer: 0
m_Name: ArrowAR
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &4560228490934948672
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4822472712002950737}
- component: {fileID: 2494337613557507812}
- component: {fileID: 6872871636325808990}
m_Layer: 0
m_Name: model
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4822472712002950737
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4560228490934948672}
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0.0244, y: -0, z: 0.27}
m_LocalScale: {x: 5, y: 5, z: 5}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 6774865344163518155}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
--- !u!4 &6774865344163518155
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3856766388825334708}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.82, y: 0.356, z: -3.829}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1849104977105116748}
- {fileID: 4822472712002950737}
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &6872871636325808990
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4560228490934948672}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 8930611814729127864, guid: f274933ed406e024291102cb9123de50, type: 3}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &7164742440106274974
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1849104977105116748}
- component: {fileID: 641134067720351700}
- component: {fileID: 1236259722890243143}
m_Layer: 0
m_Name: Center
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0

View File

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

View File

@ -29,12 +29,26 @@ namespace NetCode
}
}
public void Toggle(int index)
public void SetActiveContent(int index)
{
if (networkManager.ConnectedClients.Count == 0) return;
if (networkedParent == null) return;
networkedParent.SetActiveContent(index);
}
networkedParent.Toggle(index);
public void ResetAllContent()
{
if (networkManager.ConnectedClients.Count == 0) return;
if (networkedParent == null) return;
networkedParent.ResetAllContent();
}
public void ResetContent(int index)
{
if (networkManager.ConnectedClients.Count == 0) return;
if (networkedParent == null) return;
networkedParent.ResetContent(index);
}
}

View File

@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using Unity.Netcode;
using UnityEngine;
@ -6,29 +7,47 @@ namespace NetCode
{
public class NetworkedParent : NetworkBehaviour
{
[SerializeField] private List<MeshRenderer> childMeshRenderers = new List<MeshRenderer>();
[SerializeField] private List<PositionClicker> childClickers = new List<PositionClicker>();
private int childCount;
private int currentClickerIndex = -1;
private Vector3 outOfBoundsPosition = new Vector3(9999.0f, 9999.0f, 9999.0f);
private void Start()
{
FindObjectOfType<NetCodeSpawner>().networkedParent = this;
childCount = childMeshRenderers.Count;
childCount = childClickers.Count;
currentClickerIndex = -1;
ResetAllContent();
}
public void Toggle(int index)
private void Update()
{
if (childCount < index) return;
MeshRenderer child = childMeshRenderers[index];
child.enabled = !child.enabled;
ToggleClientRpc(index);
if (currentClickerIndex < 0) return;
if (currentClickerIndex >= childCount) return;
if(Input.GetMouseButton(0)) childClickers[currentClickerIndex].MoveToMousePosition();
}
[ClientRpc]
public void ToggleClientRpc(int index)
public void SetActiveContent(int index)
{
if (childCount < index) return;
MeshRenderer child = childMeshRenderers[index];
child.enabled = !child.enabled;
currentClickerIndex = index;
}
public void ResetAllContent()
{
for (int i = 0; i < childCount; i++)
{
ResetContent(i);
}
}
public void ResetContent(int index)
{
if (index < 0 || index >= childCount) return;
childClickers[index].transform.localPosition = outOfBoundsPosition;
}
}
}

View File

@ -0,0 +1,12 @@
using UnityEngine;
public class TestPositionClicker : MonoBehaviour
{
public PositionClicker positionClicker;
private void Update()
{
if(Input.GetMouseButton(0)) positionClicker.MoveToMousePosition();
}
}

View File

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