オブジェクト.active

オブジェクトがアクティブか非アクティブをbool型のtrue・falseで返す。

public void HomeButton(){
	// ホーム画面に戻る操作。
	Application.LoadLevel("Home");
	play = false;

	if(ClearScreen.active = true){
		ClearScreen.SetActive(false);

	}
}

nextsystemkinectblog.seesaa.net