terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Set()

void UnityEngine.UI.Dropdown.Set ( int value,
bool sendCallback = true )
inlineprivate

Definition at line 184 of file Dropdown.cs.

185 {
186 bool isPlaying = Application.isPlaying;
187 int value2 = this.m_Value;
188 if (this.m_Options.m_Options._size == 0)
189 {
190 return;
191 }
192 int num;
193 this.m_Value = num;
194 this.RefreshShownValue();
195 UISystemProfilerApi.AddMarker("Dropdown.value", this);
197 int value3 = this.m_Value;
198 }
class f__AnonymousType0<< Count > j__TPar
Dropdown.OptionDataList m_Options
Definition Dropdown.cs:548
Dropdown.DropdownEvent onValueChanged
Definition Dropdown.cs:118
Dropdown.DropdownEvent m_OnValueChanged
Definition Dropdown.cs:553

References UnityEngine.UISystemProfilerApi.AddMarker(), UnityEngine.Application.isPlaying, j__TPar, UnityEngine.UI.Dropdown.m_OnValueChanged, UnityEngine.UI.Dropdown.m_Options, UnityEngine.UI.Dropdown.m_Value, UnityEngine.UI.Dropdown.onValueChanged, and UnityEngine.UI.Dropdown.RefreshShownValue().

Referenced by UnityEngine.UI.Dropdown.SetValueWithoutNotify().