diff --git a/Assets/Scripts/DeterministicFractalGenerator.cs b/Assets/Scripts/DeterministicFractalGenerator.cs index 4a622a3..703de5c 100644 --- a/Assets/Scripts/DeterministicFractalGenerator.cs +++ b/Assets/Scripts/DeterministicFractalGenerator.cs @@ -30,6 +30,7 @@ public void Start() renderHolder = _renderHolder; latestRender = Instantiate(SquarePrefab, renderHolder.transform); + latestRender.GetComponent().color = settingsManager.fractalColor; latestRender.name = timesIterated.ToString(); R1.Enqueue(latestRender); diff --git a/Assets/Scripts/SettingsManager.cs b/Assets/Scripts/SettingsManager.cs index a0baa2f..4530cee 100644 --- a/Assets/Scripts/SettingsManager.cs +++ b/Assets/Scripts/SettingsManager.cs @@ -54,19 +54,19 @@ private void Awake() { instance = this; CameraSize = Camera.main.orthographicSize; - } - - private void Start() - { - ifsCode = new List(); - ifsCode.Add(new float[ifsRowLength]); - + ColorPalette _colorPalette = new ColorPalette(); _colorPalette.color = ColorPalette.ColorPaletteColors._FFFFFF; SetBackgroundColorButtons(_colorPalette); _colorPalette.color = ColorPalette.ColorPaletteColors._4D4D4D; SetFractalColorButtons(_colorPalette); + } + + private void Start() + { + ifsCode = new List(); + ifsCode.Add(new float[ifsRowLength]); fractalOffset = new Vector2(Screen.width / 2, Screen.height / 2); } diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index ac14fc5..df16f10 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -124,7 +124,7 @@ PlayerSettings: 16:10: 0 16:9: 1 Others: 0 - bundleVersion: 1.0 + bundleVersion: 2.1 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0