Defactoring Doubt

When defactoring the code in “TankAIController” isn’t it better to just reference the AI Owned tank and the Player Tank inside the BeginPlay method instead of referencing them every frame in the Tick method?

I think this is the answer to your question:
https://community.gamedev.tv/t/defactoring/11041

I had the same doubt :wink:

Privacy & Terms