예제 #1
0
    public void LuncherFireBall()
    {
        GameObject go = Instantiate(_preMagic);

        go.transform.position = _tfMagicPosition.position;
        go.transform.rotation = _tfMagicPosition.rotation;
        MagicControl fireball = go.GetComponent <MagicControl>();

        fireball.InitDamage(this);
    }