Hi
been following another answer advice and have come across a situation. Im trying to change the variables in another script, I belive I am close to cracking it, but I am having issues.
Assets/Scripts/Ladder.cs(13,17): error CS0246: The type or namespace name `PlayerScript’ could not be found. Are you missing a using directive or an assembly reference?
I am pretty sure its due to something not being declared, but im not sure what to declare and where.
using UnityEngine;
using System.Collections;
public class Ladder : MonoBehaviour {
bool insideTrigger = false;
bool play = false;
void Start(){
GameObject theplayer = GameObject.FindGameObjectWithTag ("Player") ;
PlayerScript playerScript = theplayer.GetComponent<OVRPlayerController> ();
}