Files
Crash-Course/Documentation/api/Game.DayNightCycle.yml

352 lines
8.7 KiB
YAML
Raw Normal View History

2025-04-16 19:20:36 -04:00
### YamlMime:ManagedReference
items:
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle
commentId: T:Game.DayNightCycle
2025-04-16 19:20:36 -04:00
id: DayNightCycle
2025-04-16 19:57:54 -04:00
parent: Game
2025-04-16 19:20:36 -04:00
children:
2025-04-16 19:57:54 -04:00
- Game.DayNightCycle.cycleDuration
- Game.DayNightCycle.dayBackClouds
- Game.DayNightCycle.dayFrontClouds
- Game.DayNightCycle.daySky
- Game.DayNightCycle.eveningBackClouds
- Game.DayNightCycle.eveningFrontClouds
- Game.DayNightCycle.eveningSky
- Game.DayNightCycle.nightBackClouds
- Game.DayNightCycle.nightFrontClouds
- Game.DayNightCycle.nightSky
- Game.DayNightCycle.transitionDuration
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: DayNightCycle
nameWithType: DayNightCycle
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
type: Class
source:
id: DayNightCycle
path: ''
2025-04-19 12:59:07 -04:00
startLine: 11
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nManages the day-night cycle by transitioning between different sky and cloud sprites.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: 'public class DayNightCycle : MonoBehaviour'
content.vb: Public Class DayNightCycle Inherits MonoBehaviour
inheritance:
- System.Object
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.daySky
commentId: F:Game.DayNightCycle.daySky
2025-04-16 19:20:36 -04:00
id: daySky
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: daySky
nameWithType: DayNightCycle.daySky
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.daySky
2025-04-16 19:20:36 -04:00
type: Field
source:
id: daySky
path: ''
2025-04-19 12:59:07 -04:00
startLine: 16
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the sky during the day.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer daySky
return:
type: Global.SpriteRenderer
content.vb: Public daySky As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.eveningSky
commentId: F:Game.DayNightCycle.eveningSky
2025-04-16 19:20:36 -04:00
id: eveningSky
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: eveningSky
nameWithType: DayNightCycle.eveningSky
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.eveningSky
2025-04-16 19:20:36 -04:00
type: Field
source:
id: eveningSky
path: ''
2025-04-19 12:59:07 -04:00
startLine: 21
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the sky during the evening.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer eveningSky
return:
type: Global.SpriteRenderer
content.vb: Public eveningSky As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.nightSky
commentId: F:Game.DayNightCycle.nightSky
2025-04-16 19:20:36 -04:00
id: nightSky
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: nightSky
nameWithType: DayNightCycle.nightSky
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.nightSky
2025-04-16 19:20:36 -04:00
type: Field
source:
id: nightSky
path: ''
2025-04-19 12:59:07 -04:00
startLine: 26
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the sky during the night.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer nightSky
return:
type: Global.SpriteRenderer
content.vb: Public nightSky As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.dayBackClouds
commentId: F:Game.DayNightCycle.dayBackClouds
2025-04-16 19:20:36 -04:00
id: dayBackClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: dayBackClouds
nameWithType: DayNightCycle.dayBackClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.dayBackClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: dayBackClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 31
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the back clouds during the day.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer dayBackClouds
return:
type: Global.SpriteRenderer
content.vb: Public dayBackClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.eveningBackClouds
commentId: F:Game.DayNightCycle.eveningBackClouds
2025-04-16 19:20:36 -04:00
id: eveningBackClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: eveningBackClouds
nameWithType: DayNightCycle.eveningBackClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.eveningBackClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: eveningBackClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 36
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the back clouds during the evening.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer eveningBackClouds
return:
type: Global.SpriteRenderer
content.vb: Public eveningBackClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.nightBackClouds
commentId: F:Game.DayNightCycle.nightBackClouds
2025-04-16 19:20:36 -04:00
id: nightBackClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: nightBackClouds
nameWithType: DayNightCycle.nightBackClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.nightBackClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: nightBackClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 41
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the back clouds during the night.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer nightBackClouds
return:
type: Global.SpriteRenderer
content.vb: Public nightBackClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.dayFrontClouds
commentId: F:Game.DayNightCycle.dayFrontClouds
2025-04-16 19:20:36 -04:00
id: dayFrontClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: dayFrontClouds
nameWithType: DayNightCycle.dayFrontClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.dayFrontClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: dayFrontClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 46
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the front clouds during the day.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer dayFrontClouds
return:
type: Global.SpriteRenderer
content.vb: Public dayFrontClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.eveningFrontClouds
commentId: F:Game.DayNightCycle.eveningFrontClouds
2025-04-16 19:20:36 -04:00
id: eveningFrontClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: eveningFrontClouds
nameWithType: DayNightCycle.eveningFrontClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.eveningFrontClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: eveningFrontClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 51
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the front clouds during the evening.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer eveningFrontClouds
return:
type: Global.SpriteRenderer
content.vb: Public eveningFrontClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.nightFrontClouds
commentId: F:Game.DayNightCycle.nightFrontClouds
2025-04-16 19:20:36 -04:00
id: nightFrontClouds
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: nightFrontClouds
nameWithType: DayNightCycle.nightFrontClouds
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.nightFrontClouds
2025-04-16 19:20:36 -04:00
type: Field
source:
id: nightFrontClouds
path: ''
2025-04-19 12:59:07 -04:00
startLine: 56
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nSprite representing the front clouds during the night.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public SpriteRenderer nightFrontClouds
return:
type: Global.SpriteRenderer
content.vb: Public nightFrontClouds As SpriteRenderer
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.transitionDuration
commentId: F:Game.DayNightCycle.transitionDuration
2025-04-16 19:20:36 -04:00
id: transitionDuration
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: transitionDuration
nameWithType: DayNightCycle.transitionDuration
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.transitionDuration
2025-04-16 19:20:36 -04:00
type: Field
source:
id: transitionDuration
path: ''
2025-04-19 12:59:07 -04:00
startLine: 61
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nDuration of the transition between different phases of the day-night cycle.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float transitionDuration
return:
type: System.Single
content.vb: Public transitionDuration As Single
2025-04-16 19:57:54 -04:00
- uid: Game.DayNightCycle.cycleDuration
commentId: F:Game.DayNightCycle.cycleDuration
2025-04-16 19:20:36 -04:00
id: cycleDuration
2025-04-16 19:57:54 -04:00
parent: Game.DayNightCycle
2025-04-16 19:20:36 -04:00
langs:
- csharp
- vb
name: cycleDuration
nameWithType: DayNightCycle.cycleDuration
2025-04-16 19:57:54 -04:00
fullName: Game.DayNightCycle.cycleDuration
2025-04-16 19:20:36 -04:00
type: Field
source:
id: cycleDuration
path: ''
2025-04-19 12:59:07 -04:00
startLine: 66
2025-04-16 19:20:36 -04:00
assemblies:
- cs.temp.dll
2025-04-16 19:57:54 -04:00
namespace: Game
2025-04-19 12:59:07 -04:00
summary: "\nDuration of each phase (day, evening, night) before transitioning to the next phase.\n"
example: []
2025-04-16 19:20:36 -04:00
syntax:
content: public float cycleDuration
return:
type: System.Single
content.vb: Public cycleDuration As Single
references:
2025-04-16 19:57:54 -04:00
- uid: Game
commentId: N:Game
name: Game
nameWithType: Game
fullName: Game
2025-04-16 19:20:36 -04:00
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: Global.SpriteRenderer
isExternal: true
name: SpriteRenderer
nameWithType: SpriteRenderer
fullName: SpriteRenderer
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single