Unity/DOTS
DOTS 학습을 위한 기초 정리 #3 World
JAVART
2019. 5. 17. 14:48
반응형
원본 : https://docs.unity3d.com/Packages/com.unity.entities@0.0/manual/world.html
World | Package Manager UI website
World A World owns both an EntityManager and a set of ComponentSystems. You can create as many World objects as you like. Commonly you would create a simulation World and rendering or presentation World. By default we create a single World when entering Pl
docs.unity3d.com
World
EntityManager와 ComponentSystems를 모두 소유하는 상위개념입니다. 원하는 만큼 World 객체를 생성할 수 있으며, 일반적으로 시뮬레이션 세계(World)와 렌더링 또는 프리젠테이션 세계(World)를 만듭니다.
기본적으로 Play 모드로 전환할 때 단일 월드를 생성하고 프로젝트에서 사용할 수 있는 모든 ComponentSystem 객체로 채우지만, 기본 월드를 사용하지 않도록 설정하고 전역 정의를 통해 자신의 코드로 바꿀 수 있습니다.
- Default World creation code (see file: Packages/com.unity.entities/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs)
- Automatic bootstrap entry point (see file:Packages/com.unity.entities/Unity.Entities.Hybrid/Injection/AutomaticWorldBootstrap.cs)
#정리
1. 세계(World)란 ECS를 포함하는 논리적 단위다.
2. 세계는 원하는 만큼 생성할 수 있다.
반응형