Çözüldü Unity hata kodu

Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.

OksiDat

Hectopat
Katılım
15 Ağustos 2020
Mesajlar
193
Çözümler
1
Merhaba Unity'ye yeni başladım ve internetten bir hareket kodu yazmaya çalışıyordum ama resimdeki hatayı aldım. bunun çözümü nedir acaba?

unity hata.png


kodlar :
Kod:
using System.Collections;

using System.Collections.Generic;

using UnityEngine;



public class movement : MonoBehaviour

{

    public float speed = 10f;

    void Start()

    {

      

    }



    void Update()

    {

        float xHorizontal = Input.GetAxis("Horizontal");

        float zVertical = Input.GetAxis("Vertical");

        Vector3 movesystem = new Vector3(xHorizontal, 0.0f, zVertical);

        transform.position += movesystem * speed * Time.deltatime;

    }

}
 

Geri
Yukarı