Version: 2017.3

Selectable.IsInteractable

Cambiar al Manual
public bool IsInteractable ();

Descripción

UI.Selectable.IsInteractable.

using UnityEngine;
using System.Collections;
using UnityEngine.UI; // required when using UI elements in scripts

public class Example : MonoBehaviour { public Button startButton;

void Update() { if (!startButton.IsInteractable()) { Debug.Log("Start Button has been Disabled"); } } }