Accessing boolean in js from C#

I found this website here:

that informed me how to get at my other scripts boolean flag to set it based on the C# scripts actions. I put the js script in the Plugins folder and run this code:

Why is it always null? I seem to be missing something here

public class CameraStateMachine : MonoBehaviour {
	
	public rotateScript myOrbiterScript; //rotateScript.js in pluginsFolder.

	

	// Use this for initialization
	void Start () {
		
		myOrbiterScript = this.GetComponent<rotateScript>();
		if(myOrbiterScript==null)
		{
			Debug.Log ("SO NULL");
		}
		else
			Debug.Log ("looks good!");
		
	}

	etc..

Unfortunately, I think UnityScript classes defined in the UnityScript universe are not accessible from within the C# universe. UnityScript and C# are compiled independently, and as far as your C# compiler is concerned, UnityScript doesn’t exist. Though I find it interesting that it doesn’t complain when you type this.GetComponent(), assuming rotateScript is a class written in UnityScript… maybe I’m wrong.

Generally its best to keep your code entirely in one language, as there is a hefty communication barrier between the two.