Method | Description | |
---|---|---|
ConvertFileToTexture2D ( string path ) : |
Loads a file stored at a path and returns it as a Texure2D in Unity.
|
|
CopyStringToBuffer ( string copyString ) : void |
Copies the string to the OS buffer.
|
|
OpenURL ( string url ) : void |
Opens the URL in a new window if webplayer build, otherwise uses the behavior built into Application.OpenURL which depends on the platform.
|
|
WriteTextureToDisk ( |
Writes a Texture to Disk
|
public static ConvertFileToTexture2D ( string path ) : |
||
path | string | Path to file. |
return |
public static CopyStringToBuffer ( string copyString ) : void | ||
copyString | string | String to copy. |
return | void |
public static OpenURL ( string url ) : void | ||
url | string | URL to open. |
return | void |
public static WriteTextureToDisk ( |
||
texture | Texture to write. | |
outputDirectory | string | Output directory. |
filename | string | Output filename. |
return | void |