Esempio n. 1
0
 void Update()
 {
     obj.transform.Translate(Vector3.left * Time.deltaTime * speed);
     if (obj.transform.position.x < -4)
     {
         obj.transform.position += new Vector3(40, 0, 0);
         plus?._Respawn();
         sR.sprite = S1;
     }
 }