i have mainmenu. player enters the name of the character in the menu.
and i call the game with the playername.
i mean transfering the variables
please don’t suggest PlayerPrefs (this is a multiplayer game. there is a hack way)
i have mainmenu. player enters the name of the character in the menu.
and i call the game with the playername.
i mean transfering the variables
please don’t suggest PlayerPrefs (this is a multiplayer game. there is a hack way)
Put the variables in a GameObject and mark it as ‘dontdestroyonload’
See more here:
http://instantiateunity.blogspot.com/2011/06/dont-destroy-on-load.html
http://unity3d.com/support/documentation/ScriptReference/Object.DontDestroyOnLoad.html