Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

kodum eror veriyor

Discussion in 'Cinemachine' started by inciebrar, Jun 28, 2020 at 3:43 PM.

  1. inciebrar

    inciebrar

    Joined:
    Sunday
    Posts:
    1
    kodumdaki yanlışı söylermisiniz?

    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.UI;

    public class TİMERMENAGER : MonoBehaviour {

    [SerializeField]
    private Text SüreText;
    int kalansure;




    void Start () {
    kalansure - 10;

    StartCoroutine (SureTimeRoutine);
    }

    IEnumerator SureTimeRoutine () {
    while (true){
    Yieldreturnnew WaitForSeconds(1f);

    Sure.Text Text = kalansure.TOstring();
    kalansure--;
    }
    }

    }
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    3,805
unityunity