protected override void ComputeParameterHash(BinarySerializationWriter writer)
            {
                base.ComputeParameterHash(writer);

                EnsureClonedSceneAndHash();
                writer.Write(sceneHash);
                writer.Write(asset.SelectedGroups);

                var navigationSettings = gameSettingsAsset.GetOrDefault <NavigationSettings>();

                writer.Write(navigationSettings.Groups);
            }
Esempio n. 2
0
 private void UpdateGameSettings(GameSettingsAsset currentGameSettings)
 {
     databaseGameSettings.GetOrCreate <EditorSettings>().RenderingMode             = currentGameSettings.GetOrCreate <EditorSettings>().RenderingMode;
     databaseGameSettings.GetOrCreate <RenderingSettings>().ColorSpace             = currentGameSettings.GetOrCreate <RenderingSettings>().ColorSpace;
     databaseGameSettings.GetOrCreate <Navigation.NavigationSettings>().Groups     = currentGameSettings.GetOrDefault <Navigation.NavigationSettings>().Groups;
     databaseGameSettings.GetOrCreate <RenderingSettings>().DefaultGraphicsProfile = currentGameSettings.GetOrCreate <RenderingSettings>().DefaultGraphicsProfile;
 }