mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
make Camera.getNodeToCameraTransform deprecated
This commit is contained in:
@@ -464,6 +464,10 @@ if (CC_DEV) {
|
||||
'getWorldToNodeTransform': 'getWorldMatrix',
|
||||
});
|
||||
|
||||
markFunctionWarning(cc.Camera.prototype, {
|
||||
'getNodeToCameraTransform': 'getWorldToCameraMatrix'
|
||||
});
|
||||
|
||||
provideClearError(cc.Node.prototype, {
|
||||
arrivalOrder: 'getSiblingIndex, setSiblingIndex',
|
||||
_visible: '_activeInHierarchy, active',
|
||||
|
||||
Reference in New Issue
Block a user