private void OnEnable() { direction = transform.forward * speed; gravityManager = FindObjectOfType <GravityManager>(); FindObjectOfType <GravityManager>().AddNewtonian(this); prevision = FindObjectOfType <PrevisionLine>(); finished = false; }