New answers tagged

1

I commented on every line explaining what it does. As for improving it all depends on what you want to do with this movement code and is a much broader questions. using System.Collections; using System.Collections.Generic; using UnityEngine; public class move : MonoBehaviour { public Rigidbody2D rg2d; // This creates a reference to a RigidBody2d type ...


Top 50 recent answers are included