Accessing The FILE EXPLORER in UNITY 2D! C# Tutorial 2020

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 53

  • @theultimatedeveloper4736
    @theultimatedeveloper4736  3 роки тому +7

    Find the updated FILE EXPLORER TUTORIAL 2021 HERE (Works on build & editor) - No More Errors! - ua-cam.com/video/Z1qT65GL-6Q/v-deo.html

    • @rb76768
      @rb76768 Рік тому +1

      So does this work on mobile?? :D

  • @wajiharehman323
    @wajiharehman323 3 роки тому +1

    Spent a whole day looking for how to do this. Thank you!

  • @laniakeadev.2271
    @laniakeadev.2271 2 роки тому +11

    This only available in Editor.

  • @lubu682
    @lubu682 2 роки тому +1

    I'm making a rhythm game where users can upload songs so this was wonderful, thanks!

    • @jerry-nguyen.11
      @jerry-nguyen.11 2 роки тому

      osu intensifiies

    • @lubu682
      @lubu682 2 роки тому +1

      @@jerry-nguyen.11 lmfao yes, but simpler

  • @arranmcpherson2823
    @arranmcpherson2823 3 роки тому +7

    If you need the image to scale properly you can use these lines after the lines " rawImage.texture = uwrTexture; " (line 39) inside the else statement.
    |
    V
    int w = uwrTexture.width;
    int h = uwrTexture.height;
    rawImage.GetComponent().sizeDelta = new Vector2(w, h);

  • @nurameerah4262
    @nurameerah4262 Рік тому

    Hello sir! Thank you very much for the tutorial.
    I've found www.isNetworkError and www.isHttpError is decrypted in unity 2021.3 .
    It is replaced the line 26 with
    if (www.result == UnityWebRequest.Result.ConnectionError || www.result == UnityWebRequest.Result.ProtocolError)
    and it worked. 😁

  • @danuvip
    @danuvip 2 роки тому

    THANK YOU SOOO MUCH, i liturally despaired on this for 8 hours STRAIGHT! but its finally over! thaaaanks

  • @SpriteTheDude
    @SpriteTheDude 3 роки тому +3

    Will this work on an android build? I am trying to upload a picture from my phone with an unity app.

    • @philipgeorgiev
      @philipgeorgiev 3 роки тому +4

      I don't think so, its using Editor class. I am looking for the same thing

    • @dodget3
      @dodget3 2 роки тому

      Did either of y'all have any luck?

  • @philipgeorgiev
    @philipgeorgiev 3 роки тому +6

    does this work only in editor ?

  • @rb76768
    @rb76768 Рік тому +1

    Does this work for mobile??

  • @slash7076
    @slash7076 3 роки тому +1

    very good!
    Thanks this tutorial is very informations.
    P.s.
    I'm Russian.
    Да всем Русским привет!

  • @ionroy
    @ionroy 2 роки тому

    Exactly what I was looking for, Thanks a ton for this amazing tutorial.

  • @scyq
    @scyq 2 роки тому

    nice video! still helpful in 2022

  • @nobaihazaman3789
    @nobaihazaman3789 3 роки тому

    Loved the tutorial, works great for me! I was wondering does anyone know if there's a way to save those images that are uploaded? like make a copy of them in a folder in the unity project.

  • @nikgrmek
    @nikgrmek 3 роки тому +2

    Hi man! Great tutorial! 😁 Im yout wondering if you know how to save the image, so that its stays the same even if you quit the game😄 That would be awesome! 😁✌️

    • @theultimatedeveloper4736
      @theultimatedeveloper4736  3 роки тому +1

      Hi Nik, I have not done something like that before however, I can look into it for you. Have a great day & don't forget to hit that subscribe button 😁

    • @nikgrmek
      @nikgrmek 3 роки тому +1

      @@theultimatedeveloper4736 It will be awesome if you can figure this out! And I subscribed already! Stay best! 😄

    • @mtirscode1924
      @mtirscode1924 3 роки тому

      ua-cam.com/video/X8s63Ozhu8k/v-deo.html

    • @sanctuarydude2441
      @sanctuarydude2441 3 роки тому

      I'm also curious about how to go about doing this. :D

    • @ssa3430
      @ssa3430 2 роки тому

      @@theultimatedeveloper4736 did you get any results for this ?

  • @AbdulHanan-vr4es
    @AbdulHanan-vr4es Рік тому

    this only works for editor, is there a way where i can do this in windows build as well ??

  • @LookDev05
    @LookDev05 2 роки тому

    Is this work on smartphones as well?

  • @berwoutgysels2612
    @berwoutgysels2612 2 роки тому

    thank you for the clear info my man

  • @elusuarioperpetuo
    @elusuarioperpetuo 2 роки тому +1

    on android?

  • @zulks92
    @zulks92 5 місяців тому

    does it work on webgl?

  • @yangkaihor4251
    @yangkaihor4251 3 роки тому

    Can u teach me how to edit desktop wallpaper using unity to change?

  • @tomatoprivato7415
    @tomatoprivato7415 2 роки тому +1

    That doesn’t work for me with MP4 video. I get a red question mark in the raw image. Any ideas?

  • @stephenkentperez7705
    @stephenkentperez7705 Рік тому

    i want to set the file path folder.

  • @LoganoutGm
    @LoganoutGm 3 роки тому +1

    How should I edit the script, if it is not possible to compile with "UnityEditor"?

    • @EnriquePage91
      @EnriquePage91 3 роки тому +2

      you can't. This only works in Editor precisely because it is using UnityEditor functionality. Think of it as code that is NOT allowed to be deployed with your application since it can only run while IN engine.

    • @EnriquePage91
      @EnriquePage91 3 роки тому +1

      Maybe @The Ultimate Developer can correct me if I am wrong, but AFAIK this will simply not build. It can be used while in-engine though, which is good enough in many cases for the production of an app, but not when you need the functionality inside of the app itself.

    • @theultimatedeveloper4736
      @theultimatedeveloper4736  3 роки тому +2

      Hi, you are correct. That will only work in the Editor However, I think I have a solution to make it work on build as well. I only tested it on desktop though. I will share it with you guys soon. Take care.

    • @EnriquePage91
      @EnriquePage91 3 роки тому

      @@theultimatedeveloper4736 oh nice! that would be great to know about. Thanks!

    • @theultimatedeveloper4736
      @theultimatedeveloper4736  3 роки тому

      @@EnriquePage91 Hi please see updated file explorer video

  • @averageenjoyer301
    @averageenjoyer301 3 роки тому

    @The Ultimate Developer this tutorial is great it, it helped me out a lot. Do you know how this works for materials? So that if you select a material from your explorer that it will be assigned as a material? This would be amazing! Stay healthy :)

  • @JUANZ503
    @JUANZ503 4 місяці тому

    how to get a list music?

  • @НовыеЗвезды-щ5и
    @НовыеЗвезды-щ5и 2 роки тому +1

    А вы вкурсе что это не работает, если делать сборку программы.

  • @latech2142
    @latech2142 3 роки тому

    Thank you

  • @muhammadamrin8391
    @muhammadamrin8391 2 роки тому +1

    how to make button open pdf file in unity?

    • @buyfullcode
      @buyfullcode Рік тому

      Exactly I am stuck here, I want to choose pdf and need to send to server.

  • @vitatv9720
    @vitatv9720 Рік тому

    Thx~~!!!

  • @rpgslayer_01
    @rpgslayer_01 3 роки тому

    Hello, it's not showing any images in my file explorer. How to fix this, plz?

    • @rpgslayer_01
      @rpgslayer_01 3 роки тому

      Oh my, it's "OpenFilePanel", not "OpenFolderPanel".

  • @technofeeliak
    @technofeeliak Рік тому

    Deprecated... (www.isNetworkError || www.isHttpError)
    is now just... (www.error == null)