DayNightCycleAsset - A Free Unity Day-Night Cycle System
=========================================================

Thank you for downloading the DayNightCycleAsset! This free Unity asset provides an easy-to-use day-night cycle system for your projects. It includes a LightingManager component, LightingPreset assets, and sample scenes to help you quickly set up beautiful day-night cycles in your Unity scenes.

Getting Started
---------------

1. Import the DayNightCycleAsset.unitypackage into your project.
2. In the Unity Editor, navigate to the DayNightCycleAsset folder in the Assets directory.
3. Locate the LightingManager script in the folder and add it as a component to an empty GameObject in your scene.

Setting Up LightingManager
---------------------------

1. Create a Directional Light in your scene, which will represent the sun. Assign this light to the "Directional Light Sun" field in the LightingManager component.
2. Choose a LightingPreset asset from the "Presets" folder and assign it to the "Lighting Preset" field in the LightingManager component. You can use the included presets (Earth, Moon, or Alien Planet) or create your own.
3. Set the desired ambient mode by selecting one from the dropdown menu in the LightingManager component (e.g., Skybox, Gradient, or Flat).
4. Enable or disable fog by toggling the "Use Fog" checkbox in the LightingManager component.

Creating Custom LightingPresets
-------------------------------

1. In the Unity Editor, right-click in the Project window and choose "Create > DayNightCycle > Lighting Preset" to create a new LightingPreset asset.
2. Configure the Ambient Color, Directional Color, and Fog Color gradient fields for your custom preset. These gradients define how the colors change over a day (X-axis represents the time of day from 0 to 1).
3. Save your custom preset and assign it to the "Lighting Preset" field in the LightingManager component.

Sample Scenes
-------------

The DayNightCycleAsset includes sample scenes that demonstrate the use of the day-night cycle system with different presets. To view these sample scenes, navigate to the "Scenes" folder inside the DayNightCycleAsset folder.

Support and Feedback
--------------------

For any questions, bug reports, or feedback, please reach out to faelangames2022@gmail.com. We appreciate your support and hope you enjoy using the DayNightCycleAsset in your Unity projects!
