Есть ответ 👍

ПОЧЕМУ ПИШЕТ Assets�ਯ�� 1\PlayrControler.cs(23,9): error CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement?

ВОТ СКРИПТ,ГДЕ ОШИБКА?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayrControler : MonoBehaviour
{
public float speed;
public float jumpForce;
private float moveInput;

private Rigidbody2D rb;

private void Start()
{
rb = GetComponent<Rigidbody2D>();
}

private void FixedUpdate()
{
moveInput = Input.GetAxis("Horizontal");
rb.velocity + new Vector2(moveInput * speed, rb.velocity.y);
}
}

169
485
Посмотреть ответы 1

Ответы на вопрос:

alona2017
4,6(25 оценок)

Петрова - 1место белова-2 место комарова-3 митина-4 громова-последнее не войдут в финал : комарова, митина, громова

Популярно: Информатика