Answers for "unity error cs1022"

C#
0

unity error cs1022

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerMovement : MonoBehaviour{}}
private RigidBody2D myRigidBody;
private Vector2 change;
{
    // Start is called before the first frame update
    void Start()
    {  myRigidBody = GetComponent<RigidBody2D>();
        
    }

    // Update is called once per frame
    void Update()
    { change = Vector2.zero;
    change.x = Input.GetAxis("Horizontal");
    change.y = Input.GetAxis("Vertical");
    Debug.Log(change);
        
    }
}
Posted by: Guest on October-08-2020
-1

how to fix error cs1513 in unity

cs1513
Posted by: Guest on November-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language