DEV Community

Discussion on: Simple unity 2d platformer AI

Collapse
 
kuhnkee profile image
kuhnkee

Do your player character have a script called player? My line goes playerTransform = FindObjectOfType().transform; Since the script on my player is called PlayerController.

Collapse
 
blazingfire profile image
Wyn Doe

That worked for me thank you.