Update batcher-2d.ts , 删除无用代码 #18967
Open
+0
−45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
删除不再使用的
commitIA()
方法.这个 Batcher2D 类你们从来没有暴路出来过 , cocos 的用户们几乎不可能用到 commitIA() 方法.
而你们代码内部 也没有用.
因为
@deprecated since v3.6.2, please use [[commitMiddleware]] instead
.现在你们内部都在用 commitMiddleware 了.
所以这个 方法删了吧.
你们不是总想着缩小代码体积吗, 这种没用过的方法能删尽量删吧.
Re: #
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: