This media is not supported in your browser
VIEW IN TELEGRAM
If you have large sections of code, use "#region" attribute to organize your specific elements!
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍9
This media is not supported in your browser
VIEW IN TELEGRAM
In Unity, to navigate UI elements using a Keyboard or Gamepad, simply set one of the elements as the 'First Selected' in the EventSystem component of your game ⌨️🧭🙂
🔗 Sunny Valley Studio (@SunnyVStudio)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Sunny Valley Studio (@SunnyVStudio)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍3😐1
This media is not supported in your browser
VIEW IN TELEGRAM
Activate Debug Mode in the Inspector Panel to have a full view of all your private variables.
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍4
This media is not supported in your browser
VIEW IN TELEGRAM
Reduce build time and remove unwanted shaders keywords that make your project's file size bigger in Unity with only a few clicks!
Full Tutorial: https://www.youtube.com/watch?v=mCYe8NOCoNA
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
Full Tutorial: https://www.youtube.com/watch?v=mCYe8NOCoNA
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🤔2👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Quick tip to render 2 cameras at the same time in Unity!
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👏5👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Save the transform value of any game object to a preset that can be used later with just a click!
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍6👏1
Setting "Depth Texture Mode" to "Force Prepass" may improve performance on *simple* scenes. The other modes involve a full screen blit to copy the camera depth buffer into _CameraDepthTexture, which can be more expensive on mobile.
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect (@kronnect)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍1
یونیتی یه خصوصیت داره برای توابع که با عنوان ContextMenu با کمک اون میتونید یه کار کنید که توابع کامپوننت رو از اینسپکتور یونیتی اجرا کنید،مثلا میخوایید دمیج گرفتن بازیکن رو تست کنید،بجای اینکه بازیکن توسط دشمن دمیج بگیره تابع دمیج گرفتن رو مستقیم فراخوانی کنید و تست کنید،بعضی موارد مثل این میتونه خیلی مفید باشه
(تابع مورد نظر از منوی سه نقطه(یا چرخ دنده توی نسخه های قدیمی) بغل کامپوننت قابل دسترسیه)
https://docs.unity3d.com/ScriptReference/ContextMenu.html
#ارسالی_اعضا #نکته #یونیتی
👉 @UnityEngine3D 👈
(تابع مورد نظر از منوی سه نقطه(یا چرخ دنده توی نسخه های قدیمی) بغل کامپوننت قابل دسترسیه)
https://docs.unity3d.com/ScriptReference/ContextMenu.html
using UnityEngine;
public class ContextTesting : MonoBehaviour
{
/// Add a context menu named "Do Something" in the inspector
/// of the attached script.
[ContextMenu("Do Something")]
void DoSomething()
{
Debug.Log("Perform operation");
}
}
#ارسالی_اعضا #نکته #یونیتی
👉 @UnityEngine3D 👈
🔥5👍1
پکیج NaughtyAttributes یه پکیج خوب اوپن سورسه برای اضافه کردن یک سری امکانات به اینسپکتور ،من بعضی مواردش رو امتحان کردم کار کردن، بسته به نیاز پروژتون بعضی امکاناتش میتونن کاربردی باشن.
داخل صفحه گیت مثال و توضیحات بیشتری آوردن اگه دوست داشتید برسی کنید:
https://github.com/dbrizov/NaughtyAttributes
#ارسالی_اعضا #نکته #یونیتی
👉 @UnityEngine3D 👈
داخل صفحه گیت مثال و توضیحات بیشتری آوردن اگه دوست داشتید برسی کنید:
https://github.com/dbrizov/NaughtyAttributes
#ارسالی_اعضا #نکته #یونیتی
👉 @UnityEngine3D 👈
❤10👍8
This media is not supported in your browser
VIEW IN TELEGRAM
Need to do some repetitive code edits?
In Visual Studio you can hold Alt to select and edit multiple lines simultaneously
It should save you some time
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
In Visual Studio you can hold Alt to select and edit multiple lines simultaneously
It should save you some time
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍3🔥2
you should get this plugin for the unity docs!
it adds a comment section to each page that users can contribute to - it's great for finding weird gotchas or telling others about them
https://github.com/Developer-Notes-Extension
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
it adds a comment section to each page that users can contribute to - it's great for finding weird gotchas or telling others about them
https://github.com/Developer-Notes-Extension
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍5