This file contains hidden or 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
# Don't push anything that isn't specified in this file | |
* | |
!.gitignore | |
!.gitattributes | |
!etl.ps1 |
This file contains hidden or 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; | |
//#pragma strict | |
//#pragma implicit | |
//#pragma downcast | |
// Require a character controller to be attached to the same game object | |
// I had to initally comment out the following RequireComponent | |
// line to make it compile and allow attaching to my Main Camera; |