// Start is called before the first frame update void Awake() { // Assign camera here because using Camera.main in Update is expensive camera = Camera.main; scriptableManager = GetComponent <ScriptableManager>(); }
// Start is called before the first frame update private void Awake() { scriptableManager = GetComponent <ScriptableManager>(); }