From 505ac24a09ae22d39aa9927171852a8ffefdc449 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Sun, 23 Feb 2025 20:03:13 +0800 Subject: [PATCH] update --- Runtime/Consts.cs | 4 +- Runtime/DebugX.cs | 62 +- Runtime/Gizmos/DebugX.lines.cs | 7 +- Runtime/Gizmos/DebugX.raycasts.cs | 32 +- Samples/Other/FakeLight.shadergraph | 1220 ++++++++++++++++++ Samples/Other/FakeLight.shadergraph.meta | 10 + Samples/Other/FakeLightMat.mat | 59 + Samples/Other/FakeLightMat.mat.meta | 8 + Samples/Other/Wall.mat | 4 +- Samples/Sample.unity | 982 +++++++++++++- Samples/Scripts/DebugXSample_Lines.cs | 12 + Samples/Scripts/DebugXSample_Other.cs | 13 + Samples/Scripts/DebugXSample_Primitives2D.cs | 13 + Samples/Scripts/DebugXSample_Primitives3D.cs | 14 + Samples/Scripts/DebugXSample_Raycasts2D.cs | 13 + Samples/Scripts/DebugXSample_Raycasts3D.cs | 13 + 16 files changed, 2370 insertions(+), 96 deletions(-) create mode 100644 Samples/Other/FakeLight.shadergraph create mode 100644 Samples/Other/FakeLight.shadergraph.meta create mode 100644 Samples/Other/FakeLightMat.mat create mode 100644 Samples/Other/FakeLightMat.mat.meta diff --git a/Runtime/Consts.cs b/Runtime/Consts.cs index 3b19e02..1df22f0 100644 --- a/Runtime/Consts.cs +++ b/Runtime/Consts.cs @@ -7,8 +7,8 @@ namespace DCFApixels { internal const MethodImplOptions LINE = MethodImplOptions.AggressiveInlining; - private const float MinTime = 0f; - private static readonly Color DefaultColor = Color.white; + private const float DEFAULT_DURATION = 0f; + private static readonly Color DEFAULT_COLOR = Color.white; private const float DOT_SIZE = DOT_RADIUS * 2f; private const float DOT_RADIUS = 0.05f; diff --git a/Runtime/DebugX.cs b/Runtime/DebugX.cs index 059aa5e..2aab7eb 100644 --- a/Runtime/DebugX.cs +++ b/Runtime/DebugX.cs @@ -197,17 +197,28 @@ namespace DCFApixels #endregion #region Draw/DrawHandler + private static float GetCurrentDefaultDuration() + { + if(GetCurrentContextController().Context.Camera == null) + { + return DEFAULT_DURATION; + } + else + { + return IMMEDIATE_DURATION; + } + } public static DrawHandler Draw() { - return new DrawHandler(MinTime, DefaultColor); + return new DrawHandler(GetCurrentDefaultDuration(), DEFAULT_COLOR); } public static DrawHandler Draw(float duration) { - return new DrawHandler(duration, DefaultColor); + return new DrawHandler(duration, DEFAULT_COLOR); } public static DrawHandler Draw(Color color) { - return new DrawHandler(MinTime, color); + return new DrawHandler(GetCurrentDefaultDuration(), color); } public static DrawHandler Draw(float duration, Color color) { @@ -456,34 +467,33 @@ namespace DCFApixels GetCurrentContextController().AddRange(values, Duration, Color); return this; } + } + private static RenderContextController GetCurrentContextController() + { + //RenderContextController controller; + //if (ContextController == null) + //{ + // controller = DrawHandler.GetCurrentContextController(); + //} + //else + //{ + // controller = ContextController; + //} + //return controller; - private static RenderContextController GetCurrentContextController() + + if (_isCameraContext) { - //RenderContextController controller; - //if (ContextController == null) - //{ - // controller = DrawHandler.GetCurrentContextController(); - //} - //else - //{ - // controller = ContextController; - //} - //return controller; - - - if (_isCameraContext) + if (_currenRenderContextControler.Context.Camera != GetCurrentCamera()) { - if (_currenRenderContextControler.Context.Camera != GetCurrentCamera()) - { - _currenRenderContextControler = RenderContextController.GetController(new RenderContext(Camera.current)); - } + _currenRenderContextControler = RenderContextController.GetController(new RenderContext(Camera.current)); } - else - { - _currenRenderContextControler = RenderContextController.StaicContextController; - } - return _currenRenderContextControler; } + else + { + _currenRenderContextControler = RenderContextController.StaicContextController; + } + return _currenRenderContextControler; } #endregion diff --git a/Runtime/Gizmos/DebugX.lines.cs b/Runtime/Gizmos/DebugX.lines.cs index d6af649..10b500a 100644 --- a/Runtime/Gizmos/DebugX.lines.cs +++ b/Runtime/Gizmos/DebugX.lines.cs @@ -15,15 +15,16 @@ namespace DCFApixels [IN(LINE)] public DrawHandler LineFade(Vector3 start, Vector3 end) { - const int StepsCount = 7; + const int StepsCount = 6; const float Step = 1f / StepsCount; + const float ColorStep = 1f / (StepsCount + 1); Color color = Color; Vector3 startPoint = start; - for (int i = 1; i < StepsCount; i++) + for (int i = 1; i <= StepsCount; i++) { Vector3 endPoint = Vector3.Lerp(start, end, i * Step); - color.a = 1f - Color.a * i * Step; + color.a = 1f - Color.a * i * ColorStep; Setup(color).Line(startPoint, endPoint); startPoint = endPoint; } diff --git a/Runtime/Gizmos/DebugX.raycasts.cs b/Runtime/Gizmos/DebugX.raycasts.cs index a572a6e..d9f63e4 100644 --- a/Runtime/Gizmos/DebugX.raycasts.cs +++ b/Runtime/Gizmos/DebugX.raycasts.cs @@ -129,7 +129,7 @@ namespace DCFApixels #region Raycast2D [IN(LINE)] public DrawHandler Raycast2D(Ray ray, RaycastHit2D hit) => Raycast2D(ray.origin, ray.direction, hit); [IN(LINE)] - public DrawHandler Raycast2D(Vector2 origin, Vector2 direction, RaycastHit2D hit) + public DrawHandler Raycast2D(Vector3 origin, Vector2 direction, RaycastHit2D hit) { if (hit.collider == null) { @@ -137,10 +137,10 @@ namespace DCFApixels } else { - Line(origin, origin + direction * hit.distance); + Line(origin, origin + (Vector3)direction * hit.distance); - DotDiamond(hit.point); - RayArrow(hit.point, hit.normal); + DotDiamond(new Vector3(hit.point.x, hit.point.y, origin.z)); + RayArrow(new Vector3(hit.point.x, hit.point.y, origin.z), hit.normal); } return this; } @@ -150,7 +150,7 @@ namespace DCFApixels private static readonly Vector3 Normal2D = Vector3.forward; [IN(LINE)] public DrawHandler CircleCast2D(Ray ray, float radius, RaycastHit2D hit) => CircleCast2D(ray.origin, ray.direction, radius, hit); [IN(LINE)] - public DrawHandler CircleCast2D(Vector2 origin, Vector2 direction, float radius, RaycastHit2D hit) + public DrawHandler CircleCast2D(Vector3 origin, Vector2 direction, float radius, RaycastHit2D hit) { WireCircle(origin, Normal2D, radius); if (hit.collider == null) @@ -159,13 +159,13 @@ namespace DCFApixels } else { - Vector2 end = origin + direction * hit.distance; + Vector3 end = origin + (Vector3)direction * hit.distance; //WidthOutLine(origin, end, radius * 2f); - DotDiamond(hit.point); + DotDiamond(new Vector3(hit.point.x, hit.point.y, origin.z)); WireCircle(end, Normal2D, radius); - RayArrow(hit.point, hit.normal); + RayArrow(new Vector3(hit.point.x, hit.point.y, origin.z), hit.normal); //Setup(Color.SetAlpha(ShadowAlphaMultiplier)). Line(origin, end); @@ -177,7 +177,7 @@ namespace DCFApixels #region BoxCast2D [IN(LINE)] public DrawHandler BoxCast2D(Ray ray, float angle, Vector3 size, RaycastHit2D hit) => BoxCast2D(ray.origin, ray.direction, angle, size, hit); [IN(LINE)] - public DrawHandler BoxCast2D(Vector2 origin, Vector2 direction, float angle, Vector3 size, RaycastHit2D hit) + public DrawHandler BoxCast2D(Vector3 origin, Vector2 direction, float angle, Vector3 size, RaycastHit2D hit) { size *= 0.5f; Quaternion rotation = Quaternion.Euler(0, 0, angle); @@ -188,13 +188,13 @@ namespace DCFApixels } else { - Vector3 end = origin + direction * hit.distance; + Vector3 end = origin + (Vector3)direction * hit.distance; //WidthOutLine(origin, end, size.x * 2f); - DotDiamond(hit.point); + DotDiamond(new Vector3(hit.point.x, hit.point.y, origin.z)); WireQuad(end, rotation, size * 2f); - RayArrow(hit.point, hit.normal); + RayArrow(new Vector3(hit.point.x, hit.point.y, origin.z), hit.normal); //Setup(Color.SetAlpha(ShadowAlphaMultiplier)). @@ -207,7 +207,7 @@ namespace DCFApixels #region CapsuleCast2D [IN(LINE)] public DrawHandler CapsuleCast2D(Ray ray, float angle, Vector2 size, CapsuleDirection2D capsuleDirection, RaycastHit2D hit) => CapsuleCast2D(ray.origin, ray.direction, angle, size, capsuleDirection, hit); [IN(LINE)] - public DrawHandler CapsuleCast2D(Vector2 origin, Vector2 direction, float angle, Vector2 size, CapsuleDirection2D capsuleDirection, RaycastHit2D hit) + public DrawHandler CapsuleCast2D(Vector3 origin, Vector2 direction, float angle, Vector2 size, CapsuleDirection2D capsuleDirection, RaycastHit2D hit) { var rotation = Quaternion.Euler(0, 0, angle); var height = (capsuleDirection == CapsuleDirection2D.Vertical ? size.y : size.x); @@ -219,13 +219,13 @@ namespace DCFApixels } else { - Vector3 end = origin + direction * hit.distance; + Vector3 end = origin + (Vector3)direction * hit.distance; //WidthOutLine(origin, end, radius * 2f); - DotDiamond(hit.point); + DotDiamond(new Vector3(hit.point.x, hit.point.y, origin.z)); WireFlatCapsule(end, rotation, radius, height); - RayArrow(hit.point, hit.normal); + RayArrow(new Vector3(hit.point.x, hit.point.y, origin.z), hit.normal); //Setup(Color.SetAlpha(ShadowAlphaMultiplier)). diff --git a/Samples/Other/FakeLight.shadergraph b/Samples/Other/FakeLight.shadergraph new file mode 100644 index 0000000..964e63a --- /dev/null +++ b/Samples/Other/FakeLight.shadergraph @@ -0,0 +1,1220 @@ +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "bcc975c29bb3495a858725eab21b88c4", + "m_Properties": [ + { + "m_Id": "235235917cc140f58fa328cc262ea1cb" + } + ], + "m_Keywords": [], + "m_Dropdowns": [], + "m_CategoryData": [ + { + "m_Id": "4796deb3415447d6953741e2ce496c27" + } + ], + "m_Nodes": [ + { + "m_Id": "ce927c0374004697b5ba2ca5046f8e00" + }, + { + "m_Id": "3c29b8f4cbe2460c92e14bf9d5f27082" + }, + { + "m_Id": "5147ba03b35542f2a1cde632b9746fff" + }, + { + "m_Id": "1872ec5e50f347139bec4e6ae7ca194e" + }, + { + "m_Id": "b15a9d1fc2854f3eab29be29b13eac41" + }, + { + "m_Id": "f87e1c6961a44400831d0527d6f88d08" + }, + { + "m_Id": "27875bf2ad904c198ad6c6603d1143f1" + }, + { + "m_Id": "2803390ebde2460fb6068c1ff5a6f048" + }, + { + "m_Id": "37c1b81793e148fda72fa2f2286afbba" + }, + { + "m_Id": "b7f9a3359f7849ee94f35a2dc461f49d" + }, + { + "m_Id": "0c09beee8ab14860b78fb0e2790d781b" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "27875bf2ad904c198ad6c6603d1143f1" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "2803390ebde2460fb6068c1ff5a6f048" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "2803390ebde2460fb6068c1ff5a6f048" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "37c1b81793e148fda72fa2f2286afbba" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "37c1b81793e148fda72fa2f2286afbba" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1872ec5e50f347139bec4e6ae7ca194e" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b15a9d1fc2854f3eab29be29b13eac41" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "f87e1c6961a44400831d0527d6f88d08" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "b7f9a3359f7849ee94f35a2dc461f49d" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "37c1b81793e148fda72fa2f2286afbba" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "f87e1c6961a44400831d0527d6f88d08" + }, + "m_SlotId": 4 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "27875bf2ad904c198ad6c6603d1143f1" + }, + "m_SlotId": 0 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": -333.00006103515627, + "y": -97.99999237060547 + }, + "m_Blocks": [ + { + "m_Id": "ce927c0374004697b5ba2ca5046f8e00" + }, + { + "m_Id": "3c29b8f4cbe2460c92e14bf9d5f27082" + }, + { + "m_Id": "5147ba03b35542f2a1cde632b9746fff" + } + ] + }, + "m_FragmentContext": { + "m_Position": { + "x": -333.00006103515627, + "y": 102.00000762939453 + }, + "m_Blocks": [ + { + "m_Id": "1872ec5e50f347139bec4e6ae7ca194e" + }, + { + "m_Id": "0c09beee8ab14860b78fb0e2790d781b" + } + ] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + }, + "preventRotation": false + }, + "m_Path": "Shader Graphs", + "m_GraphPrecision": 1, + "m_PreviewMode": 2, + "m_OutputNode": { + "m_Id": "" + }, + "m_SubDatas": [], + "m_ActiveTargets": [ + { + "m_Id": "f6b4d01a0d604351af89b254f353df4a" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "07dc981fa2b84bc2b0edc5fc9f0bb898", + "m_Id": 4, + "m_DisplayName": "A", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot", + "m_ObjectId": "082f8a5b2c884f80b1bdc32f26ac87ef", + "m_Id": 0, + "m_DisplayName": "UV", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "UV", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [], + "m_Channel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "09dc328ccfaf45b7a59c5ee129f14f8b", + "m_Id": 1, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "0c09beee8ab14860b78fb0e2790d781b", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.Alpha", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "d40a102e16e04c29915d8b5908d40e3c" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.Alpha" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "170b2f2bdd774dd8891dfd687f16a7a9", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "1872ec5e50f347139bec4e6ae7ca194e", + "m_Group": { + "m_Id": "" + }, + "m_Name": "SurfaceDescription.BaseColor", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "dc354df15cde4904930c8953768bfcb5" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "SurfaceDescription.BaseColor" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "1f225d19c66743888df3d839c39711ef", + "m_Id": 2, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "2147876b517c4a08a28d876b1c10655a", + "m_Id": 1, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 3, + "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty", + "m_ObjectId": "235235917cc140f58fa328cc262ea1cb", + "m_Guid": { + "m_GuidSerialized": "e8d3b460-78bb-4d1d-95fd-32289ff6d769" + }, + "m_Name": "Color", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Color", + "m_DefaultReferenceName": "_Color", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "isMainColor": false, + "m_ColorMode": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "25da62e66c84421f8a14deeceaffb257", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SplitNode", + "m_ObjectId": "27875bf2ad904c198ad6c6603d1143f1", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Split", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1193.0001220703125, + "y": 100.0, + "width": 119.0, + "height": 149.00001525878907 + } + }, + "m_Slots": [ + { + "m_Id": "a334b6108dca41ffb578c03de25afdaa" + }, + { + "m_Id": "2147876b517c4a08a28d876b1c10655a" + }, + { + "m_Id": "1f225d19c66743888df3d839c39711ef" + }, + { + "m_Id": "84806ca06c5b42928a2246da024695de" + }, + { + "m_Id": "07dc981fa2b84bc2b0edc5fc9f0bb898" + } + ], + "synonyms": [ + "separate" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.OneMinusNode", + "m_ObjectId": "2803390ebde2460fb6068c1ff5a6f048", + "m_Group": { + "m_Id": "" + }, + "m_Name": "One Minus", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1034.0001220703125, + "y": 100.0, + "width": 208.0, + "height": 278.00006103515627 + } + }, + "m_Slots": [ + { + "m_Id": "170b2f2bdd774dd8891dfd687f16a7a9" + }, + { + "m_Id": "09dc328ccfaf45b7a59c5ee129f14f8b" + } + ], + "synonyms": [ + "complement", + "invert", + "opposite" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "37c1b81793e148fda72fa2f2286afbba", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -767.0, + "y": 100.0, + "width": 208.0, + "height": 302.0 + } + }, + "m_Slots": [ + { + "m_Id": "8558521b364f4f40be4c6d23a5f137d9" + }, + { + "m_Id": "d409130b00124d8690d8cfcf41bb8682" + }, + { + "m_Id": "feaaa4c628a64944ac516179adf7dd4a" + } + ], + "synonyms": [ + "multiplication", + "times", + "x" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget", + "m_ObjectId": "390b18761b8a485c8fd6eade46f5409a" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "3c29b8f4cbe2460c92e14bf9d5f27082", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Normal", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "6268a9e8f39d4825a115936783d5b96a" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Normal" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.CategoryData", + "m_ObjectId": "4796deb3415447d6953741e2ce496c27", + "m_Name": "", + "m_ChildObjectList": [ + { + "m_Id": "235235917cc140f58fa328cc262ea1cb" + } + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "5147ba03b35542f2a1cde632b9746fff", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Tangent", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "746ba9d55ee3442ea106af04c48856a5" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Tangent" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot", + "m_ObjectId": "580c90efde2f4badbf358c2573e4944c", + "m_Id": 0, + "m_DisplayName": "Color", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot", + "m_ObjectId": "61b6897fc4cb45b38b49a75deadf9af8", + "m_Id": 0, + "m_DisplayName": "Position", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Position", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot", + "m_ObjectId": "6268a9e8f39d4825a115936783d5b96a", + "m_Id": 0, + "m_DisplayName": "Normal", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Normal", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "659e3fa83edb4679b47dfa5ea3302f38", + "m_Id": 1, + "m_DisplayName": "Center", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Center", + "m_StageCapability": 3, + "m_Value": { + "x": 0.5, + "y": 0.5 + }, + "m_DefaultValue": { + "x": 0.5, + "y": 0.5 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot", + "m_ObjectId": "746ba9d55ee3442ea106af04c48856a5", + "m_Id": 0, + "m_DisplayName": "Tangent", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Tangent", + "m_StageCapability": 1, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [], + "m_Space": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "84806ca06c5b42928a2246da024695de", + "m_Id": 3, + "m_DisplayName": "B", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "8558521b364f4f40be4c6d23a5f137d9", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "8b4099578518475baf177a9e42d0b742", + "m_Id": 3, + "m_DisplayName": "Length Scale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "LengthScale", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "8ba87cba21af48e99a91e49a279e19df", + "m_Id": 4, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0 + }, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "a334b6108dca41ffb578c03de25afdaa", + "m_Id": 0, + "m_DisplayName": "In", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "In", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.UVNode", + "m_ObjectId": "b15a9d1fc2854f3eab29be29b13eac41", + "m_Group": { + "m_Id": "" + }, + "m_Name": "UV", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1701.0001220703125, + "y": 99.99999237060547, + "width": 145.0001220703125, + "height": 129.00003051757813 + } + }, + "m_Slots": [ + { + "m_Id": "25da62e66c84421f8a14deeceaffb257" + } + ], + "synonyms": [ + "texcoords", + "coords", + "coordinates" + ], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_OutputChannel": 0 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "b7f9a3359f7849ee94f35a2dc461f49d", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -937.0224609375, + "y": -26.073665618896486, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "580c90efde2f4badbf358c2573e4944c" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "235235917cc140f58fa328cc262ea1cb" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BlockNode", + "m_ObjectId": "ce927c0374004697b5ba2ca5046f8e00", + "m_Group": { + "m_Id": "" + }, + "m_Name": "VertexDescription.Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 0.0, + "y": 0.0, + "width": 0.0, + "height": 0.0 + } + }, + "m_Slots": [ + { + "m_Id": "61b6897fc4cb45b38b49a75deadf9af8" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_SerializedDescriptor": "VertexDescription.Position" +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "d409130b00124d8690d8cfcf41bb8682", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "e00": 2.0, + "e01": 2.0, + "e02": 2.0, + "e03": 2.0, + "e10": 2.0, + "e11": 2.0, + "e12": 2.0, + "e13": 2.0, + "e20": 2.0, + "e21": 2.0, + "e22": 2.0, + "e23": 2.0, + "e30": 2.0, + "e31": 2.0, + "e32": 2.0, + "e33": 2.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "d40a102e16e04c29915d8b5908d40e3c", + "m_Id": 0, + "m_DisplayName": "Alpha", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "Alpha", + "m_StageCapability": 2, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot", + "m_ObjectId": "dc354df15cde4904930c8953768bfcb5", + "m_Id": 0, + "m_DisplayName": "Base Color", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "BaseColor", + "m_StageCapability": 2, + "m_Value": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_DefaultValue": { + "x": 0.5, + "y": 0.5, + "z": 0.5 + }, + "m_Labels": [], + "m_ColorMode": 0, + "m_DefaultColor": { + "r": 0.5, + "g": 0.5, + "b": 0.5, + "a": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "ecacc610294248c6a6329ebd47a3724c", + "m_Id": 2, + "m_DisplayName": "Radial Scale", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "RadialScale", + "m_StageCapability": 3, + "m_Value": 1.0, + "m_DefaultValue": 1.0, + "m_Labels": [] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget", + "m_ObjectId": "f6b4d01a0d604351af89b254f353df4a", + "m_Datas": [], + "m_ActiveSubTarget": { + "m_Id": "390b18761b8a485c8fd6eade46f5409a" + }, + "m_AllowMaterialOverride": false, + "m_SurfaceType": 1, + "m_ZTestMode": 4, + "m_ZWriteControl": 0, + "m_AlphaMode": 2, + "m_RenderFace": 2, + "m_AlphaClip": false, + "m_CastShadows": true, + "m_ReceiveShadows": true, + "m_DisableTint": false, + "m_AdditionalMotionVectorMode": 0, + "m_AlembicMotionVectors": false, + "m_SupportsLODCrossFade": false, + "m_CustomEditorGUI": "", + "m_SupportVFX": false +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PolarCoordinatesNode", + "m_ObjectId": "f87e1c6961a44400831d0527d6f88d08", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Polar Coordinates", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1425.0, + "y": 99.99999237060547, + "width": 208.0, + "height": 350.0 + } + }, + "m_Slots": [ + { + "m_Id": "082f8a5b2c884f80b1bdc32f26ac87ef" + }, + { + "m_Id": "659e3fa83edb4679b47dfa5ea3302f38" + }, + { + "m_Id": "ecacc610294248c6a6329ebd47a3724c" + }, + { + "m_Id": "8b4099578518475baf177a9e42d0b742" + }, + { + "m_Id": "8ba87cba21af48e99a91e49a279e19df" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 0, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "feaaa4c628a64944ac516179adf7dd4a", + "m_Id": 2, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "e00": 0.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 0.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 0.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 0.0 + }, + "m_DefaultValue": { + "e00": 1.0, + "e01": 0.0, + "e02": 0.0, + "e03": 0.0, + "e10": 0.0, + "e11": 1.0, + "e12": 0.0, + "e13": 0.0, + "e20": 0.0, + "e21": 0.0, + "e22": 1.0, + "e23": 0.0, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } +} + diff --git a/Samples/Other/FakeLight.shadergraph.meta b/Samples/Other/FakeLight.shadergraph.meta new file mode 100644 index 0000000..27567fb --- /dev/null +++ b/Samples/Other/FakeLight.shadergraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: f5563b73be1540b4d9eae3ee64144b25 +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3} diff --git a/Samples/Other/FakeLightMat.mat b/Samples/Other/FakeLightMat.mat new file mode 100644 index 0000000..d4d7e70 --- /dev/null +++ b/Samples/Other/FakeLightMat.mat @@ -0,0 +1,59 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7614504890241344171 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 9 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: FakeLightMat + m_Shader: {fileID: -6465566751694194690, guid: f5563b73be1540b4d9eae3ee64144b25, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _QueueControl: 0 + - _QueueOffset: 0 + m_Colors: + - _Color: {r: 0, g: 0.06882353, b: 0.09, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/Samples/Other/FakeLightMat.mat.meta b/Samples/Other/FakeLightMat.mat.meta new file mode 100644 index 0000000..4cffe3c --- /dev/null +++ b/Samples/Other/FakeLightMat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c2f63c26458d0fc47b7e09470ecca5b2 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Samples/Other/Wall.mat b/Samples/Other/Wall.mat index ce2c77f..f69082d 100644 --- a/Samples/Other/Wall.mat +++ b/Samples/Other/Wall.mat @@ -157,9 +157,9 @@ Material: - _WorkflowMode: 1 - _ZWrite: 1 m_Colors: - - _BaseColor: {r: 0.21332264, g: 0.12896049, b: 0.4339623, a: 0.23529412} + - _BaseColor: {r: 0.20061173, g: 0.19406372, b: 0.46226418, a: 0.23529412} - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} - - _Color: {r: 0.21332261, g: 0.12896046, b: 0.43396226, a: 0.23529412} + - _Color: {r: 0.20061168, g: 0.1940637, b: 0.46226412, a: 0.23529412} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _Flip: {r: 1, g: 1, b: 1, a: 1} - _RendererColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/Samples/Sample.unity b/Samples/Sample.unity index 0adab09..0f9ad66 100644 --- a/Samples/Sample.unity +++ b/Samples/Sample.unity @@ -145,12 +145,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 3732515} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 513459504} + m_Father: {fileID: 798932521} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &3732517 MeshRenderer: @@ -395,6 +395,92 @@ Transform: m_Children: [] m_Father: {fileID: 65505420} m_LocalEulerAnglesHint: {x: 0, y: -195, z: -15} +--- !u!1 &214399448 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 214399449} + - component: {fileID: 214399451} + - component: {fileID: 214399450} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &214399449 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 214399448} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: -0.325, z: 0} + m_LocalScale: {x: 6, y: 6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1269719929} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &214399450 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 214399448} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &214399451 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 214399448} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &229071310 GameObject: m_ObjectHideFlags: 0 @@ -421,13 +507,11 @@ Transform: m_GameObject: {fileID: 229071310} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -10, y: 3, z: -0.5} + m_LocalPosition: {x: -10, y: 3, z: 3} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 476765014} - - {fileID: 1492609445} - - {fileID: 1228125234} + - {fileID: 1804911239} - {fileID: 65505420} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -557,15 +641,100 @@ Transform: m_GameObject: {fileID: 235819852} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 3.5, y: 0.6, z: 0} + m_LocalPosition: {x: -3.5, y: 0.6, z: -3.5} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 1849006342} - - {fileID: 1651637624} + - {fileID: 1146741158} - {fileID: 1611968138} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &239565651 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 239565654} + - component: {fileID: 239565653} + - component: {fileID: 239565652} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!23 &239565652 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 239565651} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &239565653 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 239565651} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &239565654 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 239565651} + serializedVersion: 2 + m_LocalRotation: {x: 0.37531137, y: 0.22943635, z: -0.14038156, w: 0.8870138} + m_LocalPosition: {x: 2.8, y: -0.86, z: 2.5} + m_LocalScale: {x: 37.3956, y: 37.3956, z: 6.2326} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 46.906, y: 26.201, z: -6.456} --- !u!1 &242744937 GameObject: m_ObjectHideFlags: 0 @@ -645,12 +814,11 @@ Transform: m_GameObject: {fileID: 242744937} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -3.5, y: 0.6, z: -7} + m_LocalPosition: {x: 3.5, y: 0.6, z: 3.5} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 1877553115} - - {fileID: 1246167464} + - {fileID: 1269719929} - {fileID: 1959280759} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -803,7 +971,7 @@ Transform: m_GameObject: {fileID: 298618459} serializedVersion: 2 m_LocalRotation: {x: 0.374766, y: 0.10948002, z: -0.044618975, w: 0.91955084} - m_LocalPosition: {x: -7.0872693, y: 12.125551, z: -17.273561} + m_LocalPosition: {x: -7.0872693, y: 12.125551, z: -13.7735615} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -865,7 +1033,7 @@ GameObject: - component: {fileID: 304547347} - component: {fileID: 304547346} m_Layer: 0 - m_Name: Raycasts + m_Name: Raycasts3D m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -928,13 +1096,11 @@ Transform: m_GameObject: {fileID: 304547345} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -10, y: 0.6, z: -7} + m_LocalPosition: {x: -10, y: 0.6, z: -3.5} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 2124653131} - - {fileID: 2088351612} - - {fileID: 1222497888} + - {fileID: 1421229682} - {fileID: 771505952} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1088,12 +1254,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 461004155} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 513459504} + m_Father: {fileID: 798932521} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &461004157 MeshRenderer: @@ -1210,7 +1376,7 @@ Transform: m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 229071312} + m_Father: {fileID: 1804911239} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &476765015 MeshRenderer: @@ -1265,6 +1431,92 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 476765013} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &487042296 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 487042297} + - component: {fileID: 487042299} + - component: {fileID: 487042298} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &487042297 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 487042296} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: -0.325, z: 0} + m_LocalScale: {x: 6, y: 6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 798932521} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &487042298 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 487042296} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &487042299 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 487042296} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &497380795 GameObject: m_ObjectHideFlags: 0 @@ -1374,12 +1626,11 @@ Transform: m_GameObject: {fileID: 513459502} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -3.5, y: 0.6, z: 0} + m_LocalPosition: {x: -3.5, y: 0.6, z: 3.5} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 3732516} - - {fileID: 461004156} + - {fileID: 798932521} - {fileID: 1420245715} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1687,12 +1938,11 @@ Transform: m_GameObject: {fileID: 765996818} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 3.5, y: 0.6, z: -7} + m_LocalPosition: {x: 3.5, y: 0.6, z: -3.5} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 991517870} - - {fileID: 1812119069} + - {fileID: 2018093306} - {fileID: 2032157873} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1731,6 +1981,126 @@ Transform: - {fileID: 936414684} m_Father: {fileID: 304547347} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &772547290 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 772547291} + - component: {fileID: 772547293} + - component: {fileID: 772547292} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &772547291 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 772547290} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: -0.325, z: 0} + m_LocalScale: {x: 6, y: 6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1146741158} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &772547292 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 772547290} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &772547293 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 772547290} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &798932520 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 798932521} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &798932521 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 798932520} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 3732516} + - {fileID: 461004156} + - {fileID: 487042297} + m_Father: {fileID: 513459504} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &827545190 GameObject: m_ObjectHideFlags: 0 @@ -2067,12 +2437,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 991517869} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 765996820} + m_Father: {fileID: 2018093306} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &991517871 MeshRenderer: @@ -2189,6 +2559,40 @@ Transform: m_Children: [] m_Father: {fileID: 2032157873} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1146741157 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1146741158} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1146741158 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1146741157} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1849006342} + - {fileID: 1651637624} + - {fileID: 772547291} + m_Father: {fileID: 235819854} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1147360890 GameObject: m_ObjectHideFlags: 0 @@ -2361,7 +2765,7 @@ Transform: m_LocalScale: {x: 6.3, y: 0.5, z: 0.5} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 304547347} + m_Father: {fileID: 1421229682} m_LocalEulerAnglesHint: {x: 0, y: -23.499, z: 0} --- !u!65 &1222497889 BoxCollider: @@ -2469,7 +2873,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1147360891} - m_Father: {fileID: 229071312} + m_Father: {fileID: 1804911239} m_LocalEulerAnglesHint: {x: -81.501, y: -89.999, z: 89.999} --- !u!23 &1228125235 MeshRenderer: @@ -2581,12 +2985,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1246167463} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 242744939} + m_Father: {fileID: 1269719929} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1246167465 MeshRenderer: @@ -2672,6 +3076,40 @@ Transform: m_Children: [] m_Father: {fileID: 1611968138} m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0} +--- !u!1 &1269719928 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1269719929} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1269719929 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1269719928} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 1877553115} + - {fileID: 1246167464} + - {fileID: 214399449} + m_Father: {fileID: 242744939} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1286713717 GameObject: m_ObjectHideFlags: 0 @@ -2804,6 +3242,42 @@ Transform: - {fileID: 1726791091} m_Father: {fileID: 513459504} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1421229681 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1421229682} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1421229682 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1421229681} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2124653131} + - {fileID: 2088351612} + - {fileID: 1222497888} + - {fileID: 1855183710} + - {fileID: 2113534555} + m_Father: {fileID: 304547347} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1492609444 GameObject: m_ObjectHideFlags: 0 @@ -2835,7 +3309,7 @@ Transform: m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 229071312} + m_Father: {fileID: 1804911239} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1492609446 MeshRenderer: @@ -3022,6 +3496,92 @@ Transform: m_Children: [] m_Father: {fileID: 2032157873} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1623938035 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1623938036} + - component: {fileID: 1623938038} + - component: {fileID: 1623938037} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1623938036 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1623938035} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + m_LocalPosition: {x: 0, y: -2.725, z: 0} + m_LocalScale: {x: 6, y: 6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1804911239} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &1623938037 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1623938035} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &1623938038 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1623938035} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1640588228 GameObject: m_ObjectHideFlags: 0 @@ -3079,12 +3639,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1651637623} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 235819854} + m_Father: {fileID: 1146741158} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1651637625 MeshRenderer: @@ -3307,6 +3867,41 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 294184ec03715ac4c9d39ad3f0f89f27, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1 &1804911238 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1804911239} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1804911239 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1804911238} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 476765014} + - {fileID: 1492609445} + - {fileID: 1228125234} + - {fileID: 1623938036} + m_Father: {fileID: 229071312} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1812119068 GameObject: m_ObjectHideFlags: 0 @@ -3333,12 +3928,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1812119068} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 765996820} + m_Father: {fileID: 2018093306} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1812119070 MeshRenderer: @@ -3486,6 +4081,92 @@ Transform: m_Children: [] m_Father: {fileID: 1420245715} m_LocalEulerAnglesHint: {x: 45, y: 0, z: 0} +--- !u!1 &1848584382 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1848584383} + - component: {fileID: 1848584385} + - component: {fileID: 1848584384} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1848584383 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1848584382} + serializedVersion: 2 + m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} + m_LocalPosition: {x: 0, y: -0.325, z: 0} + m_LocalScale: {x: 6, y: 6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2018093306} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} +--- !u!23 &1848584384 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1848584382} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &1848584385 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1848584382} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1849006341 GameObject: m_ObjectHideFlags: 0 @@ -3512,12 +4193,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1849006341} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 235819854} + m_Father: {fileID: 1146741158} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1849006343 MeshRenderer: @@ -3572,6 +4253,92 @@ MeshFilter: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1849006341} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!1 &1855183709 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1855183710} + - component: {fileID: 1855183712} + - component: {fileID: 1855183711} + m_Layer: 0 + m_Name: FakeLight + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1855183710 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1855183709} + serializedVersion: 2 + m_LocalRotation: {x: 0.70346254, y: -0.07169738, z: 0.07169738, w: 0.70346254} + m_LocalPosition: {x: 0.4413, y: -0.325, z: -1.3496} + m_LocalScale: {x: 4.6975765, y: 2.5615559, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1421229682} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 11.639} +--- !u!23 &1855183711 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1855183709} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &1855183712 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1855183709} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1877553114 GameObject: m_ObjectHideFlags: 0 @@ -3598,12 +4365,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1877553114} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 242744939} + m_Father: {fileID: 1269719929} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &1877553116 MeshRenderer: @@ -3760,6 +4527,40 @@ Transform: m_Children: [] m_Father: {fileID: 2032157873} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2018093305 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2018093306} + m_Layer: 0 + m_Name: Props + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2018093306 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2018093305} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 991517870} + - {fileID: 1812119069} + - {fileID: 1848584383} + m_Father: {fileID: 765996820} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &2032157872 GameObject: m_ObjectHideFlags: 0 @@ -3897,12 +4698,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2088351611} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 6.1, y: 0.49, z: 6.1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 304547347} + m_Father: {fileID: 1421229682} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &2088351613 MeshRenderer: @@ -3988,6 +4789,92 @@ Transform: m_Children: [] m_Father: {fileID: 2032157873} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2113534554 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2113534555} + - component: {fileID: 2113534557} + - component: {fileID: 2113534556} + m_Layer: 0 + m_Name: FakeLight (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &2113534555 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2113534554} + serializedVersion: 2 + m_LocalRotation: {x: 0.70346254, y: -0.07169738, z: 0.07169738, w: 0.70346254} + m_LocalPosition: {x: -0.47, y: -0.325, z: 1.4} + m_LocalScale: {x: 4.6975765, y: 2.5615559, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1421229682} + m_LocalEulerAnglesHint: {x: 90, y: 0, z: 11.639} +--- !u!23 &2113534556 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2113534554} + 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_RayTracingAccelStructBuildFlagsOverride: 0 + m_RayTracingAccelStructBuildFlags: 1 + m_SmallMeshCulling: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: c2f63c26458d0fc47b7e09470ecca5b2, type: 2} + 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 &2113534557 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2113534554} + m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &2124653130 GameObject: m_ObjectHideFlags: 0 @@ -4014,12 +4901,12 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2124653130} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: -0.6, z: 0} m_LocalScale: {x: 5.9, y: 0.5, z: 5.9} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 304547347} + m_Father: {fileID: 1421229682} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!23 &2124653132 MeshRenderer: @@ -4081,8 +4968,9 @@ SceneRoots: - {fileID: 298618462} - {fileID: 734477137} - {fileID: 229071312} + - {fileID: 304547347} - {fileID: 513459504} - {fileID: 235819854} - - {fileID: 304547347} - {fileID: 242744939} - {fileID: 765996820} + - {fileID: 239565654} diff --git a/Samples/Scripts/DebugXSample_Lines.cs b/Samples/Scripts/DebugXSample_Lines.cs index 243cf6b..a004695 100644 --- a/Samples/Scripts/DebugXSample_Lines.cs +++ b/Samples/Scripts/DebugXSample_Lines.cs @@ -2,6 +2,7 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Lines : MonoBehaviour { public Gradient Gradient; @@ -11,7 +12,18 @@ namespace DCFApixels public float WidthMultiplier = 1f; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + private void Draw() { int i = -1; diff --git a/Samples/Scripts/DebugXSample_Other.cs b/Samples/Scripts/DebugXSample_Other.cs index 3259322..b7a3d97 100644 --- a/Samples/Scripts/DebugXSample_Other.cs +++ b/Samples/Scripts/DebugXSample_Other.cs @@ -3,13 +3,26 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Other : MonoBehaviour { public Gradient Gradient; public float GradientMultiplier = 5; public Transform[] Points; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + + private void Draw() { int i = -1; const float RADIUS_M = 0.5f; diff --git a/Samples/Scripts/DebugXSample_Primitives2D.cs b/Samples/Scripts/DebugXSample_Primitives2D.cs index e68258d..a5a65f3 100644 --- a/Samples/Scripts/DebugXSample_Primitives2D.cs +++ b/Samples/Scripts/DebugXSample_Primitives2D.cs @@ -2,13 +2,26 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Primitives2D : MonoBehaviour { public Gradient Gradient; public float GradientMultiplier = 5; public Transform[] Points; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + + private void Draw() { int i = -1; const float RADIUS_M = 0.5f; diff --git a/Samples/Scripts/DebugXSample_Primitives3D.cs b/Samples/Scripts/DebugXSample_Primitives3D.cs index 4d6b369..a56c54b 100644 --- a/Samples/Scripts/DebugXSample_Primitives3D.cs +++ b/Samples/Scripts/DebugXSample_Primitives3D.cs @@ -2,13 +2,27 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Primitives3D : MonoBehaviour { public Gradient Gradient; public float GradientMultiplier = 5; public Transform[] Points; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + + + private void Draw() { int i = -1; const float RADIUS_M = 0.5f; diff --git a/Samples/Scripts/DebugXSample_Raycasts2D.cs b/Samples/Scripts/DebugXSample_Raycasts2D.cs index 303e22c..4c4fa41 100644 --- a/Samples/Scripts/DebugXSample_Raycasts2D.cs +++ b/Samples/Scripts/DebugXSample_Raycasts2D.cs @@ -2,13 +2,26 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Raycasts2D : MonoBehaviour { public Gradient Gradient; public float GradientMultiplier = 5; public Transform[] Points; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + + private void Draw() { int i = 0; const float RADIUS_M = 0.5f; diff --git a/Samples/Scripts/DebugXSample_Raycasts3D.cs b/Samples/Scripts/DebugXSample_Raycasts3D.cs index a5d23c9..5c9ad8d 100644 --- a/Samples/Scripts/DebugXSample_Raycasts3D.cs +++ b/Samples/Scripts/DebugXSample_Raycasts3D.cs @@ -2,13 +2,26 @@ using UnityEngine; namespace DCFApixels { + [SelectionBase] public class DebugXSample_Raycasts3D : MonoBehaviour { public Gradient Gradient; public float GradientMultiplier = 5; public Transform[] Points; +#if UNITY_EDITOR private void OnDrawGizmos() + { + Draw(); + } +#else + private void Update() + { + Draw(); + } +#endif + + private void Draw() { int i = 0; const float RADIUS_M = 0.5f;