06-01-2013, 05:23 PM
Ciao alla fine della terza lezione lo script Moviment.cs è
Codice:
using UnityEngine;
using System.Collections;
public class Moviment : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.position += new Vector3(5 * Time.deltaTime, 5 * Time.deltaTime, 0);
}
}