File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ private void ApplySearchFilter(string filter)
254254 private void ResetOverride ( )
255255 {
256256#if UNITY_6000_3_OR_NEWER
257- var devices = FindObjectsByType < MonoBehaviour > ( ) . OfType < IDevice > ( ) . ToList ( ) ;
257+ var devices = FindObjectsByType < MonoBehaviour > ( FindObjectsSortMode . InstanceID ) . OfType < IDevice > ( ) . ToList ( ) ;
258258#else
259259 var devices = FindObjectsOfType < MonoBehaviour > ( ) . OfType < IDevice > ( ) . ToList ( ) ;
260260#endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private static void SnappingToolShortcut()
3535 public override void OnActivated ( )
3636 {
3737#if UNITY_6000_3_OR_NEWER
38- _sceneSnappingPoints = FindObjectsByType < SnappingPoint > ( ) . ToList ( ) ;
38+ _sceneSnappingPoints = FindObjectsByType < SnappingPoint > ( FindObjectsSortMode . InstanceID ) . ToList ( ) ;
3939#else
4040 _sceneSnappingPoints = FindObjectsOfType < SnappingPoint > ( ) . ToList ( ) ;
4141#endif
You can’t perform that action at this time.
0 commit comments