branchbefore/main/Sessionscancel
24 Commits over 0 Days - ∞cph!
Unit.Emotes animator layer weight reset when changing clip via override controller (attempting to workaround masking issues)
More work on persistance and Loading, still not working, but progress!
Working on serializing entity manager and Base Entity. We now serialize to text when running from editor, and to binary when running externally.
Restoring UnitManager gamestate callback for navmeshagent enabled toggling, which is a hack but apparently we need it.
Fixed bad merge in EntityManager
Started on save/load, focusing on Survival Session and Entity Manager to start with...
Merged
Layout, UnitManager pointless GameState changed callback removed
Instance. pattern for events in EntityManager
List init to construct in AI Manager
Minor refactor of Database api
EntityManager data related stuff moved to Database
Sessions no longer extend ManagerSingleton, instead use plain Singleton. Game runs.
Added a comment in code to show that explicitly
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).
yet another merge from main.
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.