This file contains hidden or 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
/** | |
* @name Adblock | |
* @author TheSunCat and contributors | |
* @description Hide all Nitro & Boost upsells on Discord! | |
* @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906 | |
*/ | |
/* ------------------ */ | |
/* Hide Nitro upsells */ | |
/* ------------------ */ |
This file contains hidden or 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; | |
using System.Collections; | |
using System.Collections.Generic; | |
[ExecuteInEditMode] | |
public class VisibleCollider : MonoBehaviour { | |
public bool showLine = true; | |
public Color lineColor = Color.blue; |
This file contains hidden or 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; | |
using System.Collections; | |
[ExecuteInEditMode] | |
public class visibleCollider : MonoBehaviour { | |
// The Collider itself | |
private EdgeCollider2D thisCollider; | |
// array of collider points | |
private Vector2[] points; |
This file contains hidden or 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
// RenderPipelineHelper | |
// by Andy Miira (Andrei Müller), November 2020 | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
namespace MirrorMirai.Helpers | |
{ | |
public enum RenderPipelines | |
{ |
This file contains hidden or 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
// Material color conversion inspector options for Unity - RealToon version | |
// by Andy Miira (Andrei Müller), January 2020 | |
// | |
// | |
// [INSTRUCTIONS] | |
// 0) Add this script inside an "Editor" folder in your project. | |
// You must create this folder if it doesn't already exist. | |
// | |
// 1) Select ONE OR MORE Materials in your project, | |
// then click on the small gear icon at the top-right corner of the material(s)'s Inspector. |
This file contains hidden or 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
// Material color conversion inspector options for Unity - Base version | |
// by Andy Miira (Andrei Müller), January 2020 | |
// | |
// | |
// [INSTRUCTIONS] | |
// 0) Add this script inside an "Editor" folder in your project. | |
// You must create this folder if it doesn't already exist. | |
// | |
// 1) Select ONE OR MORE Materials in your project, | |
// then click on the small gear icon at the top-right corner of the material(s)'s Inspector. |
This file contains hidden or 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
// RealToon Properties Overrider for Unity | |
// by Andy Miira (Andrei Müller), October 2019 | |
// | |
// | |
// [IMPORTANT] | |
// You must add the file RenderPipelineHelper.cs to your project, linked below: | |
// https://gist.github.com/andreiagmu/b862ae47ef91be05f61ae2da26627a01 | |
// | |
// | |
// [INSTRUCTIONS] |
This file contains hidden or 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
// MToon to RealToon Shader Swapper for Unity | |
// by Andy Miira (Andrei Müller), October 2019 | |
// | |
// | |
// [IMPORTANT] | |
// You must add the file RenderPipelineHelper.cs to your project, linked below: | |
// https://gist.github.com/andreiagmu/b862ae47ef91be05f61ae2da26627a01 | |
// | |
// | |
// [INSTRUCTIONS] |
This file contains hidden or 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
// Model to Prefab Batch Converter for Unity | |
// Loads all 3D models from a folder and saves them as prefabs. | |
// by Andy Miira (Andrei Müller), October 2019 | |
// | |
// | |
// [INSTRUCTIONS] | |
// 0) Add this script inside an "Editor" folder in your project. | |
// You must create this folder if it doesn't already exist. | |
// | |
// 1) Open Unity, then click on |
This file contains hidden or 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
// Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions) | |
// For Asset Database v1 | |
// Symlink version (for Windows systems) | |
// by Andy Miira (Andrei Müller), October 2019 | |
// | |
// Based on: | |
// Unity – fast build platform switcher script! (by Aymeric - Da Viking Code) | |
// https://davikingcode.com/blog/unity-fast-build-platform-switcher-script/ | |
// | |
// A simple fast platform switcher for Unity (by Waldo Bronchart) |
NewerOlder