I am trying to make a game were you automatically move right, I am having trouble finding a way to do so. If you can help that would be appreciated.
To make a transform move automatically, you just have to update the transform by translating the object. Put this into your update function →
transform.Translate(Vector2.right * Time.deltaTime);
I’m a noob user so others may have better answers but I think something like this would work:
void Update() {
// I use similar code to this in a simple 2D game I'm building.
// In my code I set speed to a random value based on configuration.
// In your code you would just do whatever makes sense.
transform.Translate(Vector3.right * _speed * Time.deltaTime);
}