Тёмный

Introduction to Object Pooling in Unity | Object Pooling Tutorial 

LlamAcademy
Подписаться 24 тыс.
Просмотров 4,9 тыс.
50% 1

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

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@romanbakovskyi5305
@romanbakovskyi5305 Год назад
I'm on my way to creating own game with a friend and we already have some enemies and AI on 'em but your videos about AI or this one and discovering the concept of GC - man, those videos are of such high quality, I mean they are really teaching you how to approach certain concepts like "why should you" or "why shouldn't you". I'm grateful to universe that you exist :)
@LlamAcademy
@LlamAcademy Год назад
Thank you for that 🤗
@KaboomofdoomStream
@KaboomofdoomStream 2 года назад
This is the sexiest topic you've covered so far! I love this stuff.
@LlamAcademy
@LlamAcademy 2 года назад
🙏😃 I guess sometimes performance is sexy!
@maximusthegreatest
@maximusthegreatest Год назад
Great video helped alot!
@sg1slate
@sg1slate 3 года назад
I wish you'd make the text bigger, is a bit difficult to read. Otherwise thanks for the tutorial
@LlamAcademy
@LlamAcademy 3 года назад
Thank you for the feedback! I'll be sure to make text bigger in the future!
@Ankh_Ramses
@Ankh_Ramses 3 года назад
I know this reply is late, but he has a link in the description to the code he used, if that matters
@elric7371
@elric7371 2 года назад
Really good tutorial. Im trying it in 3D, When the enemy shoots it doesn't shoot in the direction they are facing but all in one direction. Any clues on how to fix it.
@LlamAcademy
@LlamAcademy 2 года назад
You probably need to assign the direction of your bullet to the current game object's forward instead of something like Vector3.right.
@elric7371
@elric7371 2 года назад
@@LlamAcademy Thanks for the response ,appreciate it. I tried something like "rigidbody.velocity= transform.parent.forward * 8f;" and it worked just the first shot still goes to global forward buts its fine.
@anchalindavis5569
@anchalindavis5569 3 года назад
how did you correct the Parent error at7:15
@LlamAcademy
@LlamAcademy 3 года назад
When we go to the PoolableObject class at 8:41 we add the Parent reference!
@FakeDani69
@FakeDani69 2 года назад
I have used this pooling method to spawn enemies (AI part 4 as you suggested in the video to watch object pooling) but after spawning the first enemy, the other spawned enemies don't implement their code like (they are not calling their methods anymore just the first one used it) can you help me on this would be great!
@LlamAcademy
@LlamAcademy 2 года назад
Hmm.. Hard to say from here. I can guess that maybe some refactoring on EnemyMovement.cs to remove the following from Start() around this time: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5uO0dXYbL-s.html wasn't implemented and that makes it so only the first enemy works in an ObjectPool. Can you check out the github repo for AI Series Part 4: github.com/llamacademy/ai-series-part-4 and compare what you have versus what is there?
@hosseinse4079
@hosseinse4079 2 года назад
you still did not learnt to zoom code in this videos
Далее
ITZY 예지한테 AI 메이크업하기💖 #shorts
00:23
Скинь той самой ❤️‍🔥
00:15
Просмотров 17 тыс.
OBJECT POOLING in Unity
17:23
Просмотров 432 тыс.
Unity Game Dev - Why I Wrote My Own Object Pool Manager
16:57
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 722 тыс.
Object Pooling in Unity 2021 is Dope AF
18:10
Просмотров 121 тыс.
Ultimate Object Pooling | Unity Beginner Tutorial
19:27
ITZY 예지한테 AI 메이크업하기💖 #shorts
00:23