@melonman All of the above should be valid. Also make sure you are including the namespace to the script title, if there is one.
namespace UnityStandardAssets.Characters.FirstPersonController
{
public class FirstPersonController : MonoBehaviour
So in order to call "FirstPersonController" script, we need to declare it's namespace with either of these ways:
using UnityStandardAssets.Characters.FirstPerson;
or straight at the declaration of our variable
public UnityStandardAssets.Characters.FirstPerson.FirstPersonController player;
Trending Articles
More Pages to Explore .....