Behaviour-isActiveAndEnabled - Unity スクリプトリファレンス

Reports whether a GameObject and its associated Behaviour is active and enabled.