Unity'de karakter bir kere zıplayıp yere değince bir daha zıplamıyor

  • Konbuyu başlatan Admin
  • Başlangıç tarihi
A

Admin

Yönetici
Yönetici
C#:

Kod:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class hareketbenim : MonoBehaviour
{

    public float hız = 8f;
    public float zıplama = 16f;
    private float horizontal;
    private bool panelclicked = false;
    private bool zıplamaYapabilir = true;



    public Rigidbody2D rb;


    // Start is called before the first frame update
     void Start()
     {
       

       

     }

    // Update is called once per frame
    void Update()
    {...

 
Geri
Üst