コード例 #1
0
    protected void AttackNow()
    {
        GameObject obj    = Instantiate(bulletPrefab, attackPoint.position, Quaternion.identity) as GameObject;
        Bullet     bullet = obj.GetComponent <Bullet>();

        bullet.SetStart(status.GetATK(), target);
    }