改变debug颜色

xiaoxiao2025-06-27  15

输出: 

  

代码: 

using System.Collections; using System.Collections.Generic; using UnityEngine; public class ColorScript : MonoBehaviour { void Start() { Debug.Log("<color=red>000000000</color>"); Debug.Log("<color=yellow>000000000</color>"); Debug.Log("<Color=#f4a460>000000000</color>"); } void Update() { } }

 

转载请注明原文地址: https://www.6miu.com/read-5032586.html

最新回复(0)