Example #1
0
    private void LoadComponentPad()
    {
        ZEDSteamVRControllerManager steamPad = GetComponent <ZEDSteamVRControllerManager>();

        if (steamPad != null && steamPad.enabled)
        {
            padManager = steamPad;
        }

        ZEDOculusControllerManager oculusPad = GetComponent <ZEDOculusControllerManager>();

        if (oculusPad != null && oculusPad.enabled)
        {
            padManager = oculusPad;
        }
    }
Example #2
0
 private void Start()
 {
     padManager = GetComponent <ZEDSteamVRControllerManager>();
 }