As I understand, I need to send this line of code:
"SteamVR_Controller.Input((int)m_steamVRTrackedObject.index).TriggerHapticPulse(Convert.ToUInt16(duration* 1000f))"
to this script:
SteamVR_Controller.cs
This script is NOT on any GameObject. It is in my Project, but I can't drag and drop it to any GameObject (and that is how it is supposed to be, as Valve told me). I can't select a Game Object that this Behaviour is on, becasue ...I don't know, it is not a behaviour or something? I need to send this line of code directly to the script that is in my Project, but not in my Scene, as I understand.
Same with Get/Set - it seems to work only on scripts that are MonoBehaviours and connected to a GameObject.
In attached .jpg you can see how this script looks like (or just download the SteamVR plugin form Asset Store to see). Please help!