Aklından bir sayı tut diye bir oyun var. İnternetten buldum kodlaması falanda vardır ama copy paste yapmak istemiyorum. İnternetten siz hatamı soylerseniz mutlu olurum. Unity'den yapıyorum C# koduyla boyle bir hata veriyor.
boyle bir hata veriyor.

C#:Panoya kopyala
using System.Collections; using System.Collections.Generic; using UnityEngine; public class OyunKontrol : MonoBehaviour // Update is called once per frame void Update() else if (Input.GetKeyDown(KeyCode.H)) if (Input.GetKeyDown(KeyCode.Return)) if (Input.GetKeyDown(KeyCode.UpArrow)) else if (Input.GetKeyDown(KeyCode.DownArrow)) else if (Input.GetKeyDown(KeyCode.Space)) } void Kontrol() }