Тёмный

C# IEnumerable & IEnumerator 

Tarodev
Подписаться 96 тыс.
Просмотров 35 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 243   
@SandeepKumarP
@SandeepKumarP 2 года назад
This is very good content. Most YT creates are just recreating beginner tutorials. We need more intermediate-advanced content like these. Thank you.
@AnkitSingh-wq2rk
@AnkitSingh-wq2rk 2 года назад
exactly
@TravelWithDhami
@TravelWithDhami 2 года назад
Could not agree more
@moritzscheuerle9447
@moritzscheuerle9447 2 года назад
Would like you see a video about multithreading in c# and unity. Also when to use a new thread or when not to. This would be a nice addition to this video (that's beautiful and detailed btw 😉)
@Tarodev
@Tarodev 2 года назад
I'll be tackling this in Part 2 of the async/await video. Won't be long. Thanks for the suggestion :)
@moritzscheuerle9447
@moritzscheuerle9447 2 года назад
@@Tarodev thank you
@krissloo143
@krissloo143 2 года назад
@@Tarodev I thought multithreading is not possible in Unity :/ since rendering and physics are already multithreads.
@moritzscheuerle9447
@moritzscheuerle9447 2 года назад
@@Tarodev btw, I want one of these licenses 🙏
@mofodumbas
@mofodumbas 2 года назад
Im in to that too!
@jameslavery2958
@jameslavery2958 2 года назад
How does this channel not have more subscribers and views? Amazing content, man. Thank you for all you give to the community.
@babakiani
@babakiani Год назад
Really well explained Sir! Thanks a bunch!
@JoshuaVillarreal009
@JoshuaVillarreal009 2 года назад
Love seeing Linq Love. Would love to see a video on Custom Editors for Unity. Still new to the channel but so far definitely a new favorite of mine.
@SkylorBeck
@SkylorBeck 2 года назад
Dude! I'm so jealous! Gratz on the sponser. I love Idea and I wish I could use Rider. My plan was actually to try to grow on RU-vid until I can get into the partner program with them. I'd love to get a license but I'm damn cheap. I actually just put out a video of my own, where I shouted you out for the Async/Await video. BTW I am blown away you only have just under 9k subs.
@NHGeneral
@NHGeneral 2 года назад
I have commented on your channel afew months ago to learn, now I got my games in 2D &3D running, thank you for sharing ☺
@Tarodev
@Tarodev 2 года назад
I love to hear it!
@qiangpanchen6785
@qiangpanchen6785 2 года назад
I couln't understand the concept half year ago, I guess I didn't have enough context around the language, but now by re watching this video I started to get it, thank you for the wonderful and clear tutorial !! And I've used Rider for nearly one month, it's fantastic !
@bourbonbristles
@bourbonbristles 2 года назад
This was awesome. Definitely did NOT know about the multiple enumeration issue. You sir, are a legend.
@RomiFauzi
@RomiFauzi 2 года назад
Been using Unity and C# for 6 years, but always learned new things when watching your videos, those Rider tips are slick!
@libberator5891
@libberator5891 2 года назад
Another great video as always! Loved learning about the internal optimization that Linq does with IEnumerables; was surprised it didn't first take three. I'd be keen to see a short & sweet video about the differences between heap vs stack, intuitive analogies, and some practical examples and considerations between using one over the other. Awesome to see you getting sponsored! You've earned it!
@Tarodev
@Tarodev 2 года назад
Heap vs stack and general memory management is a fantastic suggestion! And thank you lab~ 😉
@roytazz
@roytazz 2 года назад
A video about events and delegates would be a good addition to your C# series
@Tarodev
@Tarodev 2 года назад
You're incredibly correct on that assessment.
@overrideFunction
@overrideFunction Год назад
"Your code might not be doing exactly what you think it is doing" Yup. That's me most of the time as I bang my head into the keyboard saying why isn't this working!
@Pengisman123
@Pengisman123 2 года назад
Just finished the video, thank you so much for breaking it down into digestible chunks! I'm really enjoying your style on RU-vid, you've filled the Brackeys size hole in my heart and then some lol If possible, would you be up to doing a video on delegates? Specifically Action and Func and how they can be used to pass information around your game? There are other videos, but they kinda expect you to have a solid grasp on delegates in general. I'd love to get a license key too, hopefully I'm lucky lol
@Tarodev
@Tarodev 2 года назад
I can indeed make that video!
@Pengisman123
@Pengisman123 2 года назад
@@Tarodev Heck yeah! Thanks so much man! I'm looking forward to it
@DanteDxD
@DanteDxD 2 года назад
Hey! Very cool video! My suggestion would be a video with some optimization and memory managing tips, or maybe you can do that with a series of Short videos :) I love Rider, I've trying it out for a couple of months with an student licence and it's just great, so a propper licence would be awesome for releasing some cool games
@ZbigniewCebulaDev
@ZbigniewCebulaDev 2 года назад
Very nice IEnumerable video, a lot of junior programmers that start working with me ask about Linq stuff. Unfortunately I'm pretty busy very often so it's nice to have video like that to share with them and show the basics. I would love to see more Linq usage and explanations videos in the future.
@Tarodev
@Tarodev 2 года назад
I'm honoured you'd refer your underlings to me ❤️
@epiphanyatnight8732
@epiphanyatnight8732 2 года назад
Loving these videos and how you put so much thought into how to structure them. I'd love to see some project management tips video, like how do you approach a project, how do you set milestones, etc. That would be a great new aspect.
@erodenn
@erodenn 2 года назад
I was guna watch this anyways but the title made me click harder and faster, great vid Enumerables have always been something I used without fully understanding it so this was great. I would love to see a video that goes super in depth on the applications for Scriptable Objects. Specifically, an example for using them for cards in a CCG, and how to create collections of them that you can reference in something like a collection manager class. That would be super helpful for a project I'm working on right now, and I would love a Rider license!
@xarcader
@xarcader 2 года назад
Lovely and very informative, I have been using IEnumerator for some time and I had no idea about these... Thank you for sharing your knowledge on these... The one I would like to learn in the future is accessing the explorer from the application mobile/windows/mac and saving and loading the files in the Android or iOS
@ElegantWaster
@ElegantWaster 2 года назад
I think videos like this are required more, as most guides online focus on beginner/lower intermediate side of things with the occasional bad practice, but easy to implement approach, whereas this ventures into general optimisations and correct use cases for pretty common actions. More videos of this kind, leaning more into advanced topics are a good stepping stone for junior developers to lean into.
@bluscience
@bluscience 2 года назад
The diversity of the content and the way you present the information is really fantastic, since you are able to learn about C#, Unity, AI, all in a fun way 😁. I was trying to learn more about Generics and that's how I found your channel. I would like to see videos about character animations, weapons switching, building smart(er) enemies, level design.
@bradhammond923
@bradhammond923 2 года назад
Rad vid, I like that you're finding topics to cover that I don't often see covered elsewhere. Good intermediate coding material. Would be keen to see what kinds of processes and standards you use when setting up your dev environment (project management, coding standards ) any useful tips that go along with that.
@Chen_Ash
@Chen_Ash 2 года назад
I really want to see a modular strategy pattern character ability system. Where you can create different effects and stuff using polymorphism/inheritance.
@DanPos
@DanPos 2 года назад
Really enjoyed the Linq section mate - I've recently just started getting my head around Linq stuff so seeing more applications of it is always great. In a future video I would really enjoy some procedural level generation stuff (for example, a dungeon generator). I've followed a few before but would like to see some more advance systems. Oh and it goes without saying I'd love to get my little fingies on one of those Rider keys!
@chujies
@chujies 2 года назад
Love the video! I have always used IEnumerators in Unity as coroutines so its interesting to see them used like this. I am currently solo developing a game and a license to use Rider would help speed up programming immensely! I would like to see videos that are more intermediate to advanced in terms of programming concepts, as there are a lot of beginner turorials but very few that really dig deep :)
@notagamedev5494
@notagamedev5494 2 года назад
Nice to see how fast you are going up RU-vid. Lots of good videos published quickly. Continue like that! I am learning from all of that! I was using numerators without knowing how they work. Now I have a idea. I would like to see video about inheritance and polymorphism while you are talking about open/closed principle.
@YOSFP
@YOSFP 2 года назад
the awesome thing about your tutorials is that you are clearly experienced in what you show. love it, subbed with da bell 👍
@justinwhite2725
@justinwhite2725 2 года назад
Thanks for this. I only barely know about Enumerables from Coroitines so this seems like it will help me use them better both there and elsewhere.
@haim96
@haim96 2 года назад
I really like the fact that it's not all about Unity but also really good general c# coding tips, it really helpful in my daily job as well. so thanks! for future videos, i would like to see tutorial about the burst compiler, job system and multithreading in unity.
@Tarodev
@Tarodev 2 года назад
Good suggestions!
@firatkucuk
@firatkucuk 2 года назад
Coming from Java world and find C# syntax really handy. Nice video to learn very basic of C#. In general I use Linux. tried rider and unity works perfectly fine on Linux.
@divainsyoutube4254
@divainsyoutube4254 2 года назад
Great content! Thanks for sharing! As for someone whom sometimes watching on a phone, I'd love to recommend to make your text bigger so it'll be easier to see. Keep it up :)
@Altair8113
@Altair8113 2 года назад
Another great video! Thanks for the hard work. I would like to see either a Stack/Heap video or common design patterns used in Unity video in this channel.
@Tarodev
@Tarodev 2 года назад
Coming right up!
@CrystalClod
@CrystalClod 2 года назад
I've been using enumerators and enumerables for ages, but haven't actually tried making a custom one before, so this vid was quite informative to me. For future videos either Addressables, or maybe something about shaders? As for Rider, I'd love to try it out.
@Tarodev
@Tarodev 2 года назад
So many requests for addressables. I'll have to get on that! Glad I could teach you something Crystal :)
@Tarnil97
@Tarnil97 2 года назад
As a game developer, enumerables are a really, really big part of what I'm doing. Great work on putting people up to speed with them. I think a topic for a video related to enumerables (and LINQ) would be extension methods in C#.
@Tarodev
@Tarodev 2 года назад
Extension methods is a good topic! Could be a relatively quick one too
@IcarusPhoenix
@IcarusPhoenix 2 года назад
Loved the video. I'd like to see some more vids of you creating mechanics from other video games :)
@Tarodev
@Tarodev 2 года назад
I'd love to do more of that content
@UpcomingAssassin
@UpcomingAssassin 2 года назад
Great video! Would have helped me a lot a few months ago when I was looking for how to work with these interface! One thing I'd like to point out is that you didn't mention the potential garbage you *might* generate when using Enumerators, especially custom ones. From my knowledge most common C# collections don't generate garbage when ForEach-ing them, but some do so, it'd be important for people to know! As far as future content goes I'd like something network related, e.g setting up and using a few popular frameworks (PlayFab, Nakama, Photon, Unity's recently announced similar thing, etc)
@GameDevNerd
@GameDevNerd Год назад
If people are interested in it, I back-ported some .NET 5 - 7 features to old Framework 4.X and Standard 2.X runtimes (so it can be consumed in Unity properly) that makes List iteration between 3 to 5x faster and absolutely crushes the regular "foreach" and "for" loop patterns. I've been thinking of making a video about it, although it is a very advanced subject involving IL assembly language and low-level rules and behaviors of .NET/Mono runtimes. Actually using the DLL I created to iterate Lists faster is super easy though, anyone can use it and it barely changes anything in your code, it is just the technical details of how it was done to bring the feature to older runtimes that's really esoteric and advanced stuff that I'm not sure people would watch ... By the way, Taro, instead of "List list = new List() { ... };", or using the var keyword as most people do, I've found it's much, much cleaner and more readable to do this: List list = new() { ... }; In C# 10 you don't need to repeat the type name twice on both sides of the expression, just once on either side (the right-hand side for var assignment, the left-hand side for the new() assignment). It's really nice because it's super easy to refactor and cuts down on typing, so you get the succinct, short-handedness of the var keyword, the clarity of explicitness and a greater level of refactorability/flexibility you don't otherwise get.
@zeldinus
@zeldinus 2 года назад
Keep up the good work! Although some things i dont quite understand as a beginner, i like the quality of your channel!
@Tarodev
@Tarodev 2 года назад
You'll get there fotis :)
@GiraPrimal
@GiraPrimal 2 года назад
Interesting video! I've been learning how to work on Unity for a few years, digging here and there for tutorials and doing some personal projects as practice. Learning never actually ends, I suppose! I'd love to see a future video about what design patterns are recommended in video game development.
@metsker4876
@metsker4876 2 года назад
We love your tutorials, senpai < 3 Can you teach us about server part in the future? I'm already using Rider for almost a year and it's beautiful, but my lisence will end up soon, so...
@Tarodev
@Tarodev 2 года назад
As in a general game server for storing player data? This would include user authentication at the very least. I'm not against it as I love making backends, but it'd be a long series
@LucaFang
@LucaFang 2 года назад
Nice explanation! I would be cool if you'll make a video about how LINQ works under the hood :)
@umapessoa6051
@umapessoa6051 2 года назад
Thats a really good video, keep up the great work.
@Xavaltir
@Xavaltir 2 года назад
Wow i literally learned about this topic 2 days ago, nice to see you posting a video about it too, was extra helpfull! I would want one of these licenses and i already posted this on a previous video but it would be nice if you showed us how a hexagonal axial/cube coordinate system works and how to convert from worldpos to "code" positions
@Tarodev
@Tarodev 2 года назад
That's some heavy math! I have a little bit of hex code on my pathfinding repo if you want to check it out. But yes, that's a good idea for a video.
@wvaviator3408
@wvaviator3408 2 года назад
Thanks for the awesome content! I would like to see a video tutorial regarding Unity's Jobs and Burst and how it can speed up certain operations and maybe even some examples of the types of operations it can do.
@MafiaSniper
@MafiaSniper Год назад
One of the most useful videos ever!
@anass9157
@anass9157 2 года назад
Hey, thanks for the wonderful video and very useful information,a lot of developers do not understand well the meaning of the IEnumerable and this may lead to many Performance issues. I would like more videos about Rider and or resharper and how you are using them to refactor existing code? I would definitely enjoy following these videos. Cheers
@lukasostar3008
@lukasostar3008 2 года назад
oooooh would love to get me a Rider licence so, loving the video, would love to see more of these kinds of deep dives into devery-day using things we (well, *I*) take for granted in any case, keep doing what you're doing cheers
@szymonsadowski3632
@szymonsadowski3632 2 года назад
Great video as always Taro! Would love to see video about interfaces or scriptable objects. Your use cases always make topics clear for me so Im sure it would be helpful even tho there are videos about those topics.
@Tarodev
@Tarodev 2 года назад
So many suggestions for SO. I better get on that!
@xanaramus
@xanaramus 2 года назад
Your videos are already quite good quality tutorials. Would like to see more advanced tutorials about networking and ecs, also writing native plugins is something i struggle always. P.S Rider is best IDE for unity, would be great to get one! Thanks for your work man!
@KasparOrange
@KasparOrange Год назад
@Tarodev Thank you for this lesson. Love your teaching style man. Wished I have had you as a teacher.
@Tarodev
@Tarodev Год назад
Aww, thank you man 🙏 And you do have me as a teacher 😊
@PcKaffe
@PcKaffe 2 года назад
I like how you present informations in your videos as a whole, this included. I would love to see a video on how to lay out a plan for something that requires multiple classes. I usually just start with something and then break it apart... I know it's bad, but I have only been at coding for like 8 months and figuring out a structure before I start never really ends well at all. Oh and I would like the Rider IDE thing.
@xDumberx
@xDumberx 2 года назад
Great videos about advanced stuff :) I would like to see a video about observer pattern in Unity. Maybe something about building your own event system.
@notDiru
@notDiru 2 года назад
Its incredible how modular this seems to be like, never imagined its possible to create all those possibilities with enumerators even if i don't understand it entirely creating your own behaviour of how list should be treated seems amazing! Also i'm very interested right now on animations and how to do that drift of animal crossing when you tap the opposite side you're walking or when in metroid dread change your direction suddenly. Thank you for sharing those rider licenses 😘😘😘
@Tarodev
@Tarodev 2 года назад
Oh Diru
@Agnamador
@Agnamador 2 года назад
Very good video. A good one would be about network or something like it
@atabekkasimov9702
@atabekkasimov9702 2 года назад
Deep dive! I'd like to have a Rider licence, it is one of the best tool out there.
@krissloo143
@krissloo143 2 года назад
Wow That can make my already existing code way shorter :) thank you for the great stuff
@bunggo9914
@bunggo9914 2 года назад
your vids are the best, it's hard to find intermediate/advanced content these times. I would like to see some vids about 2D random procedural generation (like terraria), please.
@kuruchy
@kuruchy 2 года назад
Really cool video! I really think Rider is the best IDE, I came from android dev and using Android Studio and intellij, so switching to it is seamless. I would love to see some video about custom editors for unity ;)
@schleooo
@schleooo 2 года назад
I'd love to see more videos about performance/profiling, since this is what I am struggeling the most with. I considered investing in rider, since it seems like a great code editor. I'd be very happy to win a licence :)
@JoachimVesely
@JoachimVesely 2 года назад
Great topic!
@washynator
@washynator 2 года назад
You make some pretty cool videos, this one included! What I'd like to see is some useful use cases for LINQ specifically for Unity devving! Let's hope for a nice Rider license! :D
@yeeshue
@yeeshue 2 года назад
I would love a video about how to use scriptable objects in a production environment. You can use them for storing data and calling functions, but in the way the unity tutorials use them, it implies that if you don't want to save the data between sessions, you have to instantiate new ones, which is crazy slow
@TimGardhouse
@TimGardhouse 2 года назад
Great choice of examples here. The gotchas are a good thing know! I'd like to be in the running for a copy of Rider. I've used up my free trial and it was just a different world of programming. Future video ideas: More areas of C# that are a bit more intermediate/advanced, with potential gotchas. More of your preferences for Unity tools you find essential (like DoTween - that video led me to your channel). I'll also second the broader architecture/structure idea.
@Arkham74
@Arkham74 2 года назад
I'm using c# for while but I didn't know about the enumerables executing only when iterated. Video was very helpful, thanks! In next video I would like to see you talk about garbage collection. What it is and how it works? When new memory is allocated? How to reduce unnecessary allocations? I was using rider during evaluation period but it ended few months ago :( Return to visual studio code was painful. Getting license for whole year would really help in my work.
@allenhalsted4895
@allenhalsted4895 2 года назад
>>When new memory is allocated? How to reduce unnecessary allocations? While that would be an interesting subject, unfortunately there is not a lot you can do. For the most part, the .NET Framework handles that automatically. There are some flags you can set in the compiler, but they are really just suggestions. In a .NET Windows environment like ASP.NET, you can do some tweaking, but I have never seen a way to do anything with it in Unity. Garbage collection on the other hand is an important subject to understand. The .NET Framework does a pretty good job of managing this, but you can still back yourself into a corner by not understanding how things work.
@asztrik
@asztrik 2 года назад
I love the variety of this channel, it would be cool to see another video similar to your Celeste controller ones where you try to replicate a mechanic (I like in those how you tried to code it as the Celeste devs did!). I'm not sure what other "big" indies have public source code but you can always try to replicate something you really enjoy in a game, we'd love to see that. Also I'm interested in the Rider license please :)
@Tarodev
@Tarodev 2 года назад
I'm so glad you said this! My devlogs did not do very well, but I seriously enjoyed making them.
@ITSJTG58
@ITSJTG58 2 года назад
Hey Taro, you're the latest developer I've started watching on RU-vid, and your content and technical level is a testament to how much I've grown developing. Your async video showed me that there's a world of techniques and skills I haven't even heard of and that's a great motivation, Thanks! I'd love to see a video about the process you go through when tackling a new project, specifically the design of the arquitecture of code that is done before one sits down and starts coding. I've been taught the benefits of getting good at thinking in a modular way and assigning roles to my components beforehand and it is a skill that has boosted my development time immensely, I usually design a quick prototype, code it, and then go back to the whiteboard(shout-out to Milanote) to design a fleshed out arquitecture/system for my project. Keep on rocking!
@MrSpeedyDev
@MrSpeedyDev 2 года назад
Loved the video I would love to see something on multithreading and multi processing in Unity. I have used IntelliJ for Java before and Rider would be amazing for Unity their themes and layouts are amazing.
@goldenage9376
@goldenage9376 2 года назад
Hi Taro, I just learned about you channel. Currently working with enums, so this seems really helpful! For other challenges I am facing I see you have covered many of them in your other videos, so i couldnt come up with new ideas, but more work for myself to check them all out :) My friend is helping with coding and was considering Rider, so it wouldnt be for myself. Keep up the good work! [edit] liked and subscribed!
@pollomagico271
@pollomagico271 2 года назад
A video on UDP and TCP classes from C# would be awesome! Also, this video is great, I've been wondering about how IEnumerables work for a long time but never actually gotten to learn about them. The examples are on point and the rhythm is also pretty good :). Keep it up!
@Foxyzier
@Foxyzier 2 года назад
That would be truly nice
@Tarodev
@Tarodev 2 года назад
Ohhhhh, that's a good topic. I hope it's not too far from what my audience is after. I'll add it to the list!
@aprilance
@aprilance 2 года назад
A very good video like all your other videos. You explained it very well. It was very useful content. In the future, you can focus on the editor codes if you want. We can make beautiful tools.
@Tarodev
@Tarodev 2 года назад
Good suggestion!
@THEspindoctor84
@THEspindoctor84 2 года назад
this is awesome, thank you!
@qwertyram4598
@qwertyram4598 2 года назад
Coming from casual Python... Yeah, all the ways to optimise in both speed and memory that are available in C# is just immense.
@plixo4712
@plixo4712 2 года назад
Can you do a Video about making Assets or just "Bundled code" to share and reuse code in other projects. Your video is nice, but I personality think you talk a little to much about heap/memory allocation tho (and yes, I want one of your licences :) )
@Tarodev
@Tarodev 2 года назад
It's very important though! Boring, but important. Did you see my last video about asset organization? Might be what you need :)
@plixo4712
@plixo4712 2 года назад
I saw the video, but that's not 100% exactly what I need... Thank you anyway
@pablofreitasmachado8076
@pablofreitasmachado8076 2 года назад
THIS WAS AWESOME.
@arctikstorm
@arctikstorm 2 года назад
This video is very enlightening on the IEnumerator shenanigans while not adding confusion, which can be a problem when working with these things. I'd love to see an efficient way to get all objects from a scene based on a common parameter that can be in different types of components/scripts (effectively making them a different param). I've had the chance to work with Rider last year, when I was a game dev student, due to the free license, but now that I'm struggling to get some games out there on my own, I'd love to get back into it...Visual Studio just doesn't compete.
@Tarodev
@Tarodev 2 года назад
Have you looked into ecs? What you described is very similar to how you group objects and logic in ecs.
@arctikstorm
@arctikstorm 2 года назад
@@Tarodev I have not! We've always used oop in class. Thanks for the tip! Maybe a video on it in the future?
@Tarodev
@Tarodev 2 года назад
@@arctikstorm it's something I don't have much experience in, but have wanted to get into for quite some time. I might jump in very 🔜
@MrTigertheawsome
@MrTigertheawsome 2 года назад
I dont think I have ever made my own IEnumerable or manipulating a list like that. I would love a video on how to properly scale UI for different screen sizes. and I would be interested in Rider
@cahydra
@cahydra 2 года назад
'Loop me harder' caught me off guard
@Pedro_Marangon
@Pedro_Marangon 2 года назад
I would love a video about serialization and applying that in games. Most of the videos on the topic go on very simple examples and I'm kind lost when trying to put that in an actual Unity game, like what to save and where to put the code (i know that this changes from game to game, but some more concrete/realistic examples would help a lot). Your videos indicates me that you're the guy to help me out on this 😉 (also that Rider license would help me a lot, since I can't afford it and I've been wanting to use it for quite a while)
@paritoshvaidya9629
@paritoshvaidya9629 2 года назад
we love have a video on a game design pattern , that to make modular ,optimize code for the game
@tillschonberner4910
@tillschonberner4910 2 года назад
Great video! I'd like to have a Rider licence, it is the best tool out there. Maybe you can create a video about refactoring to clean code best practices with Rider.
@Tarodev
@Tarodev 2 года назад
A video dedicated to the strong points of rider would be good!
@mr.miagton8475
@mr.miagton8475 2 года назад
Nice video as always !Glad your making some advanced C# topics .I just hited my first real job as Unity Developer and founded your channel super useful and fun to watch.I would like to see both C# specific topics and Unity dedicated onces.Lets say ,maybe some editor tool development hints😅My current project is porting one of the awesome tools to Unity ,so yeah ,editor scripting ftw)Aslo yeah,Rider is awesome,I would be super glad to get one of those year licenses as atm I bought only 1 month sub licence to check it out)
@Tarodev
@Tarodev 2 года назад
That is awesome man! Congrats on the game dev job
@mr.miagton8475
@mr.miagton8475 2 года назад
@@Tarodev thx a lot😅Imagine it after being chief flight attendant for 7 years 😂
@Tarodev
@Tarodev 2 года назад
​ @MR. Miagton Hah! Bit of a shift in lifestyle. I hope you love it!
@D-Dev
@D-Dev 2 года назад
Interesting video, maybe next time you tell something about IDispose? What’s does, how to implement etc. This interface is often used by developers without knowledge what’s doing.
@Havie
@Havie 2 года назад
Imagine this is way out of scope , but I think it would be cool to see a modern tutorial for a Unity RTS , with multiple players (single player + AIs) that’s pausable with speed controls .
@JM-in8fq
@JM-in8fq 2 года назад
15:20, nope garbage collection doesn't occur for value types that aren't boxed such as here. Once the foreach loop moves to the next element the previous int goes out of scope and gets 'deleted' by the stack... rather overwritten but you get the point.
@VaupellGaming
@VaupellGaming 2 года назад
Amazing video.. . at 06:04 i actually thought aww shit,, that makes so much sense.. hehe.. remembering several times where i was like,, WTF this var storage is changing constantly.. :D
@eFko_
@eFko_ Год назад
Amazing!
@kingnoah9658
@kingnoah9658 2 года назад
Videos on Addressables/Uploading/Downloading from server would be super helpful. Also it's great to see a video on IEnumerable cause there's not much good content on them! Hook me up with Rider!!!
@Eduard0213-x7p
@Eduard0213-x7p 2 года назад
Thank you very much sir !
@nerdin8or
@nerdin8or 2 года назад
This, like your other videos, was so great and informative! Thank you! For future videos, I don't know what to suggest, because I usually don't know I want something until I see you've made a video on it! How about good uses for ScriptableObjects in Unity, and when you would use those vs MonoBehaviours or plain C# classes? I'm still trying to wrap my head around stuff like if a weapon is a ScriptableObject, but it has different firing behavior from another weapon, where does the unique code for firing go? Thanks again. I'd love a chance to win a Ryder license.
@ewwitsantonio
@ewwitsantonio 2 года назад
Excellent content! This is right in my skill level so this is truly so helpful! You guessed right that I wasn't aware that the query was going to be called twice. I guess I usually explicitly create list variables and haven't run into a situation like that because I almost always avoid 'var'. I'd love to see some content about multithreading in Unity. I have situations where I want to access a local database and make expensive queries, and I'm curious if I can make use of multithreading to not stall the game as the db is searched. (Think a local sqlite(?) database with 100s of thousands or rows and doing join queries across different tables) And yes I'd love to get my lil fingies on some Jetbrains software please! :)
@ewwitsantonio
@ewwitsantonio 2 года назад
Also it would be nice to see some content on Unity UI and working with LOTS of data. Like, a scroll list that object pools, doesn't slow down or take up much memory while being able to scroll through 1000s of items
@Tarodev
@Tarodev 2 года назад
@@ewwitsantonio ohhh that's interesting. I've done it countless times in app design but never in Unity. Good topic!
@ewwitsantonio
@ewwitsantonio 2 года назад
@@Tarodev awesome, thanks for the reply! :)
@SirDMX
@SirDMX 2 года назад
A very helpful video as always. I would love to see tuts about Scriptable Objects
@MMOmaster35
@MMOmaster35 2 года назад
Very good video. Even though I already knew the contents of this video I would definitely love more videos about potential pitfalls in C# and Unity that I might no be aware of. I would love to get a license to rider and wish everyone best of luck on the give away.
@fmproductions913
@fmproductions913 2 года назад
Good video on this topic! Your channel has recently covered quite some topics that I think are interesting for a Unity programming audience. 2 ideas for a video: 1. How to organize your assets for a (bigger) Unity project. - I think for anything asset related it makes sense to have a main folder (Assets/Enemy) for each main asset and subfolders for the file types (Scripts, Images, Scenes), so that this folder can be exported as unitypackage without having to pick files spread around the whole project. - For a bigger game project where asset reuse and export isn't a main goal, I usually have a main folder for my own assets/scripts, so that it doesn't interfere with folders that get imported from the asset store or packages. The main folder can have a underscore "_" prefix, so that it shows up as first folder in the project view. My custom scripts would use namespaces for various reasons, but one of them is so that there can be no conflicts with third party script class names. And finally, in my main folder, there are the regular subfolders again (Scripts, Scenes). 2. How to organize your project for an addressable workflow, so elements can be loaded and unloaded on demand and so that on different platforms, different source files can be authored (should be possible with Addressables, haven't looked into it yet though - it was certainly possible with regular AssetBundles)
@nevertell
@nevertell 2 года назад
I'm still learning about Finite State Machine it is a great topic I think for beginner building an simple AI, I wanna see your example and explanation about it. 😉
@Tarodev
@Tarodev 2 года назад
I have some strong opinions on state machines. I plan on doing a video soon 😘
@nevertell
@nevertell 2 года назад
@@Tarodev Can't wait for it 👍👍
@danielvrsek8370
@danielvrsek8370 2 года назад
Well, I know that how IEnumerable working. But i actually really start thinking if I am using it correctly in every projet. Some i using LINQ totaly like no brainer. (And i would like to try Rider)
@1qqqbbb1
@1qqqbbb1 2 года назад
why not make next video about Rider?
@Foxyzier
@Foxyzier 2 года назад
I would really like to see how do you actually make the code run on gpu for optimization purposes
@Tarodev
@Tarodev 2 года назад
Compute shaders? Lovely topic! I'll see what I can do
@TheKr0ckeR
@TheKr0ckeR 2 года назад
hey, thanks again for the great guide. What I dont understand it, can't we just loop through the list by making it public property? Like foreach (string olympian in academy.Olympians). What's the + side here by making it IEnumerable?
@rediculai2584
@rediculai2584 8 месяцев назад
can i ask in the List class the GetEnumerator() is a different type than the GetEnumerator within the Ienumerable why does this not cause an error i dont think the inheritance of the Enumerator struct is the cause of this cause i tried to replicate this as a test but i just got errors
@Sara_0101
@Sara_0101 2 года назад
Oh shit, i need to go back through some of my code
Далее
C# Generics - The complete guide
18:43
Просмотров 40 тыс.
C# Beginner Tips
6:55
Просмотров 28 тыс.
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31
Офицер, я всё объясню
01:00
Просмотров 3 млн
Being Competent With Coding Is More Fun
11:13
Просмотров 80 тыс.
LINQ's INSANE Improvements in .NET 9
11:26
Просмотров 48 тыс.
IEnumerable 🆚 IEnumerator Interfaces in C#
34:06
Просмотров 28 тыс.
The Fastest Way to Modify a List in C# | Coding Demo
10:30
When to use - IEnumerable vs IList vs ICollection?
12:05
Coroutines in Unity (how & when to use them)
12:35
Просмотров 27 тыс.
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31