#16 | ARRAYS & LISTS IN UNITY 🎮 | Unity For Beginners | Unity Tutorial

  Рет қаралды 42,045

Dani Krossing

Dani Krossing

Күн бұрын

Hi everyone! 🙂 In this video I will go over Arrays and Lists, which we use constantly in order to store multiple pieces of data in one container.
Playlist for this course: • #1 | LEARN UNITY AS AN...
Download Unity here: unity3d.com/ge...
Value vs Reference data type: • C# DataTypes in Unity!...
List methods (further down the page): docs.microsoft...
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon and KZbin Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Memberships: / @dani_krossing
Patreon: / mmtuts

Пікірлер: 41
@mikaeltorres
@mikaeltorres 2 жыл бұрын
Thanks again! It is so clear and "easy" to understand with you! can't wait for the mini project in the next episode!
@rancheraosborne
@rancheraosborne 2 жыл бұрын
Thank you for the tutorial, really useful, I hope you will do a video or a series talking in depth about game flow, managers, systems, etc... there are many tutorial about programming mechanics, but not many about how to organize a big project with examples. For the newbies like me is really hard to get the idea of why and how to use it. once you do it in your own project.
@MikhaelHld
@MikhaelHld 2 жыл бұрын
Thank you!! youre an amazing teacher, please keep it up
@tikapoejones4079
@tikapoejones4079 2 жыл бұрын
Thank you very much for this series it has helped me get a better at understanding programming in unity and I can't wait for the next video
@canahmetdarama354
@canahmetdarama354 2 жыл бұрын
Thanks bro, you are an incredible teacher :)
@cheryllockhart6195
@cheryllockhart6195 Жыл бұрын
Hello! Thanks for this! You might be my new hero...
@KingDoodies
@KingDoodies Жыл бұрын
Thank you for this, i'm new to unity so this helped me understand unity alot more
@joebrady9829
@joebrady9829 Жыл бұрын
Loving this series, I've learned a ton already. VBA (writing macros in Excel) is actually 1 indexed. It was the first programming language I learned so I was super confused when moving to C# lol
@jeremyb5198
@jeremyb5198 2 жыл бұрын
This video helped me work through a sea of misinformation and uncompileable google code. Thank you!
@bcd3321
@bcd3321 2 жыл бұрын
Funny and cool that your dogs have Danish names.
@millermagusteiro9564
@millermagusteiro9564 9 ай бұрын
Assisti todas as aulas mas faltou falar sobre namespace, enums e events. O senhor é um bom professor gostei muito da sua didática :) !!! Sou Brasileiro rsrsrs.....
@ahmed3242
@ahmed3242 2 жыл бұрын
this tutorial was very helpful
@yousifky
@yousifky 2 жыл бұрын
You are the best 👌❤
@mahinh49
@mahinh49 2 жыл бұрын
Great content as usual! Easy for beginners to carry along. Much love from all of us for providing all this stuff for free. By the way, when are you going to release the next video? Eagerly waiting to build a project alongside you..
@marcosrodriguez1590
@marcosrodriguez1590 Жыл бұрын
Thank you!
@alishobeyri
@alishobeyri Жыл бұрын
perfect videos , Tnx a lot , by the way you look like Elon Musk :D
@adambailey2984
@adambailey2984 3 ай бұрын
Hey Dani, was just watching this video and wanted to ask whether its possible to add two arrays of game objects together to create one array? I'm creating a game for University where I need a singular array with both players and enemies where I can take their speeds and order them accordingly.
@JonTopping
@JonTopping 2 жыл бұрын
Thanks for the explanation! Quite helpful. I would have loved if you made the list serializable as well, like you did with the array.
@Glados44
@Glados44 2 жыл бұрын
Thanks for the video man its very good and you explain so well . Easy to comprehend. Its a shame no one explains how to use an array on a game view. For example...if i have 1 object and i want to use it as guide and move it to 4 or 5 points. Can i use an array to capsule this points and be a target to this object to move towards them?
@Wabowussi
@Wabowussi Жыл бұрын
If i blur my eyes just slightly, you look like Elon Musk. Great video btw
@ytczech2746
@ytczech2746 Жыл бұрын
What are you playing in battlenet?
@lora6938
@lora6938 2 ай бұрын
I need to click on the button and create a public list that will be displayed in the inspector. Please help me!🙏🙏🙏
@lora6938
@lora6938 2 ай бұрын
How do I create a public list by clicking on a button that will be displayed in the inspector?
@sajibislam337
@sajibislam337 Жыл бұрын
List at 12:56
@lora6938
@lora6938 2 ай бұрын
How do I create a public list by clicking on a button that will be displayed in the inspector? I want: public List() = new List(); but in inside command !
@robertlamberson4186
@robertlamberson4186 2 жыл бұрын
Where do I find the project that follows (and was mentioned in) lesson #16? By the way you have an incredible knack for teaching this information. Thank You.
@Dani_Krossing
@Dani_Krossing 2 жыл бұрын
Hi Robert. I simply haven't gotten around to creating that video yet. It will get uploaded once I get around to it, but in the meantime I recommend checking out this course here, since it teaches a lot of new things as well. 🙂 kzbin.info/www/bejne/m6jMqGWqmMuYpJo&ab_channel=DaniKrossing
@MrRageBlackheart
@MrRageBlackheart 11 ай бұрын
Timestamp for lists. 12:55
@lora6938
@lora6938 2 ай бұрын
Please tell me. How to change the name of the list? How to give a new name to the list to my name? For example, I want to click a button and have the list name change to my name? Is it difficult? Is it possible? Please!
@alexcieslak9166
@alexcieslak9166 Жыл бұрын
Great video! I am working on making a list and I get errors if i do or but it will work if I do just . But I am still getting an error reading “Unexpected use of an inbound generic name” my code reads: List _StartPosition=List(); Do you know why I may be getting this error? Thanks!
@aryan9690
@aryan9690 2 жыл бұрын
I just have a question, for example 3, I'm doing the exact same thing though its being displayed differently to yours, is there a reason for this?
@Dani_Krossing
@Dani_Krossing 2 жыл бұрын
It’s because all the points are randomised if I remember correctly
@vergilrose851
@vergilrose851 3 ай бұрын
I love youu
@acez28
@acez28 2 жыл бұрын
I have a problem I've been hard stuck on I'm trying to make a list of Game object arrays Like I want to be able to add gameobjects to my array of Gameobjects in my list of Game object arrays Is there a way I can show this in the inspector? List example In the Unity inspector Someone Please help me🙏
@Harshadswe123
@Harshadswe123 2 жыл бұрын
Tǫ ʙʀᴏ
@semihaksoy8182
@semihaksoy8182 2 жыл бұрын
You look like Elon Musk a little bit
@polenclev
@polenclev 2 жыл бұрын
you look like elon musk
@anfrollex
@anfrollex Жыл бұрын
Ahahahah, fr :D
@Billofx...
@Billofx... 2 жыл бұрын
Hey Please can u please buy me a laptop I would love to try wat I learned from u please from NGA
@Dani_Krossing
@Dani_Krossing 2 жыл бұрын
The day I can afford a new laptop, I'm in dire need of a new one myself. 😂 That "KZbin money" isn't as grand as people think it is. At least not when you are the type of KZbinr I am. 😅
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Laserzone solo game 20
13:50
Callsign_Ghost
Рет қаралды 16
C# Lists 📃
6:46
Bro Code
Рет қаралды 115 М.
CLEAN Game Architecture with ScriptableObjects | Unity Tutorial
13:12
Sasquatch B Studios
Рет қаралды 23 М.
How to Program in C# - Arrays (E05)
17:01
Brackeys
Рет қаралды 454 М.
Better Coding in Unity With Just a Few Lines of Code
15:27
Firemind
Рет қаралды 321 М.
Better Data with Scriptable Objects in Unity! (Tutorial)
5:12
Events & Delegates in Unity
13:20
Game Dev Beginner
Рет қаралды 68 М.