How to use FirstPersonController script for iPhone? (419183)

I must be missing something very obvious, but I can’t seem to get this going.

I added the FirstPersonController script (and CharacterController of course) to my prefab.

When I run it, I get a load of errors from the Update function, which I traced to ‘moveTouchPad’ being unassigned.

What should it be assigned to, and where?

Hmm. See there are Prefabs. But do I add a prefab to the scene? or to my Player prefab?

When I try to assign (via drop-down) the ‘Move Touch Pad’ it doesn’t ‘take’, it stays ‘None’

Have you tried using the First Person Setup in iPhone Standard Assets?

In Unity go to Assets → Import Package…
Browse to Applications/Unity iPhone/Standard Packages and open iPhone Standard Assets.unityPackage

This will import a bunch of super useful things into your Scene including a good 1st person setup. Look in the Control Setups folder in the Project Panel.

Yeah I saw those, just didn’t know how to use them. I found the FPC there, but did not know that I had to add a Joystick script (or other prefab) and assign that to the field on the FPC script. That was the piece I was missing.