Загрузка видео...

Не удалось загрузить видео

На главную

You can 𝘀𝗲𝗹𝗲𝗰𝘁 𝗺𝘂𝗹𝘁𝗶𝗽𝗹𝗲 𝗘𝗻𝘂𝗺 values in 𝗨𝗻𝗶𝘁𝘆 𝗶𝗻𝘀𝗽𝗲𝗰𝘁𝗼𝗿 by using [𝗙𝗹𝗮𝗴𝘀] attribute 🙂👍 #UnityTips #Unity2d #Unity3d #gamedev #gamedevelopment #coding #csharp #IndieGameDev

82,425 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 6

Фото профиля MrX
MrX3 лет назад

I gave up on these after I too many times I coouldn't remember how to do the correct bitwise comparisons(since I used them maybe once a year) and just used an array of enums instead xD. Though nowadays probably very easy with chatgpt.

Фото профиля Rechronicle
Rechronicle3 лет назад

didn't know that it is possible 😳😳 thx for sharing!

Фото профиля Tulu
Tulu3 лет назад

I didn't understand what the use case for that is. What am I missing?

Фото профиля Sunny Valley Studio
Sunny Valley Studio3 лет назад

In my case I have a farm game and I am able to check multiple enums (Summer + Spring) as the growth season for different crops. It is just to give a game designer a better UX when tweaking those values if working in a team.

Фото профиля Once Upon a Rogue's Tale | OUT NOW 🎉
Once Upon a Rogue's Tale | OUT NOW 🎉3 лет назад

Oh wow, didn't know that. Thank you!

Фото профиля de_CLAS Softworks
de_CLAS Softworks3 лет назад

ooh, handy!

Похожие видео