Beispiel #1
0
    private void SetupReticleBeam_Left()
    {
        if (reticlePointer_left == null)
        {
            reticlePointer_left = LeftController.GetComponentInChildren <WaveVR_ControllerPointer> ();
            // Remove left reticle by default.
            if (reticlePointer_left != null)
            {
                reticlePointer_left.removePointer();
            }
        }

        if (beam_left == null)
        {
            beam_left = LeftController.GetComponentInChildren <WaveVR_Beam> ();
        }
    }