Beispiel #1
0
 private void FixedUpdate()
 {
     if (Warparound.Reposition(rb, transform.position.x, transform.position.y, 0))
     {
         StartCoroutine(Countdown());
     }
 }
Beispiel #2
0
    void Update()
    {
        if (Input.GetKey(KeyCode.W))
        {
            sr.sprite = engineOn;
        }
        else
        {
            sr.sprite = engineOff;
        }

        Warparound.Reposition(rb, transform.position.x, transform.position.y, 20);
    }
Beispiel #3
0
 private void FixedUpdate()
 {
     Warparound.Reposition(rb, transform.position.x, transform.position.y, 20 * UfoType);
 }