Quantcast
Channel: Latest Questions by Kerihobo
Viewing all articles
Browse latest Browse all 74

debug.log with color (variable)????????

$
0
0
After looking at this reference page: http://docs.unity3d.com/ScriptReference/Debug.Log.html I have this variable at the top of my code private Color[] color_debug_log = new Color[]{ Color.red, Color.green, Color.blue, Color.magenta}; when I debug log like this however Debug.Log ("Player " + 1 + " joined the game"); it gives me default color, instead of green. Is it not possible to use color variable in these cases? the fact that the tag must be inside string is something I can see being a problem when trying to access a variable.

Viewing all articles
Browse latest Browse all 74

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>