Using Lists with Bolt Visual Scripting

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 30

  • @sadikaeleer
    @sadikaeleer 4 года назад +4

    If you're doing this in 2D you will need to:
    -add a 2d collider to your GO
    -check "is trigger"
    -add "physics 2D raycaster"

    • @anthonygirdler606
      @anthonygirdler606 3 года назад

      I'm using 2D and didn't use any of that and it still works.

  • @OneWheelStudio
    @OneWheelStudio  6 лет назад +3

    This is the first of three videos looking at using lists in Bolt. This video creates "clickable scene" objects that add themselves to a list.
    The 2nd will look at iterating through all the items in the list and displaying the names in a UGUI text element. The 3rd will create buttons that select the first/last/random/all item(s) in the list and remove them from the list.
    All three videos are recorded, but with the holidays coming I'm not 100% sure when they will be released.

  • @jamesxxxyz8775
    @jamesxxxyz8775 3 года назад +1

    2:23 On Pointer Up doesn't work, but On Pointer Down. Is it because i use the new version of bolt (scriptmachine)? How does On Point Up work in the new version?

  • @ninemeasure
    @ninemeasure Год назад +1

    count items = length list
    thank you

  • @GamedevFred
    @GamedevFred 6 лет назад +3

    Good stuff!

  • @mythco.3461
    @mythco.3461 6 лет назад +1

    Hi I'm a new subscriber and have really come to enjoy your channel so Good Job and Merry Christmas!

  • @martinwettig8212
    @martinwettig8212 Год назад +1

    Thank you.

  • @jorgearevalo9810
    @jorgearevalo9810 3 года назад +1

    I only see the Aotlist, how do I add the other lists?
    Pls help :(

    • @anthonygirdler606
      @anthonygirdler606 3 года назад

      Same problem....
      ...is it because I'm planning to build to android and it's an Ahead Of Time platform ?

  • @DurlonBryant
    @DurlonBryant 6 лет назад +2

    Thanks! Looks good.

  • @robko75
    @robko75 6 лет назад +2

    Wow.. Thanks a lot!

  • @patrudoizero
    @patrudoizero 2 года назад

    Is there a way to sort integers in a list by their values? Descending?

    • @OneWheelStudio
      @OneWheelStudio  2 года назад +1

      Linq is often used to do that. I honestly don't know if it plays nice with visual scripting.
      www.techiedelight.com/sort-list-in-descending-order-in-csharp/

    • @patrudoizero
      @patrudoizero 2 года назад

      @@OneWheelStudio I will give it a try, thanks!

  • @tilow6610
    @tilow6610 3 года назад

    Helllooo How can I import a c# script inot my bolt script

    • @OneWheelStudio
      @OneWheelStudio  3 года назад

      You can add the type in the "Unit Options Wizard." There used to be an attribute [IncludeInSettings] but I can't seem to find that in the Unity version of Bolt.

  • @Stinger-rq4gy
    @Stinger-rq4gy 3 года назад

    Can you make a quick montage RUclips video with a kind of split screen of what you are doing in Unity, like spinning a cube with Bolt Visual Scripting, and the code running underneath it simultaneously in the Flow Graph?
    So people can how the code to making things move, spin, objects disappear, and other game behaviors fast.
    Like its a quick cheat sheet shortcut list of how to do things quickly with Bolt Visual Scripting in Unity.
    Can you make a RUclips video like this for everyone?

  • @tilow6610
    @tilow6610 3 года назад

    Hey how to sort my list by name or int

    • @OneWheelStudio
      @OneWheelStudio  3 года назад

      Truthfully in Bolt, I don't know, never needed to do it. In C# there is a List.Sort command or various lambda and linq statements to help with that. Neither of the namespaces for those commands appear to be options. This might be a question for the gurus over on the Bolt discord?

  • @preflopstore9718
    @preflopstore9718 4 года назад

    Does the onpointer work with mobile? Thanks for mentioning the AOTlist that’s needed for mobile 👍

    • @OneWheelStudio
      @OneWheelStudio  4 года назад +1

      I honestly have no idea. Done zero work with mobile. Sorry.

    • @preflopstore9718
      @preflopstore9718 4 года назад

      One Wheel Studio Hi no worries I’ll jus use touch input :) I’m back to learning bolt I don’t know what the future of it holds but there’s another developer working on UAlive to give back the functionality of bolt 2 which is nice, I haven’t tried it yet..
      Anyway I love your tutorials and will keep going with bolt in the meantime 😉

    • @OneWheelStudio
      @OneWheelStudio  4 года назад +1

      UAlive looks interesting. I’ll definitely do a video or two on it if it keeps moving forward. The developer has a good reputation for building bolt tools so fingers crossed.

    • @preflopstore9718
      @preflopstore9718 4 года назад

      One Wheel Studio that’s really good to know about the developer, thank you!

  • @pvlunegov123
    @pvlunegov123 5 лет назад +1

    I haven't this item - The Type List. Where do I get it?
    Unity Platform is PC&Mac Can use.
    But, Switch Platform to Universal Windows Platform and Android Can't use.
    I resolved my problem. Answer is here - support.ludiq.io/communities/5/topics/2677-how-can-use-variable-type-list-of-gameobject
    Bolt arrives with AOT protections turned on. AOT platforms can't handle open generics like List, so those are culled by Bolt until you tell it to allow them. Please be aware that turning the AOT protections off will make your game unable to run on these platforms.
    In the Ludiq Options (Tools->Ludiq->Configuration), turn off AOT Safe Mode:
    Then, use the tools menu again (Tools->Bolt->Build Unit Options) and the nodes should appear. I have to admit, I've never used the Universal platform, but my understanding is that it handles Generics just fine.
    You can get more detail here:
    support.ludiq.io/knowledge-bases/4/articles/161-building-for-aot-platforms

    • @pvlunegov123
      @pvlunegov123 5 лет назад +1

      Also this article helps me a lot - support.ludiq.io/communities/5/topics/1179-simplify-lists
      In variables window I add AOTList. In graph window, I added "List contain item" unit. It is works!

    • @OneWheelStudio
      @OneWheelStudio  5 лет назад

      Glad you got it working!

    • @flo70k
      @flo70k 2 года назад

      thanks a lot for your help