Exemplo n.º 1
0
 void Awake()
 {
     _ray_touch = GetComponent<RayTouch2D>();
     if (this.targetCamera == null)
     {
         targetCamera = Camera.main;
     }
 }
Exemplo n.º 2
0
 void Awake()
 {
     _ray_touch = GetComponent <RayTouch2D>();
     if (this.targetCamera == null)
     {
         targetCamera = Camera.main;
     }
 }
Exemplo n.º 3
0
 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 + "秒";
 }
Exemplo n.º 4
0
    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 + "秒";
    }