void  Start()
 {
     spawnerScript = FindObjectOfType <PuzzelItem>();
     rotatePuzzel  = FindObjectOfType <RotateObjects>();
     selectScript  = FindObjectOfType <SelectObject>();
     shakeScript   = FindObjectOfType <CameraShaking>();
     inventory     = FindObjectOfType <Inventory> ();
     startPosition = transform.position;
 }
 void Start()
 {
     spawnerScript = this.gameObject.GetComponent<PuzzelItem>();
     rotatePuzzel = this.gameObject.GetComponent<RotateObjects>();
     selectScript = this.gameObject.GetComponent<SelectObject>();
     shakeScript = this.gameObject.GetComponent<CameraShaking>();
     scoreScript = this.gameObject.GetComponent<Scores> ();
     startPosition = transform.position;
 }
 void Start()
 {
     rotatePuzzel = gameObject.GetComponent<RotateObjects>();
     startPosition = Camera.main.ScreenToWorldPoint(new Vector3(Screen.width / 4, Screen.height / 2, 50));
     SpawnObjects();
 }
 void Start()
 {
     rotatePuzzel = FindObjectOfType<RotateObjects>();
 }
 void  Start()
 {
     rotatePuzzel = FindObjectOfType <RotateObjects>();
 }
 void Start()
 {
     spawnerScript = FindObjectOfType<PuzzelItem>();
     rotatePuzzel = FindObjectOfType<RotateObjects>();
     selectScript = FindObjectOfType<SelectObject>();
     shakeScript = FindObjectOfType<CameraShaking>();
     inventory = FindObjectOfType<Inventory> ();
     startPosition = transform.position;
 }