GamePrefs.SetServerURL C# (CSharp) Method

SetServerURL() public static method

Cache the url of the most recent server accessed
public static SetServerURL ( string url ) : void
url string /// A ///
return void
	public static void SetServerURL(string url)
	{
		if (url.LastIndexOf("/") == url.Length-1) {
			url = url.Substring(0, url.Length-2);
		}
		PlayerPrefs.SetString(m_urlServerPrefKey, url);
	}