Skip to content

Commit

Permalink
Merge pull request #11 from VRLabs/feature/2019-vcc-support
Browse files Browse the repository at this point in the history
Feature/2019 vcc support
  • Loading branch information
jellejurre authored Mar 20, 2024
2 parents 33f6cfe + 25e3edd commit d5d55b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Instancer/Contact-Tracker Instancer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public static void FancyPackage()
return;
}

var editor = ScriptableObject.CreateInstance<ContactTracker>();
var script = MonoScript.FromScriptableObject(editor);
var assetPath = AssetDatabase.GetAssetPath(script);
var assetPath = new System.Diagnostics.StackTrace(true).GetFrame(0).GetFileName()
.Replace(System.IO.Path.GetDirectoryName(Application.dataPath), "")
.Replace("\\", "/".Replace("./", ""));

instanceMethod.Invoke(null, new object[] { packageName, assetPath, excludeRegexs });
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"siteUrl": "https://github.com/VRLabs/Contact-Tracker",
"vpmDependencies": {
"dev.vrlabs.instancer": "1.x"
"dev.vrlabs.instancer": ">=1.0.2"
},
"legacyFolders": {
"Assets\\VRLabs\\Contact Tracker": "9cd56b450009343a99b606696779825a"
Expand Down

0 comments on commit d5d55b5

Please sign in to comment.