کانال تخصصی یونیتی ( آموزش و نکته )
1.76K subscribers
549 photos
146 videos
51 files
251 links
به نام خدا

مسئولیت مطالب یا آگهی ارسالی در کانال یا کامنت ها به عهده من یا ما نیست

لیست گروه ها و...
https://t.me/UnityEngine3D/823

برای تبلیغ در کانال و گروه :
https://t.me/UnityEngine3DAds

مدیر اصلی(مالک)
@UnityEngine
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
You can 𝗜𝘀𝗼𝗹𝗮𝘁𝗲 an 𝗼𝗯𝗷𝗲𝗰𝘁 in the 𝘀𝗰𝗲𝗻𝗲 𝘃𝗶𝗲𝘄 🔍 by selecting it and pressing 𝗦𝗵𝗶𝗳𝘁 + 𝗛



#نکته #یونیتی


👉 @UnityEngine3D 👈
👍4🤩3
If you write custom unity3d editor tools and inspectors, consider using the built-in icons. There is a useful list here: https://github.com/halak/unity-editor-icons.
Access them by calling EditorGUIUtility.IconContent("name")



#نکته #یونیتی


👉 @UnityEngine3D 👈
👍21
This media is not supported in your browser
VIEW IN TELEGRAM
"𝐂𝐚𝐧'𝐭 𝐚𝐝𝐝 𝐬𝐜𝐫𝐢𝐩𝐭.." error message 🚩usually is a result of Unity / VS failing to recompile your script

Just create a New Script to force recompilation process

#نکته #یونیتی


👉 @UnityEngine3D 👈
👍2
This media is not supported in your browser
VIEW IN TELEGRAM
With a small script, you can group objects into a new parent by pressing CTRL+G.

Put the script into a folder called Editor!

You can download it for free here: https://github.com/catkeydev/unity-groupingUtility



#نکته #یونیتی


👉 @UnityEngine3D 👈
👍6💔1
This media is not supported in your browser
VIEW IN TELEGRAM
You can 𝘀𝗻𝗮𝗽 𝗮 𝗱𝗿𝗮𝗴𝗴𝗲𝗱 𝗽𝗿𝗲𝗳𝗮𝗯 to the default Unity grid by pressing 𝗖𝘁𝗿𝗹+\ instead of resetting it manually to 0,0,0




#نکته #یونیتی


👉 @UnityEngine3D 👈
👍5👎1
This media is not supported in your browser
VIEW IN TELEGRAM
Learn the basics of shadergraph vertex displacement in unity3d to make some cool effects!

#نکته #یونیتی


👉 @UnityEngine3D 👈
This media is not supported in your browser
VIEW IN TELEGRAM
Calculate/Render FPS.

Frame rate is a common performance metric.

In any given frame, FPS
= 1 / deltaTime

For multiple frames, averageFPS
= numFrames / accumulatedDeltaTime

GitHub 🔗: https://github.com/MirzaBeig/FPS-Display


https://telegra.ph/a-Twitter-thread-from-TheMirzaBeig-05-03




#نکته #یونیتی


👉 @UnityEngine3D 👈
👍3
They are the key to triggering specific functions when the variable's value changes.




#نکته #یونیتی


👉 @UnityEngine3D 👈
👍5
This media is not supported in your browser
VIEW IN TELEGRAM
Easily place adjacent gameobjects with automatic snapping in Unity Editor



#نکته #یونیتی


👉 @UnityEngine3D 👈
👍5🔥1🤯1
Put forward slashes ('/') in the strings you pass as options to the IntPopups in your property drawers and editor scripts, and it will automatically be split into subcategories in the inspector.

Keeps things neat and tidy



#نکته #یونیتی


👉 @UnityEngine3D 👈
This media is not supported in your browser
VIEW IN TELEGRAM
Make your 𝗟𝗮𝗺𝗽 𝗚𝗹𝗼𝘄 💡 in Unity by using 𝗘𝗺𝗶𝘀𝘀𝗶𝗼𝗻 𝗽𝗮𝗿𝗮𝗺𝗲𝘁𝗲𝗿 with a 𝗧𝗲𝘅𝘁𝘂𝗿𝗲 𝗠𝗮𝘀𝗸 🤿 to limit the glow to the light bulb element

*If your models don't use textures you may not need the extra texture mask


#نکته #یونیتی


👉 @UnityEngine3D 👈
7👍3😐2👏1
Do you find it tedious to drag references every time?
Maybe you sometimes forget to add references?
Try using RequireComponent and Reset!

This automatically creates and assigns all the necessary components for you.


#نکته #یونیتی


👉 @UnityEngine3D 👈
👍9😍1
Be careful when using the default keyword with quaternions!

In our example we highlighted some issues that may arise and also one possible solution using linq (which will be a lot faster with the upcoming support of newer versions of dotnet)



#نکته #یونیتی


👉 @UnityEngine3D 👈
👍1
You can setup keyboard shortcuts to editor layouts to quickly switch back and forth between them.


#نکته #یونیتی


👉 @UnityEngine3D 👈