Take a look at my tutorial, i use InterfaceCast there, with lets me “Cast To” an interface.
IUsable* usable = InterfaceCast<IUsable>(Hit.GetActor()); // we cast the hit actor to the IUsable interface
Take a look at my tutorial, i use InterfaceCast there, with lets me “Cast To” an interface.
IUsable* usable = InterfaceCast<IUsable>(Hit.GetActor()); // we cast the hit actor to the IUsable interface