Use a universally supported library for file picking

This commit is contained in:
Lncvrt committed 2025-08-26 14:10:55 -07:00
1 parent 36b2b5cd36
commit 996ea62161
160 files changed
+23680 -3728

No files matched your search

@@ -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);
}