Skip to content

ECS Framework API v2.1.50


ECS Framework API / DeepCopy

Function: DeepCopy()

DeepCopy(target, propertyKey): void

Defined in: ECS/Core/SoAStorage.ts:176

深拷贝装饰器 标记字段需要深拷贝处理(适用于嵌套对象)

Parameters

target

any

propertyKey

string | symbol

Returns

void

Released under the MIT License.