mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
eaa9142b72
* Fix missing default values for properties of native classes. * Revert setDefaultValue in property.ts , should not return when JSB is enabled. * Use SetAccessorProperty instead of SetAccessor to bind JS getter & setter. https://stackoverflow.com/questions/57686545/setaccessor-and-setaccessorproperty-any-difference * [JSB] Add 'name' property for Node prototype. * Check whether Root is null in Scene's constructor since editor may new a scene object before Root is created.