您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
378 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.XR.ARFoundation.Samples
{
public class Rotator : MonoBehaviour
{
float m_Angle;
void Update()
{
m_Angle += Time.deltaTime * 10f;
transform.rotation = Quaternion.Euler(0, m_Angle, 0);
}
}
}