void Start() { _rb = GetComponent <Rigidbody>(); _camera = FindObjectOfType <Camera>().GetComponent <FixedCameraScroll>(); }
private void Start() { _mp = FindObjectOfType <MakePixels>(); _camera = FindObjectOfType <Camera>().GetComponent <FixedCameraScroll>(); }