Skip to content

Instantly share code, notes, and snippets.

using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Android;
using UnityEngine.XR;
public class QuestSettings : MonoBehaviour
{
#if PLATFORM_ANDROID
public void Awake()
{
@echo off
SET /A ExitCode=0
echo ------------------------
echo Call: Scripts\RunEditModeTests.bat
call Scripts\RunEditModeTests.bat
if %errorlevel% neq 0 SET ExitCode=%errorlevel%
echo ------------------------
@pana-cc
pana-cc / .gitconfig
Created July 13, 2018 10:49
C:\User\cankov\.gitconfig
[user]
name = Panayot Cankov
email = panayot.cankov@progress.com
[mergetool "unity"]
cmd = 'C:\\Program Files\\Unity\\Editor\\Data\\Tools\\UnityYAMLMerge.exe' merge --fallback none -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED"
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
l = !"git lg1"