finished readme

This commit is contained in:
Sebastian Bularca
2026-04-12 19:19:04 +02:00
parent 0e00e798fd
commit 34f99434b9
3 changed files with 44 additions and 1 deletions

View File

@@ -24,6 +24,6 @@ MonoBehaviour:
daysPerWeek: 7 daysPerWeek: 7
startYear: 4232 startYear: 4232
startMonth: 1 startMonth: 1
startDay: 0 startDay: 1
startHour: 8 startHour: 8
startMinute: 0 startMinute: 0

View File

@@ -0,0 +1,14 @@
# Calendar Samples
## Settings
| Asset | Description |
|---|---|
| `CalendarSettings` | Example calendar configuration with fantasy month names and a 10-second day cycle |
## How to use
1. Import the samples via the Unity Package Manager (select the package, expand Samples, click Import)
2. Copy the CalendarSettings asset into your project
3. Adjust the values to match your game's calendar (day length, months, month names, etc.)
4. Load via Addressables or direct reference and pass to `new WorldClock(settings)`

View File

@@ -0,0 +1,29 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e3a6df85a820d0a4db469ae8a20ea773, type: 3}
m_Name: CalendarSettings
m_EditorClassIdentifier: Assembly-CSharp::Nox.Game.CalendarSettings
secondsPerFullDay: 60
hoursPerDay: 24
minutesPerHour: 60
daysPerMonth: 5a0000005a0000005a0000005a000000
monthNames:
- Ashveil
- Thornmere
- Duskhollow
- 'Frosthollow '
daysPerWeek: 7
startYear: 4232
startMonth: 1
startDay: 0
startHour: 8
startMinute: 0