how can i pass generic interface parameters to method?

I would suggest this transformation:

public interface IDamagable
{
    void TakeDamage<T>(T dmg);
}

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top