Graverman Posted November 15, 2019 Report Share Posted November 15, 2019 Mam problem jestem początkującym programistą amatorem w Unity (skrypty pisze w C#) Wyskakuje mi błąd: "Curl error 6: Could not resolve host: cdp.cloud.unity3d.com" próbowałem już wejść na ten link ale wyskakiwało białe tło Jak moge to naprawić? Tu daje mój skrypt: using System.Collections; using System.Collections.Generic; using UnityEngine; public class player : MonoBehaviour { public float moveSpeed; public float jumpHeight; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { if (Input.GetKey(KeyCode.W)) { GetComponent<Rigidbody2D> ().velocity = new Vector2 (0, jumpHeight); } } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.