Files
cocos4/cocos/core/components
Zhang mingzhen 083918f92b console exception if comp'node is null (#9723)
* output error when node of comp is null #9214

(cherry picked from commit 2d8ac78094af8a5ef1866140abb2819ed0bf8bba)

* use 'assertIsTrue'

(cherry picked from commit 62a29d8cce733de49220945a2de0dd0f40e3a1f6)

* update log

(cherry picked from commit ad4327e95f4f1e75a18f2cb2b0e7127260a4ed35)

* optimize format

* add DEBUG condition and fix bug

* output error when comp.name is invoked and replace condition that judge whether comp.name is valid.

* remove component.name error log and optimize null node exception report

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2021-11-25 10:08:12 +08:00
..
2020-12-24 19:07:26 +08:00