在场景中新建一个Rotate的脚本,并把这个脚本挂载到我们要进行旋转的游戏物体上,然后双击打开该脚本,并复制一下的代码!!!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour {
private Transform go;
void S
在场景中新建一个Rotate的脚本,并把这个脚本挂载到我们要进行旋转的游戏物体上,然后双击打开该脚本,并复制一下的代码!!!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour {
private Transform go;
void S