Unity Acting Funny with PlayerMovement.cs Script

rpg_s01_click_mouse_to_move

#1

In the click to move the lecture, Ben moves the PlayerMovement.cs script to the Player object. Which makes sense to me because it requires an ‘Ethan’ component. However, when I did that it added a bunch of components to the Player (empty object) and literally broke everything. It took me a bit to figure out what was going on, and I had to move the script to “Ethan”.

Can anyone tell me what’s going on? Adding a script shouldn’t be adding other components, right?