https://github.com/xjine/unity_seasonutil
Utility to handle season.
https://github.com/xjine/unity_seasonutil
assets unity
Last synced: 2 months ago
JSON representation
Utility to handle season.
- Host: GitHub
- URL: https://github.com/xjine/unity_seasonutil
- Owner: XJINE
- License: bsd-3-clause
- Created: 2022-09-15T09:19:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-01T12:52:31.000Z (almost 4 years ago)
- Last Synced: 2025-04-03T09:12:40.555Z (about 1 year ago)
- Topics: assets, unity
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity_SeasonUtil
Utility to handle season.
## Importing
You can use Package Manager or import it directly.
```
https://github.com/XJINE/Unity_SeasonUtil.git?path=Assets/Packages/SeasonUtil
```
## How to Use
There are some properties and functions to get season from month.
```csharp
public enum Season { Spring, Summer, Autumn, Winter }
public static Season SeasonFromSystemDateMonthInJapaneseMeteorology
public static Season SeasonFromSystemDateMonthInLunisolarCalendar
public static Season SeasonFromMonthInLunisolarCalendar(int month)
```