Skip to content

Instantly share code, notes, and snippets.

View caogtaa's full-sized avatar

caogtaa

View GitHub Profile
@yasirkula
yasirkula / DuplicateAssetDetector.cs
Last active April 25, 2024 23:29
Find duplicate assets in Unity
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Security.Cryptography;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
using UnityEngine;
using Object = UnityEngine.Object;
@monry
monry / SerializedPropertyExtensions.cs
Created August 21, 2020 15:54
Find parent SerializedProperty
using System.Linq;
using System.Text.RegularExpressions;
using UnityEditor;
namespace Monry
{
public static class SerializedPropertyExtensions
{
public static SerializedProperty FindParentProperty(this SerializedProperty serializedProperty)
{
@Split82
Split82 / UnityShadersCheatSheet.shader
Created April 17, 2018 10:07
Unity Shaders Cheat Sheet
Shader "Name" {
Properties {
_Name ("display name", Range (min, max)) = number
_Name ("display name", Float) = number
_Name ("display name", Int) = number
_Name ("display name", Color) = (number,number,number,number)
_Name ("display name", Vector) = (number,number,number,number)
@seibe
seibe / EditorTextureUtil.cs
Created August 7, 2017 08:26
UnityEditor.TextureUtil アクセサ
using System.Reflection;
using UnityEngine;
using UnityEngine.Assertions;
/// <summary>
/// <see cref="UnityEditor.TextureUtil"/> Accessor
/// </summary>
/// <author>Seibe TAKAHASHI</author>
/// <remarks>
@clintel
clintel / gist:1155906
Created August 19, 2011 02:40
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code