branchbefore/main/Sessionscancel
24 Commits over 0 Days - ∞cph!
Working with integration of the Session concept in GameManager. Tried some directions that will be changed for next commit, so this isn't representative of the final direction necessarily.
yet another merge from main.
Singleton Managers should live in GameManager, since that's where they live on the Game Manager prefab.
Default to Survival game mode when starting with startup, so that we actually get out of the loading screen and load the game (or quit the game if there's no game mode defined at that point).
Added a comment in code to show that explicitly
Sessions no longer extend ManagerSingleton, instead use plain Singleton. Game runs.
EntityManager data related stuff moved to Database
Minor refactor of Database api
List init to construct in AI Manager
Instance. pattern for events in EntityManager
Layout, UnitManager pointless GameState changed callback removed
Started on save/load, focusing on Survival Session and Entity Manager to start with...
Merged
Fixed bad merge in EntityManager
Restoring UnitManager gamestate callback for navmeshagent enabled toggling, which is a hack but apparently we need it.
Working on serializing entity manager and Base Entity. We now serialize to text when running from editor, and to binary when running externally.
More work on persistance and Loading, still not working, but progress!
Unit.Emotes animator layer weight reset when changing clip via override controller (attempting to workaround masking issues)