Boat Attack使用了Universal RP的许多新图形功能,可以用于探索 Universal RP 的使用方式和技巧。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

701 B

uid
ecs-exclusive-entity-transaction

ExclusiveEntityTransaction

ExclusiveEntityTransaction is an API to create & destroy entities from a job. The purpose is to enable procedural generation scenarios where instantiation on big scale must happen on jobs. As the name implies it is exclusive to any other access to the EntityManager.

ExclusiveEntityTransaction should be used on a manually created World that acts as a staging area to construct & setup entities.

After the job has completed you can end the ExclusiveEntityTransaction and use EntityManager.MoveEntitiesFrom(EntityManager srcEntities); to move the entities to an active World.