public override void OnAction() { if (EscapeGameManager.isClear()) { Application.LoadLevel(sceneName); } }
public override void OnEnable() { if (EscapeGameManager.isClear()) { text1.SetActive(true); } else { text2.SetActive(true); } }