// 무 아저씨 말풍선을 표시하지 않는다. public void finishKabusanSpeech() { if (this.kabusan_speech != null) { this.kabusan_speech.destroy(); this.kabusan_speech = null; } }
// 무 아저씨 말풍선 표시한다. public void dispatchKabusanSpeech() { if (this.kabusan_speech == null) { GameObject go = this.kabusan_speech_prefab.instantiate(); if (go != null) { this.kabusan_speech = go.GetComponent <KabusanSpeech>(); } } }
// 무 아저씨 말풍선을 표시하지 않는다. public void finishKabusanSpeech() { if(this.kabusan_speech != null) { this.kabusan_speech.destroy(); this.kabusan_speech = null; } }
// 무 아저씨 말풍선 표시한다. public void dispatchKabusanSpeech() { if(this.kabusan_speech == null) { GameObject go = this.kabusan_speech_prefab.instantiate(); if(go != null) { this.kabusan_speech = go.GetComponent<KabusanSpeech>(); } } }