🎮 Unity 개발/C#

Console Log

gameuiux 2023. 8. 29. 15:26
728x90
반응형
public class Practice : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        Debug.Log("Normal");
        Debug.LogWarning("Warning");
        Debug.LogError("Error");
        
        for (int i = 0; i < 100; i++){
        Debug.Log("Same Log"); // 같은 로그 모아보려면 Console에서 Collapse
        }
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}

728x90
반응형