Home > other >  Positioning the script exception object (PS: the script will mount on multiple objects, an object be
Positioning the script exception object (PS: the script will mount on multiple objects, an object be

Time:09-19

 the Unity editor tool 

A script may be mounted on a few objects that could only lead to an object the script errors or anomalies, to locate the object, the need to write a tool to do this, click on the console abnormal content can jump into the script, and cannot locate to that leads to abnormal objects, have big ideas,
(PS: unity2017 found with similar function, when you click on the inside of the console abnormal content, in addition to the script, there will appear in Hierarchy, but only one time, once again, click on the inside of the console abnormal jump to the code, can't again position mark)

CodePudding user response:

Simple point, you can use the Debug Log (" XXX ", the gameobject), so that you click on the print information, will point out to information which objects are printed
  • Related