How do I make it just happen once?

How do I make it just happen once? I want it to print it only once.
For loop? I already tried but it couldn’t change something…
fghfgh

For loop version
fff

The line trace to happen once? Or the log to happen once but the trace to keep happening?

  1. Move the code out of tick.
  2. Add a bool member that is initially false and use that for printing the log and setting to false.

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

Privacy & Terms