resharper-unity
EditorXR
Our great sponsors
resharper-unity | EditorXR | |
---|---|---|
9 | 1 | |
1,199 | 914 | |
0.7% | 0.0% | |
9.6 | 0.0 | |
2 days ago | almost 2 years ago | |
C# | C# | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
resharper-unity
-
OnTriggerEnter not working (Doesn't display Debug.Log )
Best explaination I've found. Use CompareTag instead of explicit string comparison · JetBrains/resharper-unity Wiki (github.com)
-
Do you want to run a method but maybe the reference is null?
I'm a huge fan of the safe navigation operator, but I'd be remiss not to point out that it doesn't work with any references derived from UnityEngine.Object. See for more info: https://github.com/JetBrains/resharper-unity/wiki/Possible-unintended-bypass-of-lifetime-check-of-underlying-Unity-engine-object
- Do you use System.Object.ReferenceEquals() ?
-
Changing color not working
FYI it is bad for performance to do null checks on any unity.engine objects: https://github.com/JetBrains/resharper-unity/wiki/Avoid-null-comparisons-against-UnityEngine.Object-subclasses
- how do i go about making this more performant
-
GetComponent - oh my god
However null checks for Unity objects are slow compared to standard C# classes, see this link for a brief explanation, there are also many discussions about this on the Unity forum. Not sure though, if that is still true for recent Unity versions.
- Is there a drawback using the null check "?." operator?
-
Whats the point of using GetComponent when you can just drag the desired component into the script component in the viewport?
The fact of the matter is as a primarily C# .NET developer you have all been polluted with bad coding practices from tutorials and partially on Unity's end too. For example non preferred method of using the null-conditional access operator.
EditorXR
What are some alternatives?
UnityNativeScripting - Unity Scripting in C++
Unity-Editor-Toolbox - Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.
AutoLOD - Automatic LOD generation + scene optimization
driven-decals - A mesh-based PBR decal system for Unity's universal render pipeline.
NodeGraphProcessor - Node graph editor framework focused on data processing using Unity UIElements and C# 4.6
VirtualMotionCapture - VRゲーム中にモデルをコントロール
pb_Stl - STL import/export for Unity, supporting both ASCII and Binary.
actors.unity - 🚀Actors is a framework empowering developers to make better games faster on Unity.
ASF-Achievement-Manager - Achievement Manager for ASF
UIWidgets - UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.