Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Send Array Data from WEB to UnityWebGl

Discussion in 'Getting Started' started by The_Dark11, Nov 18, 2021.

  1. The_Dark11

    The_Dark11

    Joined:
    Sep 10, 2021
    Posts:
    5
    I need help, I can't find a way to send Array[] via web through JavaScript, I can only send data. If someone could guide me with some repository or videos or files to understand how to do it, I would be very grateful.

    The image I uploaded is sending 1 data to Unity. I need to be able to send an Array, not just 1 data as I was able to do.

    Thank you very much!
     

    Attached Files:

  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Well, you do have an array of characters. What type of array do you need? Also, Unity doesn't use JavaScript, it uses C#. Please share your code so far.