Skip to content

Instantly share code, notes, and snippets.

@hybridherbst
hybridherbst / DragAndDropEditorWindow.cs
Created October 10, 2020 21:22 — forked from rutcreate/DragAndDropEditorWindow.cs
How to use DragAndDrop function in Unity3D custom editor. This is just handle when user drag anything outside to THIS EditorWindow only.
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
public class DragAndDropEditorWindow : EditorWindow
{
[MenuItem("Window/Drag And Drop")]
public static void Open()
{
@hybridherbst
hybridherbst / Electron app decompiling
Created April 12, 2020 23:17 — forked from yassineaboukir/Electron app decompiling
Obtain the source code of Electron applications
# Open terminal and install asar node module globally
$ npm install -g asar
# Go into the app’s directory, in our case it’s Slack
$ cd /Applications/Slack.app/Contents/Resources
# Create a directory to paste the content of app