Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xjine/unity_seasonutil
Utility to handle season.
https://github.com/xjine/unity_seasonutil
assets unity
Last synced: 15 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-01T12:52:31.000Z (about 2 years ago)
- Last Synced: 2024-03-20T20:12:35.926Z (10 months 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)
```