Exemplo n.º 1
0
    public override void Die()
    {
        base.Die();

        ResetMoveCarpetForDestroy();
        m_JoystickNavigation.EnableTranslation(true);
    }
Exemplo n.º 2
0
    public override void Start()
    {
        base.Start();

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType<VRInteractionNavigationWandJoystick>();
        m_JoystickNavigation.EnableTranslation(false);
    }
Exemplo n.º 3
0
    public override void Start()
    {
        base.Start();

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType <VRInteractionNavigationWandJoystick>();
        m_JoystickNavigation.EnableTranslation(false);
    }
Exemplo n.º 4
0
    public override void Die()
    {
        base.Die();

        if (m_JoystickNavigation != null)
        {
            m_JoystickNavigation.EnableTranslation(true);
            m_JoystickNavigation.EnableRotation(true);
        }
    }
Exemplo n.º 5
0
    public override void Start()
    {
        base.Start();

        m_ShuttleTransform = MVRCameraUtils.GetInstance.p_ShuttleContainer;

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType <VRInteractionNavigationWandJoystick>();
        if (m_JoystickNavigation != null)
        {
            m_JoystickNavigation.EnableTranslation(false);
            m_JoystickNavigation.EnableRotation(false);
        }
    }
Exemplo n.º 6
0
    public override void Start()
    {
        base.Start();

        m_OriginalParent = transform.parent;

        m_MoveCarpetEnableHandler = FindObjectOfType <MoveCarpetEnableHandler>();

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType <VRInteractionNavigationWandJoystick>();
        m_JoystickNavigation.EnableTranslation(false);

        EnableMoveCarpet(false);
    }
Exemplo n.º 7
0
    public override void Start()
    {
        base.Start();

        m_ShuttleTransform = MVRCameraUtils.GetInstance.p_ShuttleContainer;

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType<VRInteractionNavigationWandJoystick>();
        if (m_JoystickNavigation != null)
        {
            m_JoystickNavigation.EnableTranslation(false);
            m_JoystickNavigation.EnableRotation(false);
        }
    }
Exemplo n.º 8
0
    public override void Start()
    {
        base.Start();

        m_OriginalParent = transform.parent;

        m_MoveCarpetEnableHandler = FindObjectOfType<MoveCarpetEnableHandler>();

        // We disable the move by joystick but keep the rotation.
        m_JoystickNavigation = FindObjectOfType<VRInteractionNavigationWandJoystick>();
        m_JoystickNavigation.EnableTranslation(false);

        EnableMoveCarpet(false);
    }
Exemplo n.º 9
0
    public override void Die()
    {
        base.Die();

        m_JoystickNavigation.EnableTranslation(true);
    }