From 42c874a40ecf444c2e1381a46e7f4b0c36dfdedd Mon Sep 17 00:00:00 2001 From: d-hain Date: Thu, 23 Jun 2022 00:12:53 +0200 Subject: [PATCH] =?UTF-8?q?Shop=20->=20StartElements=20etwas=20hinzugef?= =?UTF-8?q?=C3=BCgt=20ActionInvoker=20->=20ein=20Console.Log()=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scenes/MainScene.unity | 2 ++ Assets/Scripts/ActionInvoker.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scenes/MainScene.unity b/Assets/Scenes/MainScene.unity index 7aa9ab2..c6c00f2 100644 --- a/Assets/Scenes/MainScene.unity +++ b/Assets/Scenes/MainScene.unity @@ -7622,6 +7622,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: startElements: + - {fileID: 11400000, guid: 7fc4aaa640c1c1e49a0c0a9241fbcf07, type: 2} - {fileID: 11400000, guid: a5d525b8ca07172499e8678eb6f73fb2, type: 2} - {fileID: 11400000, guid: a5d525b8ca07172499e8678eb6f73fb2, type: 2} - {fileID: 11400000, guid: a5d525b8ca07172499e8678eb6f73fb2, type: 2} @@ -7640,6 +7641,7 @@ MonoBehaviour: - {fileID: 11400000, guid: bb9777a7d5804bd6bf25d5510206aaf0, type: 2} - {fileID: 11400000, guid: bb9777a7d5804bd6bf25d5510206aaf0, type: 2} - {fileID: 11400000, guid: bb9777a7d5804bd6bf25d5510206aaf0, type: 2} + - {fileID: 11400000, guid: bb9777a7d5804bd6bf25d5510206aaf0, type: 2} itemWasBought: 0 --- !u!1001 &1701153146 PrefabInstance: diff --git a/Assets/Scripts/ActionInvoker.cs b/Assets/Scripts/ActionInvoker.cs index 26597e8..98c11c5 100644 --- a/Assets/Scripts/ActionInvoker.cs +++ b/Assets/Scripts/ActionInvoker.cs @@ -138,7 +138,6 @@ namespace DefaultNamespace { if(fenceRenderer && fenceCollider) { if(!fenceRenderer.enabled || !fenceCollider.enabled) { fenceRenderer.enabled = true; - Debug.Log("aaaaaaaaaaaaaaaaaaaaa"); fenceRenderer.color = new Color(1, 1, 1, 1); fenceCollider.enabled = true; Inventory.instance.RemoveElement(ItemContainer.Instance.GetItemByName("Fence"), 1);