示例#1
0
        internal void UpdateHandle()
        {
            handle = OpenVRWrapper.GetActionHandle(name);

            if (handle <= 0)
            {
                Logger.Error($"Got invalid handle for action '{name}'. Make sure it is defined in the action manifest and try again.");
                OpenVRActionManager.instance.DeregisterAction(this);
            }
        }
示例#2
0
 internal void UpdateHandle()
 {
     handle = OpenVRWrapper.GetActionHandle(name);
 }