You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matt Ellis edited this page Jul 6, 2018
·
15 revisions
STUB: To be updated
Camera.main calls FindGameObjectsWithTag and doesn't cache the result. This is inefficient in frequently called methods such as Update. Consider caching the camera in Start or Awake.