Version: 2021.1
언어: 한국어
public Color selectionColor ;

설명

The color of the selection rect in text fields.

using UnityEngine;

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

void OnGUI() { GUI.skin.settings.selectionColor = Color.cyan; str = GUILayout.TextArea(str); } }