sheetbad.blogg.se

Unity editor 64 bit
Unity editor 64 bit











With this script there is no need to copy around DLLs. Static M圜lassWhichUsesPlugin() // static Constructor + dllPath, EnvironmentVariableTarget.Process) Īdd to the class to make sure that the constructor is run at editor launch: If (currentPath != null & currentPath.Contains(dllPath) = false)Įnvironment.SetEnvironmentVariable("PATH", currentPath + Path.PathSeparator + Path.DirectorySeparatorChar + "Plugins" + Path.DirectorySeparatorChar + "x86_64" + Path.DirectorySeparatorChar + "SomePath"

unity editor 64 bit

Var currentPath = Environment.GetEnvironmentVariable("PATH",

unity editor 64 bit

Put the following static constructor into a class which uses the plugin: static M圜lassWhichUsesPlugin() // static Constructor

unity editor 64 bit

  • Put all DLLs (both the DLLs which Unity interfaces with and their dependent DLLs) in Project\Assets\Wherever\Works\Best\Plugins.
  • Thanks to this Unity forum post I came up with a nice solution which modifies the PATH-environment variable at runtime:













    Unity editor 64 bit