コード例 #1
0
    private void Attack()
    {
        BaseProjectile baseProjectile = Instantiate(projectile, transform.position, Quaternion.identity, projectileHolder.transform).GetComponent <BaseProjectile>();

        baseProjectile.SetDefender(this);
    }