diff --git a/Assets/Scripts/Intrepid/Gameplay/Prototyping/ContactCubeModelPrototype.cs b/Assets/Scripts/Intrepid/Gameplay/Prototyping/ContactCubeModelPrototype.cs index 5b32b34..a68acb0 100644 --- a/Assets/Scripts/Intrepid/Gameplay/Prototyping/ContactCubeModelPrototype.cs +++ b/Assets/Scripts/Intrepid/Gameplay/Prototyping/ContactCubeModelPrototype.cs @@ -27,19 +27,19 @@ namespace Intrepid.Gameplay.Prototyping public int SizeX { get => sizeX; - set => sizeX = Mathf.Max(0, value); + set => sizeX = Mathf.Max(1, value); } public int SizeY { get => sizeY; - set => sizeY = Mathf.Max(0, value); + set => sizeY = Mathf.Max(1, value); } public int SizeZ { get => sizeZ; - set => sizeZ = Mathf.Max(0, value); + set => sizeZ = Mathf.Max(1, value); } public BoxCollider BoxCollider => boxCollider; diff --git a/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundRampModelPrototype.cs b/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundRampModelPrototype.cs index bbdc188..02b94f5 100644 --- a/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundRampModelPrototype.cs +++ b/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundRampModelPrototype.cs @@ -26,13 +26,13 @@ namespace Intrepid.Gameplay.Prototyping public int SizeX { get => sizeX; - set => sizeX = Mathf.Max(0, value); + set => sizeX = Mathf.Max(1, value); } public int SizeZ { get => sizeZ; - set => sizeZ = Mathf.Max(0, value); + set => sizeZ = Mathf.Max(1, value); } public BoxCollider BoxCollider => boxCollider; diff --git a/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundSlabModelPrototype.cs b/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundSlabModelPrototype.cs index 53b0c29..bccac9e 100644 --- a/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundSlabModelPrototype.cs +++ b/Assets/Scripts/Intrepid/Gameplay/Prototyping/GroundSlabModelPrototype.cs @@ -23,13 +23,13 @@ namespace Intrepid.Gameplay.Prototyping public int SizeX { get => sizeX; - set => sizeX = Mathf.Max(0, value); + set => sizeX = Mathf.Max(1, value); } public int SizeZ { get => sizeZ; - set => sizeZ = Mathf.Max(0, value); + set => sizeZ = Mathf.Max(1, value); } public BoxCollider BoxCollider => boxCollider;