update method in unity documentation code example Example: void Update void Update() { //checked every frame }