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?