中文
Appearance
NetEntity.prefabID
NetEntity
(只读)预制体id。
string
NetClient.InjectOnConnectEvent(() => { NetClient.CreateNewEntity("prefabID", "userdata", (entity: NetEntity) => { let prefabID = entity.prefabID; }); });