Skip to content

Commit ab99951

Browse files
committed
Removed logs.
1 parent fb9cc95 commit ab99951

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

v3/src/components/Children.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,19 @@ Children.prototype = {
2626

2727
add: function (child)
2828
{
29-
// console.log('--->', this.gameObject, 'adds new child:', child);
30-
3129
if (child.parent === this)
3230
{
33-
// console.log('Children.add 1');
3431
return child;
3532
}
3633
else if (child.parent)
3734
{
38-
// console.log('Children.add 2');
3935
child.parent.children.remove(child);
4036
}
4137

4238
child.parent = this.gameObject;
4339

4440
this.list.push(child);
4541

46-
// console.log('<--- end');
47-
4842
return child;
4943
},
5044

0 commit comments

Comments
 (0)