private void Warp() { if (thisShip.moveCommand == SO_ship.MoveType.warp) { if (thisShip.Rotate()) { if (!thisShip.warpCoroutineStarted) { StartCoroutine(thisShip.Warpdrive()); } //else //{ // ship.p.SO.position = Vector3.MoveTowards (ship.p.SO.position,ship.p. Time.deltaTime * ship.p.warpSpeed; //} } } }