public static void Open(string path) { var os = PlatformUtil.CurrentOs(); if (os == PlatformUtil.OperatingSystem.Windows) { OpenInWin(path); } else if (os == PlatformUtil.OperatingSystem.MacOsx) { OpenInMac(path); } else { UnityEngine.Debug.LogWarning("Opening file browser not supported for OS: " + os); } }