Skip to content
Snippets Groups Projects
Commit b148cbac authored by Roby Purnomo's avatar Roby Purnomo
Browse files

minor : debug set playerpref playername

parent bc746186
Branches
Tags
No related merge requests found
......@@ -51,7 +51,7 @@ public class Setting : MonoBehaviour
public void setName()
{
Debug.Log("tes");
PlayerPrefs.SetString("playername", name);
PlayerPrefs.SetString("playername", display.text);
PlayerPrefs.Save();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment