Question: Unity de 2 d oyun yap yorum , oyunun amac zemin zerinde z play p d memek , z plad k a puan toplama sistemi

Unity de 2d oyun yapyorum, oyunun amac zemin zerinde zplayp dmemek, zpladka puan toplama sistemi var, ancak zeminden dnce oyunun bitmesi lazm o ksm kodlayamadm. Nereye kodlamam gerek onuda bilmiyorum. Baz kodlar veriyorum... using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Ynetici : MonoBehaviour
{
public Text skor;
public static float skorsays;
void Update()
{
skor.tex t= skorsays.ToString(); }
}// buras bi ksm using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Manager : MonoBehaviour
{
private void Update()
{
if (Input.GetMouseButton(0))
{
SceneManager.LoadScene(1);
}
}
}// buras baka bir ksm , dier ksmlarda karakterin hareketi, zemin yneticisi ve zemin kodlar var. Bu oyunun bitmesi iin nereye hangi kodlar yazmamgerekiyor???

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!