A specialized dropdown component that fetches regions from the cloud and allows selection of a region. More...
Inherits Dropdown.
Public Member Functions | |
string | GetValue () |
Get the currently selected value from the dropdown. More... | |
override async void | OnPointerClick (PointerEventData eventData) |
Overload the OnPointerClick method to commence fetching the regions from the Photon cloud. More... | |
void | SelectValue (string value, bool addIfNotFound) |
Adding a public method to select a certain value in the dropdown. The base implementation do not provide this. More... | |
Public Attributes | |
bool | FetchRegionsFromCloud = true |
Enable or disable the runtime fetching of regions from the cloud. More... | |
Action | OnFetchingEnd |
A callback to run when the region fetching ends. More... | |
Action | OnFetchingStart |
A callback to run when the region fetching starts. More... | |
Protected Member Functions | |
virtual async System.Threading.Tasks.Task< List< string > > | GetAvailableRegionsAsync () |
Boilerplate code to run the partial methods that implements fetching the regions from the cloud. More... | |
A specialized dropdown component that fetches regions from the cloud and allows selection of a region.
|
inline |
Adding a public method to select a certain value in the dropdown. The base implementation do not provide this.
value | The value to set when found |
addIfNotFound | Add the value to the options if not found |
|
inline |
Get the currently selected value from the dropdown.
|
inline |
Overload the OnPointerClick method to commence fetching the regions from the Photon cloud.
|
inlineprotectedvirtual |
Boilerplate code to run the partial methods that implements fetching the regions from the cloud.
bool Quantum.QuantumStartUIRegionDropdown.FetchRegionsFromCloud = true |
Enable or disable the runtime fetching of regions from the cloud.
Action Quantum.QuantumStartUIRegionDropdown.OnFetchingStart |
A callback to run when the region fetching starts.
Action Quantum.QuantumStartUIRegionDropdown.OnFetchingEnd |
A callback to run when the region fetching ends.