07-22-2021, 07:00 PM
Hi
That method is used to build the list of game objects with connections for editor UI purpose (to add a gizmo next to them). So if you deactivate it, besides not having that gizmo anymore, nothing will break.
You can deactivate the automatic call to that method by going to CurvyProject.cs, and comment the following line
EditorApplication.hierarchyChanged += ScanConnections
In order for me to enhance the performance of that method, can you please help me by providing me one or more of the following:
- A reproduction case
- A screenshot of the profiler window showing the call to that method
- The number of game objects you have in your scene, the number of control points, and the number of connections.
Let me know if my work around didn't work
Have a nice day
That method is used to build the list of game objects with connections for editor UI purpose (to add a gizmo next to them). So if you deactivate it, besides not having that gizmo anymore, nothing will break.
You can deactivate the automatic call to that method by going to CurvyProject.cs, and comment the following line
EditorApplication.hierarchyChanged += ScanConnections
In order for me to enhance the performance of that method, can you please help me by providing me one or more of the following:
- A reproduction case
- A screenshot of the profiler window showing the call to that method
- The number of game objects you have in your scene, the number of control points, and the number of connections.
Let me know if my work around didn't work
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.