GUISettings.doubleClickSelectsWord

Cambiar al Manual
public bool doubleClickSelectsWord ;

Descripción

Should double-clicking select words in text fields.

By default is set to true.

using UnityEngine;

public class Example : MonoBehaviour { string str = "This is a string with \n two lines of text";

void OnGUI() { GUI.skin.settings.doubleClickSelectsWord = false; str = GUILayout.TextArea(str); } }