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.Collections.Generic; | |
public class CameraFollow : MonoBehaviour | |
{ | |
private const float BOUNDING_BOX_PADDING = 1.5f; | |
private const float MINIMUM_ORTHO_SIZE = 3f; | |
private const float ZOOM_SPEED = 5f; //NEVER FORGET, I AM THE FASTEST MAN ALIVE |
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.Collections.Generic; | |
public class DashTrail : MonoBehaviour | |
{ | |
public SpriteRenderer mLeadingSprite; | |
public int mTrailSegments; | |
public float mTrailTime; |
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; | |
public class DashTrailObject : MonoBehaviour | |
{ | |
public SpriteRenderer mRenderer; | |
public Color mStartColor, mEndColor; | |
private float mDisplayTime; | |
private float mTimeDisplayed; |
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.Collections.Generic; | |
public class DashTrail : MonoBehaviour | |
{ | |
public SpriteRenderer mLeadingSprite; | |
public int mTrailSegments; | |
public float mTrailTime; |
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; | |
public class DashTrailObject : MonoBehaviour | |
{ | |
public SpriteRenderer mRenderer; | |
public Color mStartColor, mEndColor; | |
private bool mbInUse; | |
private Vector2 mPosition; |
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
public class Menagerie : MonoBehaviour | |
{ | |
public abstract class Animal | |
{ | |
public int mNumLegs; | |
public string mName; | |
public abstract string Cry (); | |
} |
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
<?php | |
echo 'Hello World!'; | |
?> |
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
CREATE TABLE `users` ( | |
`ID` int(11) NOT NULL AUTO_INCREMENT, | |
`username` varchar(45) DEFAULT NULL, | |
`password` varchar(45) DEFAULT NULL, | |
`creationdate` date DEFAULT NULL, | |
`email` varchar(80) DEFAULT NULL, | |
PRIMARY KEY (`ID`), | |
UNIQUE KEY `ID_UNIQUE` (`ID`), | |
UNIQUE KEY `username_UNIQUE` (`username`), | |
UNIQUE KEY `email_UNIQUE` (`email`) |
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
<?php | |
$db = mysql_connect('localhost', 'username', 'password') or die ('Could not connect: ' . mysql_error()); | |
mysql_select_db('databasename') or die ('Could not select database'); | |
$email = mysql_real_escape_string($_GET['email'], $db); | |
$username = mysql_real_escape_string($_GET['username'], $db); | |
$password = mysql_real_escape_string($_GET['password'], $db); | |
$hash = $_GET['hash']; | |
$secretKey = 'secretkey'; |
OlderNewer