forked from cgvr/DeltaVR
test boxes collide with player in VR mode, too
This commit is contained in:
@@ -17,6 +17,7 @@ public class ContinuoslocomotionConfigurator : MonoBehaviour
|
||||
turnOnButton.onClick.AddListener(enableLocomotion);
|
||||
turnOffButton.onClick.AddListener(disableLocomotion);
|
||||
turnOffButton.gameObject.SetActive(false); // off by default
|
||||
enableLocomotion();
|
||||
}
|
||||
public void UpdateSpeed(float speed)
|
||||
{
|
||||
|
||||
@@ -4262,7 +4262,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &9206012036671205809
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -5926,7 +5926,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &8444771935628625875
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
Reference in New Issue
Block a user