//1st script
string score=“”;
TimerScript.Seconds = score;
score = GUILayout.TextField(score);
GUILayout.EndHorizontal();
if(GUILayout.Button("Save Your Time Record!"))
{
HighScoreManager._instance.SaveHighScore(name,System.Int32.Parse(score));
highscore = HighScoreManager._instance.GetHighScore();
Application.LoadLevel("Main_Menu");
}
//2nd script
public float Seconds = 0;
i have an error like this error CS0029: Cannot implicitly convert type
– princeadj14string' tofloat' Corretion question ( How to convert string to float) please help me about this thankyou in advance! :/You can search your error code to get a little tutorial on how to solve the error I believe its a simple command like highscore = convertToString(score)
– KuPAfooby the way thanyou sir :)
– princeadj14don't forget to mark the question as answered if it has been solved.
– zombience