ExtractEyeEnginesLogo.cs
using System.Collections.Generic;
using EyE.Unity;
using UnityEditor;
{
[InitializeOnLoad]
public class ExtractEyeEnginesLogo
{
static ExtractEyeEnginesLogo()
{
ExtractEmbededFilesInEditor.PromptUserToExtractFilesIfNotInPlaceAlready(new List<ExtractEmbededFiles.ExtractionInfo>
{
// 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.
// Parameters:
// "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.</param>
// "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</param>
// "dllNamespace"-Namespace the asset is assigned to, in the DLL. This value is defined in the project that compiled the dll.</param>
// "importTextureAsIcon"-boolean that specifies if the extracted file should be passed through the TextureImporter, to be configure for use as a unity editor icon. Has no effect on assets that are not Textures. Do not pass true to both boolean parameters.</param>
// "importTextureAsSprite"-boolean that specifies if the extracted file should be passed through the TextureImporter, to be configure for use as a unity sprite. Has no effect on assets that are not Textures. Do not pass true to both boolean parameters.</param>
new ExtractEmbededFiles.ExtractionInfo("EyEengines128.JPG", "Gizmos\\EyEengines\\", "EyEengines.EditorUnity.Tools",false,true),
new ExtractEmbededFiles.ExtractionInfo("EyEenginesSprite.prefab", "Gizmos\\EyEengines\\", "EyEengines.EditorUnity.Tools",false,false),
new ExtractEmbededFiles.ExtractionInfo("EyEengines128.JPG.meta", "Gizmos\\EyEengines\\", "EyEengines.EditorUnity.Tools",false,false),
new ExtractEmbededFiles.ExtractionInfo("EyEenginesSprite.prefab.meta", "Gizmos\\EyEengines\\", "EyEengines.EditorUnity.Tools",false,false)
});
}
}
}
EyE.EditorUnity.Examples
This namespace is not included in the DLL modules, it contains code samples intended for documentatio...
Definition: ExtractEyeEnginesLogo.cs:6
EyE.EditorUnity.Extraction
Definition: ExtractEmbededFilesInEditor.cs:9
EyE
This namespace contains classes that provide various tools for use in the Unity Editor.
Definition: EmbededXMLTooltip.cs:5
EyE.Unity
This namespace holds classes that extended or inherit from various Unity defined classes....
Definition: EmbededXMLTooltip.cs:5
EyE.EditorUnity
This namespace is used to provide a User Interface, in Unity's Editor, for various library classes....
Definition: ExtractEyeEnginesLogo.cs:6