Skip to content

Instantly share code, notes, and snippets.

View andreiagmu's full-sized avatar
🎮
Developing NekoSuki! ~ Kitty Love Adventure 🐈❤️

Andrei Müller (Andy Miira) andreiagmu

🎮
Developing NekoSuki! ~ Kitty Love Adventure 🐈❤️
View GitHub Profile
@andreiagmu
andreiagmu / SunnyDiscord.theme.css
Created March 11, 2024 19:02 — forked from TheSunCat/DisblockOrigin.theme.css
Hide all Nitro & Boost upsells in Discord!
/**
* @name Adblock
* @author TheSunCat and contributors
* @description Hide all Nitro & Boost upsells on Discord!
* @source https://gist.github.com/TheSunCat/58fedaa19d6154ef3e4b2b676c286906
*/
/* ------------------ */
/* Hide Nitro upsells */
/* ------------------ */
@andreiagmu
andreiagmu / showPolygon2Dcollider.cs
Created December 30, 2023 19:02 — forked from allfake/showPolygon2Dcollider.cs
Show 2D Polygon Collider as Gizmo, also in Edit Mode (Not support rotation)
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[ExecuteInEditMode]
public class VisibleCollider : MonoBehaviour {
public bool showLine = true;
public Color lineColor = Color.blue;
@andreiagmu
andreiagmu / showedgecollider.cs
Created December 30, 2023 19:02 — forked from adekbadek/showedgecollider.cs
Show 2D Edge Collider as Gizmo, also in Edit Mode
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class visibleCollider : MonoBehaviour {
// The Collider itself
private EdgeCollider2D thisCollider;
// array of collider points
private Vector2[] points;
@andreiagmu
andreiagmu / FastPlatformSwitcherSymlink_Windows.cs
Last active October 30, 2023 02:04
Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions), for Asset Database v1 - Symlink version (for Windows systems)
@andreiagmu
andreiagmu / RenderPipelineHelper.cs
Created November 24, 2020 03:23
RenderPipeline helper class
// RenderPipelineHelper
// by Andy Miira (Andrei Müller), November 2020
using UnityEngine;
using UnityEngine.Rendering;
namespace MirrorMirai.Helpers
{
public enum RenderPipelines
{
@andreiagmu
andreiagmu / MToonToRealToonShaderSwapper.cs
Last active March 6, 2023 06:01
MToon to RealToon Shader Swapper for Unity
// 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]
@andreiagmu
andreiagmu / FastPlatformSwitcher.cs
Last active December 14, 2022 14:47
Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions), for Asset Database v1
// Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions)
// For Asset Database v1
// 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)
// https://gist.github.com/waldobronchart/b3cb789c028c199e2855
@andreiagmu
andreiagmu / RealToonPropertiesOverrider.cs
Last active November 24, 2020 03:37
RealToon Properties Overrider for Unity
// 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]
@andreiagmu
andreiagmu / MaterialColorConverterInspector_RealToon.cs
Last active August 13, 2020 02:19
Material color conversion inspector options for Unity - RealToon version
// 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.
@andreiagmu
andreiagmu / ModelToPrefabBatchConverter.cs
Last active May 30, 2020 02:49
Loads all 3D models from a folder and saves them as prefabs.
// 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