From 4020b3204e890f7c8014252a9a7806072494f726 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 7 Nov 2024 14:28:57 +0800 Subject: [PATCH] update description (#17823) --- cocos/core/memop/recycle-pool.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/core/memop/recycle-pool.ts b/cocos/core/memop/recycle-pool.ts index 1b15e284fa6..0ff73643ce6 100644 --- a/cocos/core/memop/recycle-pool.ts +++ b/cocos/core/memop/recycle-pool.ts @@ -99,8 +99,8 @@ export class RecyclePool extends ScalableContainer { } /** - * @en Expand the array size to 2 times the original size, and fills with new created elements. - * @zh 扩充对象池容量,会自动扩充尺寸到原来的 2 倍,并填充新的元素。 + * @en Adds a new element. If the capacity is insufficient, it will automatically expand to twice its original size. + * @zh 添加一个新元素,如果容量不足,会自动扩充尺寸到原来的 2 倍。 */ public add (): T { if (this._count$ >= this._data$.length) {