From 03c7f9b16f267a9aed8424bc84609924722ea88b Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 6 Jan 2023 12:33:55 +0100 Subject: [PATCH] Console error --- assets/Scripts/Services/ObjectPool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/Scripts/Services/ObjectPool.ts b/assets/Scripts/Services/ObjectPool.ts index 896fa85..52267aa 100644 --- a/assets/Scripts/Services/ObjectPool.ts +++ b/assets/Scripts/Services/ObjectPool.ts @@ -54,7 +54,7 @@ class PooledObject { this.instancedNode = instantiate(prefab); this.instancedComponent = this.instancedNode.getComponent(componentName); if (this.instancedComponent == null) { - console.log("Object " + prefab.name + " does not have component " + componentName); + console.error("Object " + prefab.name + " does not have component " + componentName); } this.clear();