Question by
TheTeeny-tinyUser · Dec 04, 2016 at 01:11 AM ·
errorerror-messageerror-handling
error CS0101: The namespace `global::' already contains a definition for `PlayerMotor'
I have 2 files to make my character move and instead of running them this is popping up. Can someone please tell me what I need to fix? They are 2 small files I have attached pictures
player-controller.png
(250.2 kB)
player-motor.png
(238.0 kB)
Comment
Answer by JedBeryll · Dec 04, 2016 at 06:51 AM
Based on the filename PlayerController.cs should have this at line 4:
public class PlayerController : Monobehaviour {