浏览代码

add keyboard control for in editor scene changes from test manager

/main
Filip Iliescu 8 年前
当前提交
0f75abcd
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 11
      Assets/TestScenes/MobileDeferredTest/TestSceneScript/MobileTestSceneManager.cs

11
Assets/TestScenes/MobileDeferredTest/TestSceneScript/MobileTestSceneManager.cs


public class MobileTestSceneManager : MonoBehaviour {
static int m_NextSceneIndex = 0;
// Use this for initialization
void Start () {
if (Instance != null) {
GameObject.Destroy (gameObject);

}
}
// Update is called once per frame
#if UNITY_EDITOR
if (Input.GetKeyDown(KeyCode.Space)) {
#else
#endif
}
}
}
正在加载...
取消
保存