Version: 2017.2

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;
using System.Collections;

public class ExampleClass : MonoBehaviour { public string str = "This is a string with \n two lines of text"; void OnGUI() { GUI.skin.settings.doubleClickSelectsWord = false; str = GUILayout.TextArea(str); } }