world

A Worldhas the EntityManager and a set of ComponentSystems . You can create any number of required Worldobjects. Typically, you will create a simulation Worldand rendering or presentation World.

By default, we are Worldentering the " Play Mode" When you create a single, and use ComponentSystemto fill it all the available objects in your project, but you can disable the default Worldcreated by the global definition and replace it with your own code.

  • The default code that creates the world (see document: Packages Standard Package / com.unity.entities / Unity.Entities.Hybrid / Injection / DefaultWorldInitialization.cs )
  • Automatic bootstrap entry point (see document: the Packages / com.unity.entities / Unity.Entities.Hybrid / Injection / AutomaticWorldBootstrap.cs )

Guess you like

Origin www.cnblogs.com/longsl/p/11323972.html