This class manages the uGUI of the Steam Workshop upload item menu. It registers to events of SteamWorkshopMain class, e.g. SteamWorkshopMain.OnUploaded. SteamWorkshopUIUpload also receives UI callbacks from uGUI buttons and other elements. You can replace this class with your own UI e.g. NGUI. In this case you need to take care of registering to events and calling methods of the SteamWorkshopMain class from your new implementation.
More...
Inherits MonoBehaviour.
This class manages the uGUI of the Steam Workshop upload item menu. It registers to events of SteamWorkshopMain class, e.g. SteamWorkshopMain.OnUploaded. SteamWorkshopUIUpload also receives UI callbacks from uGUI buttons and other elements. You can replace this class with your own UI e.g. NGUI. In this case you need to take care of registering to events and calling methods of the SteamWorkshopMain class from your new implementation.
◆ InvokeEventHandlerSafely< T >()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.InvokeEventHandlerSafely< T > |
( |
System.Action< T > |
p_handler, |
|
|
T |
p_data |
|
) |
| |
|
protectedvirtual |
◆ LateUpdate()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.LateUpdate |
( |
| ) |
|
|
protectedvirtual |
◆ LoadIcon()
virtual IEnumerator LapinerTools.Steam.UI.SteamWorkshopUIUpload.LoadIcon |
( |
string |
p_filePath | ) |
|
|
protectedvirtual |
◆ OnDestroy()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnDestroy |
( |
| ) |
|
|
protectedvirtual |
◆ OnEditDescription()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnEditDescription |
( |
string |
p_description | ) |
|
|
protectedvirtual |
◆ OnEditName()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnEditName |
( |
string |
p_name | ) |
|
|
protectedvirtual |
◆ OnScreenshotButtonClick()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnScreenshotButtonClick |
( |
| ) |
|
|
protectedvirtual |
◆ OnUploadButtonClick()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnUploadButtonClick |
( |
| ) |
|
|
protectedvirtual |
◆ SetDescriptionSafe()
virtual IEnumerator LapinerTools.Steam.UI.SteamWorkshopUIUpload.SetDescriptionSafe |
( |
string |
p_description | ) |
|
|
protectedvirtual |
◆ SetItemData()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.SetItemData |
( |
WorkshopItemUpdate |
p_itemData | ) |
|
|
virtual |
Call SetItemData to refresh the item UI.
- Parameters
-
p_itemData | item update data to be visualized. |
◆ ShowErrorMessage()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.ShowErrorMessage |
( |
ErrorEventArgs |
p_errorArgs | ) |
|
|
protectedvirtual |
◆ ShowSuccessMessage()
◆ ShowUploadProgress()
virtual IEnumerator LapinerTools.Steam.UI.SteamWorkshopUIUpload.ShowUploadProgress |
( |
| ) |
|
|
protectedvirtual |
◆ Start()
virtual void LapinerTools.Steam.UI.SteamWorkshopUIUpload.Start |
( |
| ) |
|
|
protectedvirtual |
◆ DESCRIPTION_INPUT
InputField LapinerTools.Steam.UI.SteamWorkshopUIUpload.DESCRIPTION_INPUT = null |
|
protected |
◆ ICON
RawImage LapinerTools.Steam.UI.SteamWorkshopUIUpload.ICON = null |
|
protected |
◆ ICON_HEIGHT
int LapinerTools.Steam.UI.SteamWorkshopUIUpload.ICON_HEIGHT = 512 |
|
protected |
◆ ICON_WIDTH
int LapinerTools.Steam.UI.SteamWorkshopUIUpload.ICON_WIDTH = 512 |
|
protected |
◆ m_improveNavigationFocus
bool LapinerTools.Steam.UI.SteamWorkshopUIUpload.m_improveNavigationFocus = true |
|
protected |
◆ m_isUploading
bool LapinerTools.Steam.UI.SteamWorkshopUIUpload.m_isUploading = false |
|
protected |
◆ m_itemData
◆ m_pendingImageDownload
WWW LapinerTools.Steam.UI.SteamWorkshopUIUpload.m_pendingImageDownload = null |
|
protected |
◆ NAME_INPUT
InputField LapinerTools.Steam.UI.SteamWorkshopUIUpload.NAME_INPUT = null |
|
protected |
◆ s_instance
◆ SCREENSHOT_BUTTON
Button LapinerTools.Steam.UI.SteamWorkshopUIUpload.SCREENSHOT_BUTTON = null |
|
protected |
◆ UPLOAD_BUTTON
Button LapinerTools.Steam.UI.SteamWorkshopUIUpload.UPLOAD_BUTTON = null |
|
protected |
◆ Instance
◆ OnDescriptionSet
System.Action<string> LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnDescriptionSet |
Invoked when the description InputField (DESCRIPTION_INPUT) is committed.
◆ OnFinishedUpload
Invoked when the upload process is finished successfully.
◆ OnIconFilePathSet
System.Action<string> LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnIconFilePathSet |
Invoked when the item icon was rendered and is available on disk.
◆ OnIconTextureSet
System.Action<Texture2D> LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnIconTextureSet |
Invoked when the item icon was rendered and the Textured2D instance is ready to be used.
◆ OnNameSet
System.Action<string> LapinerTools.Steam.UI.SteamWorkshopUIUpload.OnNameSet |
Invoked when the name InputField (NAME_INPUT) is committed.
◆ OnStartedUpload
Invoked when the upload process is started.
The documentation for this class was generated from the following file: