i didn’t get it sir… do you have a sample? i have two scene how can i import the name that i enter from the first scene to the second scene… ? sorry sir im not good at scripting.
If you mark the stringToEdit variable as static, it means it will keep its value between scenes unless you deliberately change it. You can access a static variable from any other script by qualifying it with the script name. For example, suppose the script you posted above was in a file called PlayerName.js. You can access the variable by using:-