Skocz do zawartości

Dzień dobry


Graverman

Polecane posty

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 do komentarza
Udostępnij na innych stronach

Zarchiwizowany

Ten temat jest archiwizowany i nie można dodawać nowych odpowiedzi.

×
×
  • Utwórz nowe...