Skip to content

Instantly share code, notes, and snippets.

@openroomxyz
Created April 21, 2020 14:13
Show Gist options
  • Save openroomxyz/a69656650eb466dc297c04ff53a46688 to your computer and use it in GitHub Desktop.
Save openroomxyz/a69656650eb466dc297c04ff53a46688 to your computer and use it in GitHub Desktop.
Unity : How do mark that a script requires on gameObject other script?
[RequireComponent(typeof(Waypoint))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment