LaboratoryProtection/Assets/UnityTest/ZXL/Scene/NewBehaviourScript.cs

17 lines
338 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.eulerAngles += new Vector3(0, 1, 0);
}
}