forked from Shardstone/trail-into-darkness
finished readme
This commit is contained in:
@@ -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
|
||||||
|
|||||||
14
Packages/com.jovian.calendar/Samples~/README.md
Normal file
14
Packages/com.jovian.calendar/Samples~/README.md
Normal 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)`
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user