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
/* | |
* | |
* Script to use ALT+1 ALT+2 ALT+3 for setting gameview resolution. | |
* If shortcut fail (such as 1280x720) you must add it manually in gameview dropdown first. | |
* | |
* Author: Wappen | |
* | |
* https://gist.github.com/wappenull/668a492c80f7b7fda0f7c7f42b3ae0b0 | |
* | |
* Revision: |
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
// Revision history | |
// Rev 1 16/MAY/2021 initial | |
// Rev 2 23/AUG/2021 add support for array property path | |
// Rev 3 23/AUG/2021 cache using type+path (s_PathHashVsType) | |
// Rev 4 23/AUG/2021 properly handling array and list by stealing code from Unity CS reference | |
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using UnityEditor; |
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 UnityEditor.SceneManagement; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
// See https://forum.unity.com/threads/how-to-know-what-makes-scene-dirty.694390 | |
namespace Wappen.Editor | |
{ | |
/// <summary> |
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; | |
namespace Wappen | |
{ | |
/// <summary> | |
/// List of HTML color names for UnityEngine Color. | |
/// </summary> | |
/// <remarks> | |
/// Extracted from https://www.w3schools.com/colors/colors_hex.asp | |
/// |
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.IO; | |
using System.Text.RegularExpressions; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Wappen.Editor | |
{ | |
/// <summary> |
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
// ==UserScript== | |
// @name Wappen FBlock | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Disable brain cell damaging content. | |
// @author Wappen | |
// @match https://www.facebook.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=facebook.com | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name IG Fullsize (mod by Wappen) | |
// @version 0.7 | |
// @description View full resolution images on Instagram | |
// @match https://www.instagram.com/* | |
// @require https://gist.githubusercontent.com/realies/2fece0cd3e197cf6b31ca1316431a2a4/raw/debc0e6d4d537ac228d1d71f44b1162979a5278c/waitForKeyElements.js | |
// @author realies, mod by Wappen | |
// ==/UserScript== | |
(() => { | |
waitForKeyElements("div._aagu", clickBox => { |
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.EventSystems; | |
using UnityEngine; | |
using UnityEngine.UI; | |
namespace Wappen.UI | |
{ | |
/// <summary> | |
/// Similar to LayoutElement but with limiter. | |
/// </summary> | |
[AddComponentMenu( "Layout/Layout Element Filter", 141 )] |