// Start is called before the first frame update void Start() { hobbangMoveScript_PlayerCtrl = GameObject.Find("Hobbang").GetComponent <HobbangMove>(); audioSource = GetComponent <AudioSource>(); StartCoroutine(Dialogue_House()); }
HobbangMove hobbangMoveScript_Narration_Subway; // HobbangMove스크립트 에서 변수 및 함수 등을 쓸 수 있게 함 // Start is called before the first frame update void Start() { audioSource = GetComponent <AudioSource>(); hobbangMoveScript_Narration_Subway = GameObject.Find("Hobbang").GetComponent <HobbangMove>(); // 호빵이 인스펙터 값을 가져옴 StartCoroutine(Dialogue_Subway()); speed = 0f; }