UnityEditor.Unsupported.GetBaseUnityDeveloperFolder C# (CSharp) Method

GetBaseUnityDeveloperFolder() private method

private GetBaseUnityDeveloperFolder ( ) : string
return string
        public static extern string GetBaseUnityDeveloperFolder();
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
        private static ProcessStartInfo GetJamStartInfo(bool includeModules)
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Append("jam.pl LiveReloadableEditorAssemblies");
            if (includeModules)
            {
                using (List <string> .Enumerator enumerator = ModuleManager.GetJamTargets().GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        string current = enumerator.Current;
                        stringBuilder.Append(" ").Append(current);
                    }
                }
            }
            return(new ProcessStartInfo()
            {
                WorkingDirectory = Unsupported.GetBaseUnityDeveloperFolder(),
                RedirectStandardOutput = true,
                RedirectStandardError = false,
                Arguments = stringBuilder.ToString(),
                FileName = "perl"
            });
        }
All Usage Examples Of UnityEditor.Unsupported::GetBaseUnityDeveloperFolder