Есть ответ 👍

ПОЧЕМУ ПИШЕТ 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);
}
}

257
364
Посмотреть ответы 2

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


Объяснение:

В скрипте есть ошибка

Это:

using System,Collections.Generic

hopik2
4,7(65 оценок)

int main()

{

   double num1 = 3.12345678;

   cout << setprecision(1);

   cout << num1 << endl;

return 0;

}

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