To replace one or many prefabs in a scene with another, ctrl+drag the new prefab onto the old ones.
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍5🤔3
This media is not supported in your browser
VIEW IN TELEGRAM
You can Automatically remove unused using statements when saving your script in Unity!
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍7
This media is not supported in your browser
VIEW IN TELEGRAM
A small gist for snapping a RectTransform's anchors to its corner points in Unity:
https://gist.github.com/yasirkula/2ef6c9cf7d83c035fa29ac3a691e77c9
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
https://gist.github.com/yasirkula/2ef6c9cf7d83c035fa29ac3a691e77c9
Source
#نکته #یونیتی
👉 @UnityEngine3D 👈
👌12❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Here is how to fix Bullets not hitting objects in Unity
More info at:
https://docs.unity3d.com/Manual/choose-collision-detection-mode.html
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
More info at:
https://docs.unity3d.com/Manual/choose-collision-detection-mode.html
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍5❤1
This media is not supported in your browser
VIEW IN TELEGRAM
Quick Unity interface tip to have better object placement grip and more precision when placing them around the scene! Grid Snapping Tool!
🔗 Kronnect
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍5
This media is not supported in your browser
VIEW IN TELEGRAM
To detect which Body Part was Hit, add colliders to your character's bones
This will make them move together with the animation
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
This will make them move together with the animation
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍2
You have heard about the formatting options of strings, but did you know these work for structs like Vector3?
Use them in your interpolated strings to get a nicer output! In our example the F2 formats the float components to two digits.
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
Use them in your interpolated strings to get a nicer output! In our example the F2 formats the float components to two digits.
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
❤1👍1
This media is not supported in your browser
VIEW IN TELEGRAM
The "F" key can be used to focus on an object in scene view, but did you know you can also focus on an asset in project view when you misclicked other folders?
🔗 Kronnect
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Kronnect
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍5❤1
قیمت موبایلتون چقدره؟ ( تقریبی بگید ، میخوام ببینم چند درصد افراد گوشی مدل پایین یا بالا یا پرچمدار دارند. برای اینکه ببینیم باید چقدر بازی رو بهینه کنیم چقدر کاربر داریم)
Anonymous Poll
19%
2 تا 5 میلیون تومن
20%
5 تا 7 میلیون تومن
20%
7 تا 10 میلیون تومن
15%
10 تا 15 میلیون تومن
11%
15 تا 20 میلیون تومن
4%
20 تا 30 میلیون تومن
2%
40 تا 50 میلیون تومن
1%
50 تا 60 میلیون تومن
3%
از 60 میلیون تومن به بالا
5%
سایر ( اپل دارم - گوشی دکمه ای دارم - گوشی ندارم - گوشیم کمتر از 2 میلیون تومنه)
💔11👍4
Profiling flowchart for a Unity project
🔗 Dave Hampson (1.0x engineer)
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Dave Hampson (1.0x engineer)
#نکته #یونیتی
👉 @UnityEngine3D 👈
👏3
بهینهسازی یونیتی : پروفایلگیری از بخشها و قسمتهای خاص کد
لینک : https://medium.com/@brunolorenz98/optimization-unity-3d-profiling-specific-code-parts-and-sections-0f7a1920d024
#آموزش #یونیتی #بهینه_سازی
👉 @UnityEngine3D 👈
لینک : https://medium.com/@brunolorenz98/optimization-unity-3d-profiling-specific-code-parts-and-sections-0f7a1920d024
#آموزش #یونیتی #بهینه_سازی
👉 @UnityEngine3D 👈
👍3
The Transform class implements IEnumerable. With that you could i.e.:
-Iterate through the children of the transform like foreach (Transform child in transform) {...}
-Iterate with direct cast via .OfType<T> like transform.OfType<RectTransform>()
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
-Iterate through the children of the transform like foreach (Transform child in transform) {...}
-Iterate with direct cast via .OfType<T> like transform.OfType<RectTransform>()
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Here is how to set up One Way collision Platforms in Unity 2D using Platform Effector component
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍11❤1
Normalizing a zero vector is mathematically undefined and returning NaN within the Unity.Mathematics lib!
When normalizing i.e. a Unity.Mathematics float3 use the normalizesafe method to avoid NaN.
It works for Vector3 though!
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
When normalizing i.e. a Unity.Mathematics float3 use the normalizesafe method to avoid NaN.
It works for Vector3 though!
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
❤1👍1👏1
need of Icons for your project?
You can download many Icons in a single Font: https://github.com/google/material-design-icons/tree/master/variablefont
Then use it with TMP!
- Create a FontAsset
- Assign the Font to the TextElement
- Add codePoint
- On Google Fonts Site search for icons + codePoints
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
You can download many Icons in a single Font: https://github.com/google/material-design-icons/tree/master/variablefont
Then use it with TMP!
- Create a FontAsset
- Assign the Font to the TextElement
- Add codePoint
- On Google Fonts Site search for icons + codePoints
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍1
This media is not supported in your browser
VIEW IN TELEGRAM
Ragdolls are perfect for dynamic Death Effects or impactful reactions for your characters
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍6❤2
Here are some different approaches to check a collection for its length.
Some examples might better fit your coding style than others. Always use the ones that fit your team and give you the maximum readability.
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
Some examples might better fit your coding style than others. Always use the ones that fit your team and give you the maximum readability.
🔗 Binary Impact
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍3👎2
This media is not supported in your browser
VIEW IN TELEGRAM
Make your Character stand out in Dark Scenes with Lighting and Rendering Layers in Unity!
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍9🔥1
This media is not supported in your browser
VIEW IN TELEGRAM
To inspect your map more easily in the Scene View use Shift+~ to toggle off all tool overlays
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍3
This media is not supported in your browser
VIEW IN TELEGRAM
Quickly Organize your Hierarchy!
Use Ctrl+Shift+G to group selected GameObjects under a new Parent Object
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
Use Ctrl+Shift+G to group selected GameObjects under a new Parent Object
🔗 Sunny Valley Studio
#نکته #یونیتی
👉 @UnityEngine3D 👈
👍7👌2