Access variable from c# to js

Hello. I have playerSettings.js and gameOverMenu.cs scripts. I need get point from playerSettings.js to gameovermenu.cs
But my code not work. I need some help I dont know c#. Sorry for my bad english.

My code :
(playerSettings.js and gameOverMenu.js in the Assets folder. After I created Plugins folder and transfer scripts but not work )

public class gameOverMenu : MonoBehaviour {
playerSettings getPoint;
void Update () {
getPoint = this.GetComponent<playerSettings>();
}
}

Error :

Assets/gameOverMenu.cs(5,9): error CS0246: The type or namespace name `playerSettings' could not be found. Are you missing a using directive or an assembly reference?

Try “this.transform” rather than just “this”. I could be wrong but I think the way you did it means it’s looking on the script for the component.

Thanks for reply but still not work

Using C# and JS in the same project is problematic.

On of the two is compiled first and does not know the other languages classes: