gomuani

Movimiento Inicio

Jun 11th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | Gaming | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Mover : MonoBehaviour
  6. {
  7.     // Start is called before the first frame update
  8.     void Start()
  9.     {
  10.        
  11.     }
  12.  
  13.     // Update is called once per frame
  14.    void Update()
  15.     {
  16.         transform.Translate(Vector2.right * Time.deltaTime);
  17.     }
  18. }
  19.  
Add Comment
Please, Sign In to add comment