From ec2325f55c79fb70e066171aaa29776dafc7cd7a Mon Sep 17 00:00:00 2001 From: amamagi Date: Thu, 3 Apr 2025 10:53:58 +0900 Subject: [PATCH] small changes --- .../MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs index c0c656dfa..2f24ab8d7 100644 --- a/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs +++ b/Assets/VRM10_Samples/MToon10Showcase/Runtime/MToon10ShowcaseEntryPoint.cs @@ -39,7 +39,6 @@ namespace VRM10.Samples.MToon10Showcase context.TransparentWithZWriteMode = entry.transparentWithZWriteMode; context.AlphaCutoff = entry.alphaCutoff; context.DoubleSidedMode = entry.doubleSidedMode; - context.Validate(); }); CreateShowcase(renderQueueOffsetShowcase.entries, renderQueueOffsetShowcase.baseMaterial, (entry, context) => { @@ -113,7 +112,7 @@ namespace VRM10.Samples.MToon10Showcase context.UvAnimationRotationSpeedFactor = entry.uvAnimationRotationSpeedFactor; }, PrimitiveType.Quad); - FillFloor(); + CreateFloor(); cameraScroller.Initialize(new Vector3(0.0f, 5.0f, 0.0f), new Vector3(0.0f, 5.0f, _nextOrigin.z), 0.5f); } @@ -156,7 +155,7 @@ namespace VRM10.Samples.MToon10Showcase return root.transform; } - private void FillFloor() + private void CreateFloor() { var floors = new GameObject("Floors"); var nextFloorOrigin = Vector3.zero;