2015-11-08 56 views

回答

0

好了,将以下脚本保存为

Rotator.cs

using UnityEngine; 

public class Rotator : MonoBehaviour { 

    // Update is called once per frame 
    void Update() { 
     transform.Rotate (new Vector3(0,30,0) * Time.deltaTime);  
    } 
} 

应用Rotator.cs脚本,你CardboardMain游戏对象。答对了!!

根据您的CardboardMain旋转修改transform.Rotate中vector3中的值。

相关问题