diff --git a/GameData/ConformalDecals/Plugins/ConformalDecals.dll b/GameData/ConformalDecals/Plugins/ConformalDecals.dll index dfb54a8..e182680 100644 Binary files a/GameData/ConformalDecals/Plugins/ConformalDecals.dll and b/GameData/ConformalDecals/Plugins/ConformalDecals.dll differ diff --git a/Source/ConformalDecals/ConformalDecals.csproj b/Source/ConformalDecals/ConformalDecals.csproj index fd8404b..7def1b9 100644 --- a/Source/ConformalDecals/ConformalDecals.csproj +++ b/Source/ConformalDecals/ConformalDecals.csproj @@ -87,7 +87,6 @@ - diff --git a/Source/ConformalDecals/Test/TestLayers.cs b/Source/ConformalDecals/Test/TestLayers.cs deleted file mode 100644 index 50e413a..0000000 --- a/Source/ConformalDecals/Test/TestLayers.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using UnityEngine; - -namespace ConformalDecals.Test { - public class TestLayers : PartModule { - - [KSPField(guiActive = true)] - public int layer = 2; - - public override void OnStart(StartState state) { - base.OnStart(state); - - - Part.layerMask.value |= (1 << 3); - } - - public void Update() { - foreach (var collider in GameObject.FindObjectsOfType()) { - if (collider.gameObject.layer == 3) { - Debug.Log($"Has layer 3: {collider.gameObject.name}"); - } - } - } - - [KSPEvent(guiActive = true, guiActiveEditor = true, guiName = "switch layers")] - public void Switch() { - Debug.Log(Part.layerMask.value); - - var cube = part.FindModelTransform("test"); - layer = (layer + 1) % 32; - cube.gameObject.layer = layer; - } - } -} \ No newline at end of file