2015-11-08 38 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中的值。

相關問題