// ================================================================ // // MonoBehaviour에서 상속. void Start() { this.next_step = STEP.RUN; this.current_speed = SPEED_MIN; this.score_control = ScoreControl.getInstance(); this.coin_creator = CoinCreator.getInstance(); this.anim_player = this.transform.GetComponentInChildren <Animation>(); //motion. this.sound_control = GameObject.Find("SoundRoot").GetComponent <SoundControl>(); }