Skip to content

AtomicTroop/Unity-Architecture-Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Unity-Architecture-Samples

Samples for a gamedev project course on layered code architecture

Assets/Scenes contains two scenes.

  • SpaghettiExample, uses the components from Scripts/Spaghetti that rely on direct inspector dependencies
  • LayeredExample, utilizes layered architecture to decouple the Unity simulation from backing data and its control logic

Scripts are organized into Visualization, Data and Logic directories depending on their responsibilities. ServiceLocator is in the Scripts directory root, and its respective ServiceContext is part of the Visualization.

Scripts/Utils contains an additional script used to move the hurtbox for the sake of testing.

About

Samples for a gamedev project course on layered code architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published