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