/// <summary> /// <strong>[Should not be called by user code]</strong> If it looks like we aren't attached to a real action then try and find the existing action for our given path. /// </summary> public override string TryNeedsInitData() { if (needsReinit && actionPath != null) { SteamVR_Action existingAction = FindExistingActionForPartialPath(actionPath); if (existingAction == null) { this.sourceMap = null; } else { this.actionPath = existingAction.fullPath; this.sourceMap = (SourceMap)existingAction.GetSourceMap(); initialized = true; needsReinit = false; return(actionPath); } } return(null); }