I think a bit about code optimisation lately, as I will probably touching some things called every tick...
I think about some things I would like to check frequently, but don't need too often (one second would be enough). And I wonder if there is any difference between using a Tick function with some optimised (as possible) code in it, or just use the Timer function... the SetTimer function is native so I guess Timer should be most optimal way ? In a mutator class for example, or a vehicle ?
Well I think Timer is better but would feel better if someone confirms this Don't have an idea for simply measuring this at the moment...
I think about some things I would like to check frequently, but don't need too often (one second would be enough). And I wonder if there is any difference between using a Tick function with some optimised (as possible) code in it, or just use the Timer function... the SetTimer function is native so I guess Timer should be most optimal way ? In a mutator class for example, or a vehicle ?
Well I think Timer is better but would feel better if someone confirms this Don't have an idea for simply measuring this at the moment...