From 90fd0a01a0ccbeb4d2195815973d419b24588719 Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Thu, 10 Oct 2024 03:54:20 -0400 Subject: [PATCH] fix(PickupsDropsChilds Example): Improved prefabs and scene --- .../PickupsDropsChilds/PickupsDropsChilds.unity | 8 ++++---- .../Examples/PickupsDropsChilds/Prefabs/Ball.prefab | 8 ++++---- .../Examples/PickupsDropsChilds/Prefabs/Bat.prefab | 12 ++++++------ .../Examples/PickupsDropsChilds/Prefabs/Box.prefab | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Assets/Mirror/Examples/PickupsDropsChilds/PickupsDropsChilds.unity b/Assets/Mirror/Examples/PickupsDropsChilds/PickupsDropsChilds.unity index 9e496a967..1256cb9e9 100644 --- a/Assets/Mirror/Examples/PickupsDropsChilds/PickupsDropsChilds.unity +++ b/Assets/Mirror/Examples/PickupsDropsChilds/PickupsDropsChilds.unity @@ -352,7 +352,7 @@ GameObject: - component: {fileID: 1054605964} - component: {fileID: 1054605963} m_Layer: 0 - m_Name: PlayArea + m_Name: Ground m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -432,8 +432,8 @@ MeshRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1054605962} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 @@ -442,7 +442,7 @@ MeshRenderer: m_RenderingLayerMask: 4294967295 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 6eb3f3ba66756364d8b94e662e7e8af5, type: 2} + - {fileID: 2100000, guid: 29b49c27a74f145918356859bd7af511, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Ball.prefab b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Ball.prefab index f3e033566..e063b95a6 100644 --- a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Ball.prefab +++ b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Ball.prefab @@ -27,8 +27,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 8563961762736836479} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.2, y: 0.2, z: 0.2} + m_LocalPosition: {x: 0, y: 0.04, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 @@ -49,8 +49,8 @@ MeshRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 8563961762736836479} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 diff --git a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Bat.prefab b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Bat.prefab index e4049d484..6cf37583d 100644 --- a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Bat.prefab +++ b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Bat.prefab @@ -26,13 +26,13 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6507540558446839548} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.1, y: 0.2, z: 0.1} + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: 0.02, z: -0.1} + m_LocalScale: {x: 0.05, y: 0.2, z: 0.05} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} --- !u!33 &3504059701668173685 MeshFilter: m_ObjectHideFlags: 0 @@ -49,8 +49,8 @@ MeshRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6507540558446839548} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 diff --git a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Box.prefab b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Box.prefab index 4b5d8a6d7..8b6b47f70 100644 --- a/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Box.prefab +++ b/Assets/Mirror/Examples/PickupsDropsChilds/Prefabs/Box.prefab @@ -27,8 +27,8 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7003386763226572670} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.2, y: 0.2, z: 0.2} + m_LocalPosition: {x: 0, y: 0.03, z: 0} + m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} m_Children: [] m_Father: {fileID: 0} m_RootOrder: 0 @@ -49,8 +49,8 @@ MeshRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7003386763226572670} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1