Advertisement
Guest User

Untitled

a guest
May 25th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. ```
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5.  
  6. public class Console : Debug
  7. {
  8. public static void Log(string _message,Color _color){
  9. ColorUtility.ToHtmlStringRGB(_color);
  10. Debug.Log(string.Format("<color=#{0}>{1}</color>",ColorUtility.ToHtmlStringRGB(_color),_message));
  11. }
  12. }
  13. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement