Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MoveBall_ : MonoBehaviour {
- public float velocidad = 10f;
- private void Update()
- {
- transform.Translate(new Vector3(1f, 0f, 0f) * velocidad * Time.deltaTime);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement