Skip to content

A simple (so far) Unity project where I try to adhere to good software engineering principles, like SOLID and unit testing. Unity makes this difficult at times, so let's see what we can do!

License

Notifications You must be signed in to change notification settings

stevesan/solid_unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple (so far) Unity project where I try to adhere to good software engineering principles, like SOLID and unit testing. Unity makes this difficult at times, so let's see what we can do! Some things in here so far:

  • InterfaceReference - Unity doesn't allow editor fields for interface types, so this is a convenience wrapper for such a thing. See ExamplePlayer's "targetRef".
  • TestUtil.TestScene - It'd be nice if you could do unit testing purely in code, but it's not always possible. Hooking up serialized field values, for example, is kinda gross to do from code. So why not just set up a scene and take it from there? This is a utility class to help work with test scenes.

About

A simple (so far) Unity project where I try to adhere to good software engineering principles, like SOLID and unit testing. Unity makes this difficult at times, so let's see what we can do!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages