private void FixedUpdate() { float y = Input.GetAxisRaw(dikeyEksen); GetComponent <Rigidbody2D>().velocity = new Vector2(0, y) * moveSpeed; // Debug.Log(Skore+ " : " +gameObject.name); ScoreText.text = Skore.ToString(); }
public void Skoryap() { Skore++; skoreText.text = Skore.ToString(); }