// private bool waitForJuliaSetToRender = false; // Use this for initialization void Start() { IFormConfiguration formConfig1 = new FormConfig1(); IFormConfiguration formConfig2 = new FormConfig2(); IFormConfiguration formConfig3 = new FormConfig3(); IFormConfiguration formConfig4 = new FormConfig4(); IFormConfiguration formConfig5 = new FormConfig5(); IFormConfiguration formConfig6 = new FormConfig6(); IFormConfiguration formConfig7 = new FormConfig7(); IFormConfiguration formConfig8 = new FormConfig8(); IFormConfiguration formConfig9 = new FormConfig9(); allConfigs.Add(formConfig1); allConfigs.Add(formConfig2); allConfigs.Add(formConfig3); allConfigs.Add(formConfig4); allConfigs.Add(formConfig5); allConfigs.Add(formConfig6); allConfigs.Add(formConfig7); allConfigs.Add(formConfig8); allConfigs.Add(formConfig9); currentConfig = formConfig1; dawnMaterial = Resources.Load("DawnDusk Skybox") as Material; eerieMaterial = Resources.Load("Eerie Skybox") as Material; nightMaterial = Resources.Load("StarryNight Skybox") as Material; mainCamera = Camera.main; mainCamera.clearFlags = CameraClearFlags.Skybox; RenderSettings.skybox = dawnMaterial; backgroundCamera = GameObject.Find("Background Camera").GetComponent <Camera>(); backgroundCamera.enabled = false; formBuilderPalette = new FormBuilderPalette(this); colourPalette = new ColourPalette(this); helpPalette = new HelpPalette(); //initialiase with something createNewBrush(); //slot 1 //make it colourful colourConfig.setCycle(true); colourConfig.setPulse(true); colourConfig.setFadeColour(true); autoPreset = true; autoMutate1 = true; }
// private bool waitForJuliaSetToRender = false; // Use this for initialization void Start() { IFormConfiguration formConfig1 = new FormConfig1 (); IFormConfiguration formConfig2 = new FormConfig2 (); IFormConfiguration formConfig3 = new FormConfig3 (); IFormConfiguration formConfig4 = new FormConfig4 (); IFormConfiguration formConfig5 = new FormConfig5 (); IFormConfiguration formConfig6 = new FormConfig6 (); IFormConfiguration formConfig7 = new FormConfig7 (); IFormConfiguration formConfig8 = new FormConfig8 (); IFormConfiguration formConfig9 = new FormConfig9 (); allConfigs.Add (formConfig1); allConfigs.Add (formConfig2); allConfigs.Add (formConfig3); allConfigs.Add (formConfig4); allConfigs.Add (formConfig5); allConfigs.Add (formConfig6); allConfigs.Add (formConfig7); allConfigs.Add (formConfig8); allConfigs.Add (formConfig9); currentConfig = formConfig1; dawnMaterial = Resources.Load("DawnDusk Skybox") as Material; eerieMaterial = Resources.Load("Eerie Skybox") as Material; nightMaterial = Resources.Load("StarryNight Skybox") as Material; mainCamera = Camera.main; mainCamera.clearFlags = CameraClearFlags.Skybox; RenderSettings.skybox = dawnMaterial; backgroundCamera = GameObject.Find ("Background Camera").GetComponent<Camera>(); backgroundCamera.enabled = false; formBuilderPalette = new FormBuilderPalette (this); colourPalette = new ColourPalette (this); helpPalette = new HelpPalette (); //initialiase with something createNewBrush(); //slot 1 //make it colourful colourConfig.setCycle (true); colourConfig.setPulse (true); colourConfig.setFadeColour (true); autoPreset = true; autoMutate1 = true; }