/
vasandi
/
AirSim
Обзор
Документация
Войти
/
vasandi
/
AirSim
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Unity/UnityDemo/Assets/AirSimAssets/Scripts/Weather/WeatherParamScalarCollection.cs
22 строки
564 B
Андрей Васильченко
сборка под ubuntu 26.04
08 июл 2026, 10:15
08 июл 2026, 10:15
d53c5a2
Код
Авторство
О чём код?
namespace AirSimUnity { /// <summary> /// Stores a set of float weather settings and applies them to instances of weather effects in the scene. /// </summary> public class WeatherParamScalarCollection { public enum WeatherParamScalar { Snow, Count } private float[] values = new float[(int)WeatherParamScalar.Count]; public float this[WeatherParamScalar index] { get => values[(int)index]; set => values[(int)index] = value; } } }