Version: 5.6
public bool IsActive ();

설명

See member in base class.

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

public class ExampleClass : MonoBehaviour { public ScrollRect myScrollRect;

public void Start() { //Checks if the ScrollRect called "myScrollRect" is active. if (myScrollRect.IsActive()) { Debug.Log("The Scroll Rect is active!"); } } }