示例#1
0
        ///----------------------------------------------------------------------------------------------

        ///<summary>Is there a typePrefs file in sync? returns it's path.</summary>
        public static string SyncFilePath()
        {
            var syncFile = EditorGUIUtility.Load(SYNC_FILE_NAME);
            var absPath  = EditorUtils.AssetToSystemPath(syncFile);

            if (!string.IsNullOrEmpty(absPath))
            {
                return(absPath);
            }
            return(null);
        }