Avoid unnecessary operations and method calls wherever you can, especially in a method which is called many times a second, like Update.
Distance/Range Checks
Use sqrMagnitude instead of magnitude when comparing distances. This avoids unnecessary sqrt operations. Note that when using sqrMagnitude,...