Browse Source

Added null safety check

master
Christopher 8 years ago
parent
commit
daad2633fc
  1. 5
      Assets/Fungus/Scripts/Commands/SetSliderValue.cs

5
Assets/Fungus/Scripts/Commands/SetSliderValue.cs

@ -24,7 +24,10 @@ namespace Fungus
public override void OnEnter()
{
slider.value = value;
if (slider != null)
{
slider.value = value;
}
Continue();
}

Loading…
Cancel
Save