Function to change sun location and create Day and Night effects.
More...
|
| void | SetTime (int hour, int minutes) |
| | set dun location as per Hour and Minute More...
|
| |
| void | SetLocation (float longitude, float latitude) |
| | Set sun location as per the Longitude and latitude More...
|
| |
|
void | SetUpdateSteps (int i) |
| |
|
void | SetTimeSpeed (float speed) |
| |
|
|
GameObject | sliderAndText |
| |
|
Toggle | sunLocationControl |
| |
|
Slider | longitudeSlider |
| |
|
Slider | latitudeSlider |
| |
|
Slider | sunHourSlider |
| |
|
Slider | sunMinuteSlider |
| |
Function to change sun location and create Day and Night effects.
Definition at line 16 of file Sun.cs.
◆ SetLocation()
| void AirControl.Sun.SetLocation |
( |
float |
longitude, |
|
|
float |
latitude |
|
) |
| |
|
inline |
Set sun location as per the Longitude and latitude
- Parameters
-
Definition at line 67 of file Sun.cs.
68 this.longitude = longitude;
69 this.latitude = latitude;
◆ SetTime()
| void AirControl.Sun.SetTime |
( |
int |
hour, |
|
|
int |
minutes |
|
) |
| |
|
inline |
set dun location as per Hour and Minute
- Parameters
-
| hour | Hour, limit 0-24 |
| minutes | Minutes, limit 0-60 |
Definition at line 57 of file Sun.cs.
59 this.minutes = minutes;
The documentation for this class was generated from the following file: