Version: 5.5
public bool activeInHierarchy ;

説明

ゲームオブジェクトがシーン上でアクティブかどうか

This lets you know if a gameObject is active in the game. That is the case if its GameObject.activeSelf property is enabled, as well as that of all it's parents.

See Also: GameObject.SetActive, GameObject.activeSelf.