8/23/2023 0 Comments Unity extract asset o picturePrivate void SetExtractDownwards ( TreeViewItem folder, bool extract ) SetExtractDownwards ( rootItem, extract ) Public void SetExtractAll ( bool extract ) height += 4f // Incrementing height fixes cropped icon issue on Unity 2019.2 or earlier RecalculateTotalExtractFileSize ( rootItem ) children įor ( int i = 0 i GetAllowedAssetGUIDs ( ) Public string TotalExtractFileSizeLabel įor ( int i = 0 i rootContents = root. Private string m_totalExtractFileSizeLabel Private readonly GUIContent sharedGUIContent = new GUIContent ( ) Private readonly string trimmedDirectoryPath Private readonly Dictionary idToAssetLookup = new Dictionary ( 512 ) Private readonly AssetTreeElement assets Public AssetData ( AssetTreeElement asset, string label ) Public string label // Label will include asset's filesize, as well Displays contents of a unitypackage in a tree view decompressionProgressCurrent += bytesRead Public override int Read ( byte buffer, int offset, int count ) ![]() Public ProgressedFileStream ( UnitypackageExtractor progressTracker, string path ) : base ( path, FileMode. Private readonly UnitypackageExtractor progressTracker ![]() Private class ProgressedFileStream : FileStream ![]() Allows fetching the progress of GZipStream's decompression Public class UnitypackageExtractor : EditorWindow
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |