Skip to content

Instantly share code, notes, and snippets.

View Democide's full-sized avatar

Democide

View GitHub Profile
/*
== Settings ==
BG: #1b2838
Text: #9099A1
Link: #ffffff
Font: Yantramanav
Size: 100
== Profile Page ==
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Random = CraftingLegends.Core.Random;
namespace CraftingLegends.Framework
{
public class RandomDungeonConnectCenters : MonoBehaviour
{
[System.Serializable]
@derwodaso
derwodaso / ScriptingDefineSymbolToggler.cs
Created March 14, 2017 10:34
Disable / Enable ScriptingDefineSymbolds from menu
/* To avoid performance issues caused by string constructions when logging stuff
* to the console, simply surround the code with the the following:
*
* #if DEBUG_LOGGING
* Debug.Log("my" + numer.ToString("0.00") " super" + " expensive " + " string building code");
* #endif
*
* When creating a non-debug build or testing the game for performance, simply disable
* the debug messages from the Unity menu (menu name can be simply changed below).
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using System.IO;
using System.Reflection;
[InitializeOnLoad]
public static class ShowFileExtensions
{
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditorInternal;
#endif