Quick variable question

Hi!

Whilst defining the Fire function;

Just wondering if there is any advantage to creating a variable for ProjectileSpawnPoint->GetComponentLocation() ?

I just passed it straight into the DrawDebugSphere arguments and it worked ok

It may increase readability by having a variable.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms