Skip to content

Instantly share code, notes, and snippets.

View Thendon's full-sized avatar

Thendon Thendon

  • Germany
View GitHub Profile
@nonathaj
nonathaj / AssetDefinePostprocessor.cs
Last active October 9, 2023 18:29
A script for creating and removing defines in Unity with C# along with certain files.
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
[InitializeOnLoad]
public class AssetDefinePostprocessor : AssetPostprocessor
{