Debug.Log() vs Print() to write data in console

I have a question. When we want to view data in the console. What is the difference between using “print” and “debug.log” beside the lenth of the name.

Print("The user typed " + input);
Debug.Log("The user typed " + input);
1 Like

Hi,

Actually, nothing, Print is effectively short-hand.

Personally, I prefer the dot notation approach.


See also;

2 Likes

Thanks

1 Like

You’re very welcome :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms