Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        shot = GameObject.FindWithTag("Player");
        //	baby = GameObject.Find("bay");
        shot_part = shot.GetComponent<shot_part8>();

        audio = GameObject.Find("Sound_boss").GetComponent<AudioSource>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     //取得
     shot_part = GameObject.Find ("shot_rota").GetComponent<shot_part8>();
     gread = shot_part.gread;
     boss_cs = GameObject.Find ("baby").GetComponent<Boss>();
     boss_hp = boss_cs.HP;
     heat_max = shot_part.heat_max;
     heat = shot_part.heat;
 }