void Start() { FindObjectOfType <Fader>().FadeIn(); FindObjectOfType <CameraSystem>().changeViewport(); FindObjectOfType <InventorySystem>().CreateO2Gauge(); playerO2 = FindObjectOfType <O2Gauge>(); smokeWalls = FindObjectsOfType <SmokeWall>(); isAntiSmoking = false; DialogueManager.Instance().StartDialogue(startDlg); FindObjectOfType <Note>().AddMission(mission1); }
// Enable 되면 실행되므로 화염 시작부분을 넣을 것 public void Start() { Debug.Log("기본 화염 스크립트 시작 감지"); Level1.SetActive(false); Level2.SetActive(false); Level3.SetActive(false); Level4.SetActive(false); nowLevel = 0; nowRoutine = FireEffect(); StartCoroutine(nowRoutine); o2Gauge = FindObjectOfType <O2Gauge>(); hpSystem = FindObjectOfType <HPSystem>(); }