NamaimNM
NamaimNM
CC#
Created by NamaimNM on 8/22/2024 in #help
Casting class with generic variable to the same class with an interface that the generic implements
i have a variable of type ScriptableUnit<MinionStats> and im trying to cast it to ScriptableUnit<IUnitStats> and it does not work even though MinionStats implements the IUnitStats interface, do you know why and how i can deal with it?
4 replies