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
| Shader "Sprites/GlowLevels" | |
| { | |
| Properties | |
| { | |
| [PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {} | |
| _AlphaIntensity_Fade_1("_AlphaIntensity_Fade_1", Range(0, 3)) = 1 | |
| _TintRGBA_Color_1("_TintRGBA_Color_1", COLOR) = (1,1,1,1) | |
| _AlphaIntensity_Fade_2("_AlphaIntensity_Fade_2", Range(0, 3)) = 1 | |
| _TintRGBA_Color_2("_TintRGBA_Color_2", COLOR) = (1,1,1,1) |
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
| // Source: http://forum.unity3d.com/threads/webgl-transparent-background.284699/#post-1880667 | |
| // Clears the WebGL context alpha so you can have a transparent Unity canvas above DOM content | |
| // Add this .jslib to your project et voila! | |
| var LibraryGLClear = { | |
| glClear: function(mask) | |
| { | |
| if (mask == 0x00004000) | |
| { | |
| var v = GLctx.getParameter(GLctx.COLOR_WRITEMASK); | |
| if (!v[0] && !v[1] && !v[2] && v[3]) |
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
| #!/bin/bash | |
| GREEN='\033[0;32m' | |
| RED='\033[0;31m' | |
| YELLOW='\033[0;33m' | |
| NC='\033[0m' | |
| rm unused_files.log &> /dev/null | |
| grep -r . --include=\*.meta --exclude=*{Editor,Gizmos}* -e 'guid' | while read line; do |
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
| A collection of useful C# extension methods for the Unity engine. |
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
| # +--------------------------------------------------------------------------- | |
| # | File : BackuptoS3_Snapshots.ps1 | |
| # | Version : 1.0 | |
| # | Purpose : Backs up to S3 & creates EBS snapshots | |
| # | Synopsis: | |
| # | Usage : .\BackuptoS3_Snapshots.ps1 | |
| # +---------------------------------------------------------------------------- | |
| # | | |
| # | File Requirements: | |
| # | Must have AWS S3 CLI installed & Powershell tools |
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
| // https://frarees.github.io/default-gist-license | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using Microsoft.CSharp; | |
| using System.CodeDom.Compiler; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Load tasks | |
| grunt.loadTasks('util/grunt'); | |
| // Load vendors tasks | |
| grunt.loadNpmTasks('grunt-contrib-compass'); | |
| grunt.loadNpmTasks('grunt-contrib-uglify'); | |
| grunt.loadNpmTasks('grunt-contrib-jshint'); | |
| grunt.loadNpmTasks('grunt-contrib-watch'); |
NewerOlder