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
// This script exports illustrator layers as individual PNGs. | |
// | |
// author: Nathan Sweet | |
// author: Ivan Gadzhega | |
// rev: 10 | |
const L2PNG_NAMESPACE = "http://esotericsoftware.com/l2png"; | |
const L2PNG_PREFIX = "l2png:"; | |
const IGNORE_HIDDEN_LAYERS_ID = "ignoreHiddenLayers"; |
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
body { | |
background-color: rgba(0, 0, 0, 0); | |
margin: 0px auto; | |
overflow: hidden; | |
} | |
::-webkit-scrollbar { | |
visibility: hidden; | |
} |
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
@ECHO OFF | |
SET GDX_PATH=D:\Work\Tools\libgdx | |
SET PACKER_SHORTCUT=java -cp %GDX_PATH%/gdx.jar;%GDX_PATH%/gdx-tools.jar com.badlogic.gdx.tools.texturepacker.TexturePacker | |
SET ASSETS=D:\Work\Borodar\Projects\Swiper\sources\android\assets | |
SET INPUT_DIR=.\ | |
SET OUTPUT_DIR=%ASSETS%\maps | |
SET PACK_FILENAME=forest_bg |
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
/* | |
* This script allows you to set custom icons for folders in project browser. | |
* Recommended icon sizes - small: 16x16 px, large: 64x64 px; | |
* | |
* author: Ivan Gadzhega. | |
* rev: 3 | |
*/ | |
using System.Diagnostics.CodeAnalysis; | |
using System.IO; |
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
$(".list-header-name:contains(Backlog)").parents(".js-list-content").css("background", "#99ddff"); | |
$(".list-header-name:contains(In Progress)").parents(".js-list-content").css("background", "#eef0b2"); | |
$(".list-header-name:contains(Done)").parents(".js-list-content").css("background", "#d4ffbf"); | |
$(".list-header-name:contains(Cancelled)").parents(".js-list-content").css("background", "#f0d3b2"); |
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 UnityEditor; | |
namespace Borodar.Editor | |
{ | |
[InitializeOnLoad] | |
public class PreloadSigningAlias | |
{ | |
static PreloadSigningAlias() | |
{ |
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
private static void ShareImageWithTextOnAndroid(string message, string imageFilePath) | |
{ | |
AndroidJavaClass intentClass = new AndroidJavaClass("android.content.Intent"); | |
AndroidJavaObject intentObject = new AndroidJavaObject("android.content.Intent"); | |
intentObject.Call<AndroidJavaObject>("setAction", intentClass.GetStatic<string>("ACTION_SEND")); | |
AndroidJavaClass uriClass = new AndroidJavaClass("android.net.Uri"); | |
AndroidJavaObject uriObject = uriClass.CallStatic<AndroidJavaObject>("parse", "file://" + imageFilePath); | |
intentObject.Call<AndroidJavaObject>("putExtra", intentClass.GetStatic<string>("EXTRA_STREAM"), uriObject); | |
intentObject.Call<AndroidJavaObject>("putExtra", intentClass.GetStatic<string>("EXTRA_TEXT"), message); |
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 System.Collections.Generic; | |
using UnityEditor; | |
namespace Borodar.YesNoMath.Editor | |
{ | |
[InitializeOnLoad] | |
public class BetterDefines | |
{ | |
static BetterDefines() |
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
<!-- | |
Basic syntax highlight for Unity ShaderLab code in Project Rider. | |
v1.0 | |
Download this file and put it into your "filetypes" folder. | |
Windows Vista, 7, 8, 10: | |
<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.Rider10\config\filetypes | |
Mac OS X: |
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
# =================================================== | |
# Unity folders | |
# =================================================== | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/[Ll]ibrary/ | |
/[Ll]ogs/ | |
/[Oo]bj/ | |
/[Rr]ecords/ |
OlderNewer