Heroes_of_Hiis/Assets/Project Files/Scripts/Arlo/TestRotator.cs

22 lines
392 B
C#
Raw Normal View History

2022-03-19 20:29:19 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestRotator : MonoBehaviour
{
private GameObject cube;
// Start is called before the first frame update
void Start()
{
cube = GameObject.Find("Cube (1)");
}
// Update is called once per frame
void Update()
{
cube.transform.Rotate(0, 1, 0);
}
}