Example #1
0
    // Update is called once per frame
    void Update()
    {
        bool d_f = Boss_Endless2.Set_dragon_posOK();

        if (d_f == true)
        {
            transform.Translate(speed_x, speed_y, 0);
            space_check_b = script.space_check;    //新しく変数を宣言してその中にmove.csの変数space_checkを代入する。
        }
    }
Example #2
0
 // Use this for initialization
 void Start()
 {
     Warning      = GameObject.Find("Warning");
     Max_Range_Lv = GameStartText.Set_Stage_Lv();
     //script1 = Warning.GetComponent<Warning3>();
     InvokeRepeating("_Bless", 0.1f, interval);
     time    = 0;
     flash_f = false;
     Bless.SetActive(false);
     d_f = Boss_Endless2.Set_dragon_posOK();
     //d_016_1 = GameObject.Find("d_016");
     //script2 = d_016_1.GetComponent<Boss_Endless>();
 }
Example #3
0
	// Update is called once per frame
	void Update () {
        d_f = Boss_Endless2.Set_dragon_posOK();
    }