SQL kodum boyle. Kullanıcıdan ismini isteyip oyunu bitirdiği sureyle beraber oyun bitişinde ekrana yazdırmasını hedefledim. Bunu Unity oyunuma entegre edemiyorum. Assets klasorunde RekorTablosu adında bir script oluşturdum o scripte bu kodları yapıştırdığımda AssetsAssetsScriptsRekorTablosu.cs(2,19): error CS0234: The type or namespace name 'SqlClient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) boyle bir hata veriyor, bir turlu cozemedim ilk projem olduğu icin de olabilir. Yardımcı olabilirseniz sevinirim.

C#:Panoya kopyala
using System; using UnityEngine; using System.Data.SqlClient; namespace MyGame public void OyunBitisi(DateTime BaslangicZamani) } public void OyunSonu() saniyede oyunu bitirdi.", OyuncuAdi, OyunSuresi); Debug.Log(OyunSonuMetni); } } } } } class Program } }