unity3d - What is the Object parameter in UnityEngine.Debug.Log(string, Object) for? -


i've checked unityengine.debug.log method documentation cannot find use of second parameter object. have tried 1 of gameobjects , nothing particular happens, passing anything. still unuseful lineunityengine.debug.log(object) wonder 1 use for?

since haven't noticed merit find annoying. line unityengine.debug.log(object) space wasted in console. have twice number of rows in it.

console wasted space

what parameter for?

edit adam know!. object might become handy still think waste of space in console window.

the documentation says 'context' debug message applies, perhaps isn't useful, hint @ use. connection makes between object , debug message can used locate object you're debugging, try double clicking on message in debug log see this.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -