Paste Component

STD 庫
伺服器端
限PC端

Copy or add component data

聲明

func PasteComponent(source entity<Entity>, target entity<Entity>, componentType Type, out var isSuc bool)
go

參數

輸入

名稱 類型 描述
Source Entity The source entity
目標 Entity Target Entity
Component Type Type Component Type

輸出

名稱 類型 描述
Is Success Bool Whether it is successful or not