public class MyClass { void Start() { //Called when script inithilizes } void Update() { //called each fram } } //note this is in C#