This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ContextMenuItem("Yo", "Yo")] | |
public Texture2D tex; | |
public void Yo() | |
{ | |
Texture2D DeCompress(Texture2D source) | |
{ | |
RenderTexture renderTex = RenderTexture.GetTemporary( | |
source.width, | |
source.height, | |
0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A collection of useful C# extension methods for the Unity engine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Security.Cryptography; | |
using System.Text; | |
public class EncryptedPlayerPrefs { | |
// Encrypted PlayerPrefs | |
// Written by Sven Magnus | |
// MD5 code by Matthew Wegner (from [url]http://www.unifycommunity.com/wiki/index.php?title=MD5[/url]) |