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; | |
| public class GizmosUtils : MonoBehaviour | |
| { | |
| public bool drawCircle = false; | |
| public Vector3 drawCirclePosition; | |
| public float drawCircleRadius; | |
| public int drawCirclePrecision = 30; | |
| void OnDrawGizmos() |
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
| /* | |
| Simple and satisfying little tab animation, will make | |
| your code move and get into position if it uses tabs. | |
| */ | |
| pre{ | |
| animation: tabMovement 0.5s; | |
| } | |
| @keyframes tabMovement{ |
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
| # This prompt will let you know if there is uncommited changes inside a git repository | |
| # preview out of repository: | |
| # PS C:\Users\User\Documents> | |
| # preview inside a repository: | |
| # PS master C:\Users\User\Repo> | |
| # ^ ^ the branch name become green if repo is up to date, | |
| # or red if there has been uncommited changes | |
| # place this inside your profile file ($profile) |
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
| /* | |
| Make a neat little tile for content | |
| <div class="tile"> | |
| <h2>Title</h2> | |
| <hr/> | |
| <p>Text</p> | |
| </div> | |
| */ | |
| .tile{ |