public static bool IsOSX(this RuntimePlatform platform) { return platform == RuntimePlatform.OSXDashboardPlayer || platform == RuntimePlatform.OSXEditor || platform == RuntimePlatform.OSXPlayer || platform == RuntimePlatform.OSXWebPlayer; }