کانال تخصصی یونیتی ( آموزش و نکته )
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
Use the [Delayed] attribute in your editor code to prevent instantaneous execution of OnValidate.

It will only execute when enter is pressed or the field looses focus.

Useful if you have expensive calculations tied to the field.


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


👉 @UnityEngine3D 👈
👍4
You can add [𝗦𝘆𝘀𝘁𝗲𝗺.𝗙𝗹𝗮𝗴𝘀] attribute above an 𝗘𝗻𝘂𝗺 to be able 𝘁𝗼 𝘀𝗲𝗹𝗲𝗰𝘁 𝗺𝘂𝗹𝘁𝗶𝗽𝗹𝗲 𝘃𝗮𝗹𝘂𝗲𝘀 at once in Unity inspector
It will work 𝗷𝘂𝘀𝘁 𝗹𝗶𝗸𝗲 𝘁𝗵𝗲 𝗟𝗮𝘆𝗲𝗿𝗠𝗮𝘀𝗸 selection field


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


👉 @UnityEngine3D 👈
👍7
If you want to draw grids (like the one in the Animator window) here's how to do it!


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


👉 @UnityEngine3D 👈
👍2🤔2
ضیافت آموزشی فرادرس هم زمان با ماه مبارک رمضان (۵۰ آموزش رایگان)


اطلاعات بیشتر در :
https://faradars.org/ev/ramezan1401


مهلت رو زده تا امشب ساعت 12

👉 @UnityEngine3D 👈
Using [SerializedField] to reference objects in Unity might lead to situations where the object is empty and thus null. By calling this static function on Awake() I can verify that serialized fields are not null.


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


👉 @UnityEngine3D 👈
🤔5
This media is not supported in your browser
VIEW IN TELEGRAM
How to get started with unit tests in your project:
Select TestRunner from the Window->General menu and create an assembly.

In Visual Studio Right Click the assembly and add a class. Write a simple test with the [Test] attribute.



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


👉 @UnityEngine3D 👈
What if you want to have an ability to access one of Unity Packages as a local copy and to have it inside project solution for test purposes? If so, use Embed("packagename").
For example:
UnityEditor.PackageManager.Client.Embed("com.unity.render-pipelines.universal")



If embing is successfull, there will be a "Custom" marking of such package in manager. Example of Embing is well documentated here: If embing is successfull, there will be a "Custom" marking of such package in manager. Example of Embing is well documentated here:
https://docs.unity3d.com/Manual/upm-api.html#Embed


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


👉 @UnityEngine3D 👈
👍2
Ever needed to set some project settings and found out there is no API access to it?

You can access and edit those from the asset files in the ProjectSettings folder in your project.

Open the files in a text editor to get the settings names.


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


👉 @UnityEngine3D 👈
Of course it is common knowledge to add the attribute [RequireComponent] to your scripts to have unity put those Components onto your GameObject.

But did you know you can add multiple types to [RequireComponent]?



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


👉 @UnityEngine3D 👈
👍42
​Ever needed to set some project settings and found out there is no API access to it? You can access and edit those from the asset files in the ProjectSettings folder in your project. Open the files in a text editor to get the settings names.


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


👉 @UnityEngine3D 👈
🔥1
​A simple component that disables game object on specific platforms



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


👉 @UnityEngine3D 👈
🤔3👍2
This media is not supported in your browser
VIEW IN TELEGRAM
سلام دوستان

این رو از روی آموزش با بلندر ساختم با eevee هم رندر گرفتم ، چطور شده؟
👍193👏1🤯1
​Do you use Coroutines? Try using goto if you need to return to a previous point in your coroutine. I use it here for my AI to "resume fleeing" if the player catches back up to them. Use them sparingly though - they can be hard to follow



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


👉 @UnityEngine3D 👈
3👍3👎1
ultimate-guide-to-profiling-unity-games.pdf
4.3 MB
کتاب راهنمای نهایی برای profiling بازی های یونیتی از شرکت یونیتی به زبان انگلیسی


#یونیتی #کتاب #آموزش



👉 @UnityEngine3D 👈
3
توصیه های بهینه سازی عملکرد بازی برای یونیتی از طرف مایکروسافت


لینک :
https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/performance-recommendations-for-unity




#یونیتی #آموزش #بهینه_سازی #ارسالی_اعضا



👉 @UnityEngine3D 👈
🔥10👍1