C# Class DayNight, nyu_studio_summer2015

Inheritance: MonoBehaviour
Show file Open project: radiatoryang/nyu_studio_summer2015 Class Usage Examples

Public Properties

Property Type Description
currentTime float
highNoonColor Color
highNoonRotation Vector3
sun Light
timeSpeed float

Public Methods

Method Description
ChangeSpeedOfDay ( float newSpeedOfDay ) : void
ChangeTimeOfDay ( float newTimeOfDay ) : void
Update ( ) : void

Method Details

ChangeSpeedOfDay() public method

public ChangeSpeedOfDay ( float newSpeedOfDay ) : void
newSpeedOfDay float
return void

ChangeTimeOfDay() public method

public ChangeTimeOfDay ( float newTimeOfDay ) : void
newTimeOfDay float
return void

Update() public method

public Update ( ) : void
return void

Property Details

currentTime public property

public float currentTime
return float

highNoonColor public property

public Color highNoonColor
return Color

highNoonRotation public property

public Vector3 highNoonRotation
return Vector3

sun public property

public Light sun
return Light

timeSpeed public property

public float timeSpeed
return float