diff --git a/GameData/ConformalDecals/Plugins/ConformalDecals.dll b/GameData/ConformalDecals/Plugins/ConformalDecals.dll index ab8b822..e428004 100644 --- a/GameData/ConformalDecals/Plugins/ConformalDecals.dll +++ b/GameData/ConformalDecals/Plugins/ConformalDecals.dll @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5d7f25f6cada27c2d6ca7ce4b32ef70606ea0d1b7d1d572538c3ee97cee3179 -size 87040 +oid sha256:f6f3c4a2f97982581ebc02fe5616f7be9c29cd2bc912201f9c5e0492de527785 +size 86528 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