// ================================================================ // // MonoBehaviour에서 상속. void Awake() { this.main_camera = GameObject.FindGameObjectWithTag("MainCamera"); this.score_counter = this.gameObject.GetComponent <ScoreCounter>(); this.arrow = GameObject.Instantiate(this.arrowPrefab) as GameObject; this.hideArrow(); this.sound_control = GameObject.Find("SoundRoot").GetComponent <SoundControl>(); this.effect_control = this.gameObject.GetComponent <VanishEffectControl>(); this.leave_block_root = this.gameObject.GetComponent <LeaveBlockRoot>(); }
// ================================================================ // // MonoBehaviour에서 상속. void Awake() { this.main_camera = GameObject.FindGameObjectWithTag("MainCamera"); this.score_counter = this.gameObject.GetComponent<ScoreCounter>(); this.arrow = GameObject.Instantiate(this.arrowPrefab) as GameObject; this.hideArrow(); this.sound_control = GameObject.Find("SoundRoot").GetComponent<SoundControl>(); this.effect_control = this.gameObject.GetComponent<VanishEffectControl>(); this.leave_block_root = this.gameObject.GetComponent<LeaveBlockRoot>(); }