fa
Feedback
کانال تخصصی یونیتی ( آموزش و نکته )

کانال تخصصی یونیتی ( آموزش و نکته )

رفتن به کانال در Telegram

به نام خدا مسئولیت مطالب یا آگهی ارسالی در کانال یا کامنت ها به عهده من یا ما نیست لیست گروه ها و... https://t.me/UnityEngine3D/823 برای تبلیغ در کانال و گروه : https://t.me/UnityEngine3DAds مدیر اصلی(مالک) @UnityEngine

نمایش بیشتر
1 763
مشترکین
+324 ساعت
+77 روز
+2030 روز
آرشیو پست ها
In a Unity scene, hold the 'V' key while the translate tool is active and you can drag an object by a vertex and snap that to one of another object's vertices #نکته #یونیتی 👉 @UnityEngine3D 👈

Remove confusing indentations by getting rid of some nested if/else constructs. Often the else statement is not needed & the
Remove confusing indentations by getting rid of some nested if/else constructs. Often the else statement is not needed & the code can be optimized to have less indentations & more readability. Here is an easy example to show a use case #نکته #یونیتی 👉 @UnityEngine3D 👈

Handle OnBecame[Inv|V]isible to avoid unnecessary work in scripts attached to game objects that are not in the camera view #نکته #یونیتی 👉 @UnityEngine3D 👈

#meme #یونیتی 👉 @UnityEngine3D 👈
#meme #یونیتی 👉 @UnityEngine3D 👈

You can create your own packages for your projects. You need an entry in your manifest.json which is located in your Packages
You can create your own packages for your projects. You need an entry in your manifest.json which is located in your Packages folder. You also need a package.json file in the folder that holds your code. #نکته #یونیتی 👉 @UnityEngine3D 👈

With Mathf.InverseLerp you can map the real time minutes to your ingame days. Use the passed time to inverse lerp between 0f
With Mathf.InverseLerp you can map the real time minutes to your ingame days. Use the passed time to inverse lerp between 0f and your ingame length of a day to use the result in a lerp between 0f and 24f to get a float holding the time of day. #نکته #یونیتی 👉 @UnityEngine3D 👈

Sometimes it is beneficial to switch the project window to just a "tree view" with the One Column Layout. #نکته #یونیتی 👉 @UnityEngine3D 👈

You can use LOD-Groups to fade materials Set "Fade Mode" to "Cross Fade" & "Fade Transition Width" to any value higher that 0 Create a shader with "Alpha Clipping" & a custom function node containing the LOD fade #نکته #یونیتی 👉 @UnityEngine3D 👈

If your models are named correctly then unity will automatically create LODs upon importing your FBX. #نکته #یونیتی 👉 @Unity
If your models are named correctly then unity will automatically create LODs upon importing your FBX. #نکته #یونیتی 👉 @UnityEngine3D 👈

#نکته #یونیتی 👉 @UnityEngine3D 👈
#نکته #یونیتی 👉 @UnityEngine3D 👈

Create a multiple choice enum like the layer mask with the System.Flags attribute. Note that your values have to start with 2
Create a multiple choice enum like the layer mask with the System.Flags attribute. Note that your values have to start with 2 and have to be a power of 2 as well You can also combine it with the InspectorName attribute. #نکته #یونیتی 👉 @UnityEngine3D 👈

"Press F to focus on your selection": #meme 👉 @UnityEngine3D 👈
"Press F to focus on your selection": #meme 👉 @UnityEngine3D 👈