Skip to content

laicasaane/simple_setup_ecs_2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Setup for ECS 2D

spritesheet animations

This repo demonstrates an approach to Unity ECS in 2D that answers these questions:

  • How to author and bake entity prefab for 2D character?
  • How to store and use information of spritesheets globally?
  • How to implement spritesheet animation logic in ECS?
  • How to synchronize sprite renderers with entities?
  • How to react to UI events in ECS?
  • How to implement object-pool for sprite presenters?
  • How to utilize TransformAccessArray to update the transform of sprite presenters in parallel?

Credits