User Tools

Site Tools


informatica:realidad_virtual:unity:cubo
using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public class NewBehaviourScript : MonoBehaviour

{
    public bool girando;
    
    // Start is called before the first frame update
    void Start()
    {
          
    }

    // Update is called once per frame
    void Update()
    {
        transform.Translate(Input.GetAxis("Horizontal"),0,Input.GetAxis("Vertical"));
    }
}
informatica/realidad_virtual/unity/cubo.txt · Last modified: 2022/03/11 13:28 by jose