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

        _camera = FindObjectOfType <Camera>().GetComponent <FixedCameraScroll>();
    }