Search
Preparing search index...
The search index is not available
@esengine/egret-framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ECS/Utils/ObjectUtils"
ObjectUtils
Class ObjectUtils
Hierarchy
ObjectUtils
Index
Methods
clone
elements
Methods
Static
clone
clone<T>
(
p
:
any
, c
?:
T
)
:
T
对象深度拷贝
Type parameters
T
Parameters
p:
any
any 源对象
Default value
c:
T
= null
any 目标对象, 不传则返回新对象, 传则合并属性, 相同名字的属性则会覆盖
Returns
T
Static
elements
elements
(
p
:
{}
)
:
any
[]
Parameters
p:
{}
Returns
any
[]
Globals
"ECS/
Utils/
Object
Utils"
Object
Utils
clone
elements
Generated using
TypeDoc
对象深度拷贝