Debug' does not contain a definition for 'log'

SpaydirMEN

Kilopat
Katılım
12 Temmuz 2017
Mesajlar
162
Daha fazla  
Cinsiyet
Erkek
C#:
using UnityEngine;



public class Movement : MonoBehaviour

{

    // Start is called before the first frame update

    void Start()

    {

        Debug.log("Hello World");

    }



    // Update is called once per frame

    void Update()

    {

     

    }

}

Hata veriyor bu kod.

Assets\Kod\Movement.cs(8,15): error CS0117: 'Debug' does not contain a definition for 'log'
Sorun çözüldü. Visual Studio unity eklentisini indirdim.
 
Son düzenleme:
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…