public void LoadDatabase(Behaviors.Database.Jsonable saved, bool removeUnusedBehaviors, HashSet <string> usedBrainIds) { db.Load(saved, removeUnusedBehaviors, usedBrainIds); SyncAllUsedBehaviors(); SyncDatabase(); }
public void LoadDatabaseForNetworkInit(Behaviors.Database.Jsonable saved) { db.LoadForNetworkInit(saved); SyncAllUsedBehaviors(); SyncDatabase(); }