Search Unity

Question Can't order list items with Unity VS

Discussion in 'Visual Scripting' started by professionjay, Apr 2, 2023.

  1. professionjay

    professionjay

    Joined:
    Jan 21, 2022
    Posts:
    3
    Hello.
    Is there no node to ordering list items with Unity VS?
    Until now, I used AotList.Sort and AotList.Reverse to ascend and descend order of list items, but as you know, these nodes can only be applied to AotList.
    If you know other nodes to order list, please answer to this thread.
     
  2. Welfarecheck

    Welfarecheck

    Joined:
    Jun 14, 2020
    Posts:
    120
    Add the other types. Then you can access the different sorts.

    You can't access things like Linq in VS without making a script a a bridge. Just be aware of that.

    upload_2023-4-7_9-28-9.png