Compare commits
No commits in common. "8c9209050e00e8e6c30d663815b4308b774ab126" and "95e81da8b7090341d5d07bb763eccb02cd7d5000" have entirely different histories.
8c9209050e
...
95e81da8b7
@ -79,10 +79,7 @@ namespace QFramework.Example
|
||||
Near.gameObject.SetActive(mData.nearPos != default);
|
||||
Far.gameObject.SetActive(mData.normalPos != default);
|
||||
|
||||
#if VR
|
||||
Near.gameObject.SetActive(false);
|
||||
Far.gameObject.SetActive(false);
|
||||
#endif
|
||||
|
||||
if (string.IsNullOrEmpty(mData.isOn))
|
||||
{
|
||||
if (Near.isOn && Near.gameObject.activeSelf)
|
||||
@ -126,7 +123,7 @@ namespace QFramework.Example
|
||||
|
||||
private void Update()
|
||||
{
|
||||
#if UNITY_STANDALONE_WIN && !VR
|
||||
#if UNITY_STANDALONE_WIN
|
||||
if (Near.isOn == true || Far.isOn == true)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.W) || Input.GetKeyDown(KeyCode.A) || Input.GetKeyDown(KeyCode.S) || Input.GetKeyDown(KeyCode.D))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user