When it comes to scripting, even at an intermediate level, there are a few things that you can do to make sure that your code is lean and efficient, including:
- Using Update and FixedUpdate wisely.
- Deactivating unnecessary scripts temporarily.
- Removing overridable methods.
- Using search functions wisely.