コード例 #1
0
    public void ExplodeTarget(Collider target)
    {
        OnDieAction();

        Instantiate(gameSettings.Explosion, target.transform.position, target.transform.rotation);
        ObjectPoolScript.Despawn(target.gameObject);
    }