edx/assignment8final/Assets/ProtoPack/Scripts/SlimeMoveTest.cs

13 lines
207 B
C#
Raw Permalink Normal View History

2022-11-10 21:56:29 -03:00
using UnityEngine;
using System.Collections;
public class SlimeMoveTest : MonoBehaviour {
void Update () {
transform.Translate (Vector3.forward / 60);
transform.Rotate (Vector3.up * 1.5f);
}
}