Version: 2018.2
public Color selectionColor ;

説明

文字が選択されていることを示すためのハイライトの色。

using UnityEngine;
using System.Collections;
using UnityEngine.UI; // Required when Using UI elements.

public class Example : MonoBehaviour { public InputField mainInputField;

// Changes the color of the highlight that shows what characters are selected. void ChangeSelectionColor() { mainInputField.selectionColor = Color.red; } }