Stores the source and destination information for a file that may, potentially, be extracted from a DLL into the file system.
|
| ExtractionInfo (Assembly _dllAssembly, string _filename, string _assetPath, string _dllNamespace) |
| Constructor for a single File's ExtractionInfo Use this version when you want to extract from a DLL that is NOT invoking this constructor.
|
|
| ExtractionInfo (Assembly dllAssembly, string filename, string assetPath, string dllNamespace, bool importTextureAsIcon) |
| Constructor for a single File's ExtractionInfo Use this version when you want to extract from a DLL that is NOT invoking this constructor, and want to import the file into unity as an Icon.
|
|
| ExtractionInfo (Assembly dllAssembly, string filename, string assetPath, string dllNamespace, bool importTextureAsIcon, bool importTextureAsSprite) |
| Constructor for a single File's ExtractionInfo Use this version when you need import the file as a sprite. This version will extract the sprite from the DLL other than the one that is invoking this constructor.
|
|
| ExtractionInfo (string _filename, string _assetPath, string _dllNamespace) |
| Constructor for a single File's ExtractionInfo This version will extract the file from the DLL that is invoking this constructor.
|
|
| ExtractionInfo (string filename, string assetPath, string dllNamespace, bool importTextureAsIcon) |
| Constructor for a single File's ExtractionInfo Use this version when you want to import the extracted file as an Icon. This version will extract the file from the DLL that is invoking this constructor.
|
|
| ExtractionInfo (string filename, string assetPath, string dllNamespace, bool importTextureAsIcon, bool importTextureAsSprite) |
| Constructor for a single File's ExtractionInfo Use this version when you need import a texture as a sprite. This version will extract the file from the DLL that is invoking this constructor.
|
|
override string | ToString () |
| Overridden ToString function will return the filename member, but will remove any trailing ".gzip".
|
|
|
string | assetPath |
| Path, within the Asset Folder(do NOT include initial slash, nor "assets", but do include ending slash), where the file will be stored after extraction. Folder will be created if it does not exist
|
|
Assembly | dllAssembly |
| Assembly that references the DLL in which the file is embedded.
|
|
string | dllNamespace |
| Namespace the asset is assigned to, in the DLL. This value is defined in the project that compiled the dll.
|
|
string | filename |
| File name of the image in the dll, and the filename it will be given when extracted from the DLL and saved in the file-system. Note: the filename in the DLL is case sensitive, including the extension.
|
|
bool | importTextureAsIcon |
| When true (default Value), after extraction from the dll, the asset will be assigned TextureImporter settings, that allow the asset to be used as an Icon in the UnityEditor.
|
|
bool | importTextureAsSprite |
| When true (NOT default Value), after extraction from the dll, the asset will be assigned TextureImporter settings, that allow the asset to be used as Sprite in the UnityEditor.
|
|
|
string | Fullpath [get] |
| the full path of the file, not including the filename. Generated by appending the assetPath member to Application.dataPath.
|
|
string | FullPathWithFileName [get] |
| The full path of the file location, including the filename
|
|