Create new Variable Types using ENUMS | Coding Tip #1

preview_player
Показать описание
Hi everyone,

I hope you like this small video on how to use Enums to create better Variable Types to store unusual data in your games.

if you have any questions please don't hesitate to ask and don't forget to subscribe for more videos.

Time Stamps
Introduction: (0:00​​)
What are enums?: (0:15​)
Enums in Action: (0:40​)
Live Example: (1:50​)
Enums vs Classes: (2:31​)
Outro: (3:18​)

#gamedev #indiedev #indiedeveloper

-----------------------------------------------------------------------------------------------

Join Our Kingdom
on Discord:
on Facebook:

Play my games at:

Рекомендации по теме
Комментарии
Автор

I usually end up making class type or a constructor to call the different variables for zombie or enemies ect. I use enum more for when I rather use the unity drop inspector than code it in. Great video as always 👍

migcreatesgames
Автор

Can't believe you don't have more views!;( your videos are so useful! and I enjoy the short compact ones. I like long videos but sometimes shorter more forward videos are easier for me.
Thanks for the vids!:D👍

mayettaxtriger
Автор

I'm using this type of public enums in my current project, mostly to easily access them from different scripts :D (learned from a tutorial hehe)

NeatGames
join shbcf.ru