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

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

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

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

مدیر اصلی(مالک)
@UnityEngine
Download Telegram
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
This media is not supported in your browser
VIEW IN TELEGRAM
​You can edit multiple lines in Visual Studio instead of copying and pasting each time. Hold ALT while selecting the line.



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


👉 @UnityEngine3D 👈
👍5🔥3
This media is not supported in your browser
VIEW IN TELEGRAM
​Use R(RandomStart, RandomEnd) to set a random position for multiple game objects in the scene.




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


👉 @UnityEngine3D 👈
👍5👏3
This media is not supported in your browser
VIEW IN TELEGRAM
​You can insert an array element in the Inspector by pressing the key shortcut “CTRL/CMD + D” (which stands for: “Duplicate”), without having to adjust the next elements manually.



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


👉 @UnityEngine3D 👈
👍7🔥3
This media is not supported in your browser
VIEW IN TELEGRAM
​Try using the DEBUG INSPECTOR to replace components with other classes that inherit them without losing serialized data



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


👉 @UnityEngine3D 👈
👍3
خودآگاه؟
خنده امان آمد
هوش مصنوعی یعنی تقلید رفتار های انسان (یا سایر جانورات دیگه و...) ، حالا شما هر چی هم پیشرفته کنیش و اصلا یک میلیارد برابر هوشش بهتر از انسان باشه ، باز خودآگاهی پیدا نمیکنه !

شما برید توی یونیتی یه ربات خیلی خفن و توپ درست کنید (خیلی هوش مصنوعی خفن) ، آیا ربات زنده هست ؟
وقتی سیستم رو خاموش کردی یا پروژه رو پاک کردی یا... قتل انجام دادی ؟ ( مردم ، این ها کلا یک صفر و یک بیشتر نیست😑🤦‍♂)
👎8👍6🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
Did you know you can bulk change Transform Position of a group of gameobjects at the same time?

Formula: L(Position1,Position2)


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


👉 @UnityEngine3D 👈
👍8
This media is not supported in your browser
VIEW IN TELEGRAM
Thought it'd be neat to have a darker color along the edges of walls. Instead of using an expensive AO solution I just generate a 9-slice sprite over each floor mesh and under cabinets... tech artists please don't kill


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


👉 @UnityEngine3D 👈
😁6👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Getting a random point on a circle.

Random.insideUnitCircle.normalized * radius;


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


👉 @UnityEngine3D 👈
👍5🤔1
This media is not supported in your browser
VIEW IN TELEGRAM
Random point between two circles :

float radius = Random.Range(radiusMin, radiusMax);
Vector3 randomPointOnCircle =
Random.insideUnitCircle.normalized * radius;


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


👉 @UnityEngine3D 👈
👍4🔥4