예제 #1
0
 public override void Initialize()
 {
     m_transformMapper = new ComponentMapper<Transform>(world);
     m_tilemapMapper = new ComponentMapper<Tilemap>(world);
     m_tilemapRenderMapper = new ComponentMapper<TilemapRender>(world);
     m_toolSys = (CurrentToolSystem)(world.SystemManager.GetSystem<CurrentToolSystem>()[0]);
 }
예제 #2
0
 public override void Initialize()
 {
     m_tilemapMapper = new ComponentMapper<Tilemap>(world);
     m_toolSys = (CurrentToolSystem)(world.SystemManager.GetSystem<CurrentToolSystem>()[0]);
     m_drawCanvasSys = (DrawCanvasSystem)(world.SystemManager.GetSystem<DrawCanvasSystem>()[0]);
 }