Can you open up the new climate to be set as there all private thanks.
Expose Climate fields/methodsSolved
Yes, we'll get that done in the next optional update.
Thanks i tried
Its there in the list but the command gives me
> weather.load Flood
Weather preset not found: Flood
Merged post
Witch ones didyou open up?
some are still private?
WeatherPreset preset = ScriptableObject.CreateInstance<WeatherPreset>();
preset.name = "Flood";
preset.Wind = 1;
preset.Rain = 1;
preset.Thunder = 1;
preset.Rainbow = 1;
WeatherPreset[] presets = SingletonComponent<Climate>.Instance.WeatherPresets;
Array.Resize(ref presets, presets.Length + 1);
presets[presets.Length - 1] = preset;
timer.Once(5f, () =>
{
foreach (var key in presets)
Puts(key.name);
});Its there in the list but the command gives me
> weather.load Flood
Weather preset not found: Flood
Merged post
Witch ones didyou open up?
some are still private?
public float WeatherStateBlend { get; private set; }
public uint WeatherSeedPrevious { get; private set; }
public uint WeatherSeedTarget { get; private set; }
public uint WeatherSeedNext { get; private set; }
public WeatherPreset WeatherStatePrevious { get; private set; }
public WeatherPreset WeatherStateTarget { get; private set; }
public WeatherPreset WeatherStateNext { get; private set; }
public WeatherPreset WeatherState { get; private set; }
public WeatherPreset WeatherClamps { get; private set; }
public WeatherPreset WeatherOverrides { get; private set; }
public LegacyWeatherState Overrides { get; private set; }
Ah, yeah... yeah, missed the public setters.
:) hope comes threw Quick lol. It hapenes.
Locked automatically