Use a universally supported library for file picking

This commit is contained in:
2025-08-26 14:10:27 -07:00
parent 36b2b5cd36
commit 996ea62161
160 changed files with 23680 additions and 3728 deletions

View File

@@ -18,11 +18,6 @@ public class IconMarketplaceManager : MonoBehaviour
void Start()
{
downloadButton.onClick.AddListener(() => SwitchPanel(1));
#if !UNITY_STANDALONE_OSX && !UNITY_STANDALONE_WIN && !UNITY_STANDALONE_LINUX && !UNITY_EDITOR
uploadButton.interactable = false;
uploadButton.transform.GetChild(0).transform.localPosition = new Vector3(0, 10, 0);
uploadButton.transform.GetChild(1).GetComponent<TMP_Text>().text = "Unsupported platform";
#else
if (BazookaManager.Instance.GetAccountID() != null && BazookaManager.Instance.GetAccountName() != null && BazookaManager.Instance.GetAccountSession() != null)
{
uploadButton.onClick.AddListener(() => SwitchPanel(2));
@@ -33,7 +28,6 @@ public class IconMarketplaceManager : MonoBehaviour
uploadButton.transform.GetChild(0).transform.localPosition = new Vector3(0, 10, 0);
uploadButton.transform.GetChild(1).GetComponent<TMP_Text>().text = "Not logged in to an account";
}
#endif
SwitchPanel(0);
}