Hello, is it possible to set a variable on spawn for an actor spawned with c++? (The same way we do with blueprint actors)
Something like this :
SpawnActor<class>(class, SpawnLoc, SpawnRot, SpawnParameters, [OnSpawnParameters.....]);
I know I could call a function after spawning the actor to set variables but I would like to know if there is a better way to do this.
Thanks !