mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-04-11 01:21:14 +00:00
Console error
This commit is contained in:
parent
85558c3d57
commit
03c7f9b16f
@ -54,7 +54,7 @@ class PooledObject<T extends Component> {
|
||||
this.instancedNode = instantiate(prefab);
|
||||
this.instancedComponent = <T>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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user