摘要: ``` using UnityEngine; using System.Collections; public class Triangle : MonoBehaviour { public float speed = 90; // Update is called once per frame void Update () { transform.Rotate(Vector3.... 阅读全文
posted @ 2017-01-03 13:28 yufenghou 阅读(900) 评论(0) 推荐(0)
摘要: ``` public class GameManager : MonoBehaviour { public void OnStartGame(int sceneName) { SceneManager.LoadScene(sceneName); } } ``` 阅读全文
posted @ 2017-01-03 13:27 yufenghou 阅读(256) 评论(0) 推荐(0)