Kolsuz1Panda
Hectopat
- Katılım
- 24 Şubat 2021
- Mesajlar
- 21
Daha fazla
- Cinsiyet
- Erkek
Kod:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Birdy : MonoBehaviour
{
public float velocity 1f;
private Rigidbody2D rb2D;
void Update ()
{
//TIKLAMAYI AL
if(input.getmousebuttondown(0))}
{
//HAVADA KUŞU SIÇRAT
Rigidbody.velocity new Vector2(0,jimp);)
}
}
}
İlk oyun yapışım hatanın nerede olduğunu çözemedim yardımcı olursanız sevinirim şimdiden teşekkürler. (Aldığım hata:
Assets\Script\Birdy.cs(20,1): error CS1022: Type or namespace definition, or end-of-file expected)