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.
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?
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/
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.
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?
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?
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 😉
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.
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
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!
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"
I'm using 2D and didn't use any of that and it still works.
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.
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?
Up - button is released
count items = length list
thank you
Good stuff!
Hi I'm a new subscriber and have really come to enjoy your channel so Good Job and Merry Christmas!
Thank you.
I only see the Aotlist, how do I add the other lists?
Pls help :(
Same problem....
...is it because I'm planning to build to android and it's an Ahead Of Time platform ?
Thanks! Looks good.
Wow.. Thanks a lot!
Is there a way to sort integers in a list by their values? Descending?
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/
@@OneWheelStudio I will give it a try, thanks!
Helllooo How can I import a c# script inot my bolt script
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.
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?
Hey how to sort my list by name or int
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?
Does the onpointer work with mobile? Thanks for mentioning the AOTlist that’s needed for mobile 👍
I honestly have no idea. Done zero work with mobile. Sorry.
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 😉
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.
One Wheel Studio that’s really good to know about the developer, thank you!
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
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!
Glad you got it working!
thanks a lot for your help