Skip to content

Instantly share code, notes, and snippets.

View mrwellmann's full-sized avatar

Markus Wellmann mrwellmann

View GitHub Profile
@udonba
udonba / LogPrompter.cs
Created September 3, 2020 13:16
TextMeshPro(TextMeshProUGUI)にDebug.Log出力を表示する
using UnityEngine;
using System;
using System.Text;
using TMPro;
namespace Udonba
{
/// <summary>
/// Debug.LogをTextMeshProに表示
/// </summary>
@TiborUdvari
TiborUdvari / ExcemptFromEncryption.cs
Last active April 23, 2024 16:22
Marks ITSAppUsesNonExemptEncryption in Unity generated Info.plist file to false. Doing this no longer requires manually marking the app as not using non-exempt encryption in iTunes Connect for Testflight beta testing.
using UnityEngine;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor;
using UnityEditor.iOS.Xcode;
using System.IO;
public class ExcemptFromEncryption : IPostprocessBuildWithReport // Will execute after XCode project is built
{
public int callbackOrder { get { return 0; } }
@liortal53
liortal53 / RemoveEmptyFolders.cs
Last active October 9, 2023 12:46
Clean Unity project from empty folders
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class RemoveEmptyFolders
{
/// <summary>
/// Use this flag to simulate a run, before really deleting any folders.
/// </summary>