void Awake() { _ray_touch = GetComponent<RayTouch2D>(); if (this.targetCamera == null) { targetCamera = Camera.main; } }
void Awake() { _ray_touch = GetComponent <RayTouch2D>(); if (this.targetCamera == null) { targetCamera = Camera.main; } }
void Awake() { _ray_touch = GetComponent <RayTouch2D>(); _score_manager = GetComponent <ScoreManager>(); if (this.targetCamera == null) { targetCamera = Camera.main; } _score_text.text = "体脂肪率:" + _body_fat_per + "%"; _time_text.text = "残り:" + _time_limit + "秒"; }
void Awake() { _ray_touch = GetComponent<RayTouch2D>(); _score_manager = GetComponent<ScoreManager>(); if (this.targetCamera == null) { targetCamera = Camera.main; } _score_text.GetComponent<Text>(); _time_text.GetComponent<Text>(); _score_text.text = "体脂肪率:" + _body_fat_per + "%"; _time_text.text = "残り:" + _time_limit + "秒"; }