Skip to content

Instantly share code, notes, and snippets.

View SugoiDev's full-sized avatar
🎯
Focusing

SugoiDev

🎯
Focusing
View GitHub Profile
@SugoiDev
SugoiDev / UnityObjectExtensions.cs
Last active June 12, 2019 15:28
Returns the full path of a GameObject. Includes, optionally, the Scence name and a component name
//#undef UNITY_EDITOR
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using JetBrains.Annotations;
using UnityEditor.Experimental.SceneManagement;
using UnityEngine;
using UnityObject = UnityEngine.Object;
#if UNITY_EDITOR
@SugoiDev
SugoiDev / update-unity-compiler.cmd
Created July 24, 2018 08:26 — forked from zoon/update-unity-compiler.cmd
Latest version of Roslyn for unity.incrementalcompiler
@rem update-unity-compiler.cmd
@rem start in */com.unity.incrementalcompiler@X.Y.ZZ folder
@echo off
@rem NOTE: FIND.EXE can clash with git/msys/cygwin's find
for %%a in (%ComSpec%) do set __system=%%~dpa
%__system%FIND.EXE /i "com.unity.incrementalcompiler" package.json 1> NUL
if %errorlevel% neq 0 goto :not_found
nuget install Microsoft.Net.Compilers -verbosity quiet
@SugoiDev
SugoiDev / ImagesDiffWithP4Merge.ahk
Last active December 26, 2015 15:00
This script uses ImageMagick to generate PNG files from PSD/Ai files so that they can compared using the P4Merge, from Perfoce. #autohotkey #windows
#SingleInstance force
#NoEnv
#Warn
; This script uses ImageMagick to generate PNG files from PSD/Ai files so that they can compared using the P4Merge, from Perfoce.
; We mainly use this inside PlasticSCM as our default diff for images and Illustrator files.
; History