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
if (get_window_name()=="Visual Studio Code - Insiders") then | |
unmaximize(); | |
set_window_geometry(160, 90, 1600, 900); | |
end |
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.IO; | |
using UnityEditor; | |
using UnityEditor.Animations; | |
using UnityEngine; | |
public class AdderEditor : EditorWindow | |
{ | |
public Font Font; | |
public Texture2D Texture; | |
public Material Material; | |
public AnimatorController Parent; |
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 UnityEngine; | |
public class TestBoundsInt : MonoBehaviour | |
{ | |
public BoundsInt Bounds; | |
public Vector3Int Vector; | |
void OnDrawGizmosSelected() | |
{ | |
var offset = new Vector3(.5f, .5f, 0f); | |
Gizmos.color = Color.blue; | |
Gizmos.DrawWireCube(Bounds.center, Bounds.size); |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEngine.Tilemaps; | |
namespace UnityEditor | |
{ | |
[CreateAssetMenu, CustomGridBrush(false, true, false, "Test Random Brush")] | |
public class TestRandomBrush : GridBrush | |
{ |
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.IO; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
[InitializeOnLoad] | |
class Fix : AssetPostprocessor | |
{ | |
private static void OnGeneratedCSProjectFiles() | |
{ | |
Debug.Log("Fix.OnGeneratedCSProjectFiles"); |
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; | |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace ca.HenrySoftware.Deko | |
{ | |
public class AdderEditor : EditorWindow | |
{ | |
public RectTransform Parent; | |
public Sprite[] Sprites; | |
[MenuItem("FreePixelFood/Adder")] |
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.IO; | |
using UnityEditor; | |
using UnityEditor.Animations; | |
using UnityEngine; | |
public class AdderEditor : EditorWindow | |
{ | |
public Font Font; | |
public Texture2D Texture; | |
public Material Material; | |
public AnimatorController Parent; |
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
{ | |
"version": "0.1.0", | |
"command": "powershell", | |
"isShellCommand": true, | |
"showOutput": "silent", | |
"args": [ | |
"-Command" | |
], | |
"tasks": [ | |
{ |
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
{"lastUpload":"2019-12-02T22:50:44.036Z","extensionVersion":"v3.4.3"} |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using UnityEngine; | |
public class Loom : MonoBehaviour | |
{ | |
public static int maxThreads = 8; | |
static Loom _current; | |
static bool initialized; |