Version: 2017.3
public static string UnEscapeURL (string s);
public static string UnEscapeURL (string s, Encoding e);

Parámetros

s Un string que contiene caracteres de escape.
e La codificación de texto a utilizar.

Descripción

Convierte las secuencias de escape amigables para URL de vuelta al texto normal.

Certain text characters have special meanings when present in URLs. If you need to include those characters in URL parameters then you must represent them with escape sequences. This function takes a string containing these escape sequences and converts them back to normal text. See Also: UnityWebRequest.EscapeURL.

using UnityEngine;
using UnityEngine.Networking;

public class ExampleClass : MonoBehaviour { void Start() { string plainName = UnityWebRequest.UnEscapeURL("Fish+%26+Chips"); } }