Skip to content

Instantly share code, notes, and snippets.

View GameDevTeacher's full-sized avatar

Markus Lange GameDevTeacher

View GitHub Profile
@GameDevTeacher
GameDevTeacher / YarnVariableAccess.cs
Last active March 31, 2020 15:27
Must be used in a project which contains Dialogue Runner and all other Yarn Spinner scripts.
/*
The MIT License (MIT)
Copyright (c) 2015 Secret Lab Pty. Ltd. and Yarn Spinner contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
using UnityEngine;
using UnityEngine.UI;
using System;
public class ObjectFade_Controller : MonoBehaviour {
[Header("Activated Objects")]
[Range(0,10)]
public int Activate_Size;
@GameDevTeacher
GameDevTeacher / DuplicateAssetDetector.cs
Created February 8, 2024 11:03 — forked from yasirkula/DuplicateAssetDetector.cs
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;