Use server response for message
This commit is contained in:
@@ -5011,7 +5011,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0.5}
|
||||||
m_AnchorMax: {x: 1, y: 0.5}
|
m_AnchorMax: {x: 1, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: -218.75}
|
m_AnchoredPosition: {x: 0, y: -218.75}
|
||||||
m_SizeDelta: {x: 0, y: 62.5}
|
m_SizeDelta: {x: -20, y: 62.5}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &1732844198
|
--- !u!114 &1732844198
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ public class IconMarketplaceUploadIcon : MonoBehaviour
|
|||||||
if ((bool)jsonResponse["success"])
|
if ((bool)jsonResponse["success"])
|
||||||
{
|
{
|
||||||
Reset();
|
Reset();
|
||||||
Tools.UpdateStatusText(statusText, "Icon uploaded successfully!", Color.green);
|
Tools.UpdateStatusText(statusText, (string)jsonResponse["message"], Color.green);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user