Skip to content

Instantly share code, notes, and snippets.

@cleak
Last active February 9, 2018 03:22
Show Gist options
  • Save cleak/b54adf735964e86f0d4cb70c3e007faf to your computer and use it in GitHub Desktop.
Save cleak/b54adf735964e86f0d4cb70c3e007faf to your computer and use it in GitHub Desktop.
Simple example of a Unity component overriding its update method.
using UnityEngine;
public class MyComponent : MonoBehaviour {
void Update() {
Debug.Log("Update was called");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment