Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. private static string csharpCompilerPath
  2. {
  3. get
  4. {
  5. string result;
  6. if (BoltUserAssemblyCompiler.isOSX)
  7. {
  8. if (Application.get_unityVersion().Trim()[2] < '4' && BoltUserAssemblyCompiler.isUnity5)
  9. {
  10. result = BoltEditorUtilsInternal.MakePath(new string[]
  11. {
  12. EditorApplication.get_applicationContentsPath(),
  13. "Frameworks/MonoBleedingEdge/lib/mono/" + BoltUserAssemblyCompiler.monoCompiler
  14. });
  15. }
  16. else
  17. {
  18. result = BoltEditorUtilsInternal.MakePath(new string[]
  19. {
  20. EditorApplication.get_applicationContentsPath(),
  21. "MonoBleedingEdge/lib/mono/" + BoltUserAssemblyCompiler.monoCompiler
  22. });
  23. }
  24. }
  25. else
  26. {
  27. result = BoltEditorUtilsInternal.MakePath(new string[]
  28. {
  29. EditorApplication.get_applicationContentsPath(),
  30. "MonoBleedingEdge/lib/mono/" + BoltUserAssemblyCompiler.monoCompiler
  31. });
  32. }
  33. return result;
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement