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; } }
private void Start() { padManager = GetComponent <ZEDSteamVRControllerManager>(); }