I’m having trouble getting help on the discord server because of my time zone, so here’s a couple questions regarding c++:
- If I’m trying to store and pass
around an object that I know
implements an interface, but I don’t
know anything else about, should I
set the variable type to be
IInterfaceName , TScriptInterface,
UObject*, or something else? How
should I call BlueprintNativeEvent
functions and other functions in the
object using the given variable
type? - If I want an optional argument for a
UFUNCTION that will default to a
value if un-specified, what should I
do? - Does Tick() run before or after
BeginPlay()?
If you know the answer to any of these, help would be much appreciated. Thanks.