using System.Collections;
public class Dinheiro : MonoBehaviour {
public Vector2 velocity = new Vector2(0, -4);
public Vector3 velocity3D = new Vector3(0, -4, 0);
transform.position = new Vector3(transform.position.x – range * Random.value, transform.position.y , transform.position.z);
transform.position += velocity3D * Time.deltaTime;