示例#1
0
    void Start()
    {
        pl_s_enmy = GameObject.FindGameObjectWithTag("enmy_sound").GetComponent <play_enmy_sound>();
        this.anim = GetComponent <Animator>();


        clone = (GameObject)Instantiate(blood, transform.position, Quaternion.identity);
        clone.SetActive(false);

        distancevalur = Random.Range(100f, 200f);
        ratio         = Random.Range(2f, 5f);
        enmy_shot     = GetComponent <enmy_shoot_now>();
    }