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
| //========================================================== | |
| // CUSTOM JAVASCRIPT CONSOLE | |
| // built by jakub fiala | |
| // | |
| // this small script intercepts the standard console methods | |
| // and provides a way of accessing their messages, | |
| // as well as stack traces, which is really cool. | |
| // it formats the stack traces for popular browsers | |
| // | |
| // contributions welcome! |
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; | |
| //You must add the following Components to the object or else this script will fail. | |
| [RequireComponent(typeof(Rigidbody))] | |
| [RequireComponent(typeof(CapsuleCollider))] | |
| [RequireComponent(typeof(Animator))] | |
| //Provides a set of default values to instance and build on top of. | |
| public class Movement{ |