Skip to content

Instantly share code, notes, and snippets.

View MerlinVR's full-sized avatar
💭
Hello, World!

Merlin MerlinVR

💭
Hello, World!
  • Oregon, USA
View GitHub Profile
@MerlinVR
MerlinVR / GlobalProfileHandler.cs
Last active November 20, 2022 11:08
Basic global profiling scripts for Udon. Throw one of each script on a game object that has a TMP UI text somewhere in its children.
// MIT License
// Copyright (c) 2021 Merlin
using UdonSharp;
using UnityEngine;
[DefaultExecutionOrder(1000000000)]
public class GlobalProfileHandler : UdonSharpBehaviour
{
TMPro.TextMeshProUGUI timeText;