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
Any password that begins with the letters AXIO will be treated as a cheat code. | |
This is how the game evaluates cheat codes. | |
1. Map the remaining eight characters to an integer value. | |
0 - 9 maps to 0 - 9 and A - Z maps to 10 - 35. | |
2. Multiply each value with a power of 36, determined by position, | |
and take the sum of those calculations. | |
x = 36^7 * v0 + 36^6 * v1 + 36^5 * v2 + 36^4 * v3 + | |
36^3 * v4 + 36^2 * v5 + 36^1 * v6 + 36^0 * v7 |
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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
public interface IState | |
{ | |
void Update(float dt); | |
void HandleInput(); | |
void Enter(params object[] args); |
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
/*Please do support www.bitshiftprogrammer.com by joining the facebook page : fb.com/BitshiftProgrammer | |
Legal Stuff: | |
This code is free to use no restrictions but attribution would be appreciated. | |
Any damage caused either partly or completly due to usage this stuff is not my responsibility*/ | |
Shader "BitshiftProgrammer/Liquid" | |
{ | |
Properties | |
{ | |
_Colour ("Colour", Color) = (1,1,1,1) | |
_FillAmount ("Fill Amount", Range(-10,10)) = 0.0 |