Skip to content

Instantly share code, notes, and snippets.

Avatar

Gabriel Carollo Varollo

View GitHub Profile
@matthewzring
matthewzring / markdown-text-101.md
Last active May 5, 2021
A guide to Markdown on Discord.
View markdown-text-101.md

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__

View PixelBoy.cs
//PIXELBOY BY @WTFMIG EAT A BUTT WORLD BAHAHAHAHA POOP MY PANTS
// - edited by @Nothke to use screen height for #LOWREZJAM
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
[AddComponentMenu("Image Effects/PixelBoy")]
public class PixelBoy : MonoBehaviour
{
public int h = 64;
@kimsama
kimsama / Unity-GetAllFilesUnderSelectedFoder.cs
Last active Feb 24, 2021
Code snip which shows gather all files under selected folder in Unity's Project View
View Unity-GetAllFilesUnderSelectedFoder.cs
/// <summary>
/// Retrieves selected folder on Project view.
/// </summary>
/// <returns></returns>
public static string GetSelectedPathOrFallback()
{
string path = "Assets";
foreach (UnityEngine.Object obj in Selection.GetFiltered(typeof(UnityEngine.Object), SelectionMode.Assets))
{