Nội dung text G10S1 Session 12.pdf
( Explore ) [ Bugs and Debugging ] ( 15 Minutes ) Define bugs: Bugs are like mistakes or problems in our code, They can make our program not work the way we want it to. Define Debugging: Debugging is like being a detective in the world of programming, When something goes wrong, we have to find and fix the problem. Talk about advice and strategies. Print Statement (Log Message ): To show what’s happening in the code step by step In Unity: You can use Debug.Log(“ ”); function to print Message To the console