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();