Пример #1
0
    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();
    }
Пример #2
0
 public void Skoryap()
 {
     Skore++;
     skoreText.text = Skore.ToString();
 }