Repetitive function

Hello

I need to have a repetitive function. Now it only executes once after it compiles. Can I have a function that is like "Update" function in Unity3D? That function always updates over and over every 1/50th of a seconds or similar.
Topic archived. No new replies allowed.