Skip to content

Instantly share code, notes, and snippets.

View LaneF's full-sized avatar
🦊
Focusing

Lane Fox LaneF

🦊
Focusing
View GitHub Profile
@LaneF
LaneF / FpsToText.cs
Created September 4, 2020 20:54
Unity FPS to Text Component
using UnityEngine;
using UnityEngine.UI;
namespace Cleverous.Shared
{
/// <summary>
/// <para>Pushes the Framerate value to a Text component.</para>
/// </summary>
public class FpsToText : MonoBehaviour
{
@LaneF
LaneF / DefineSymbolUtil.cs
Last active July 2, 2023 00:18
Unity Define Symbols Utility
using System.Text;
using UnityEditor;
using UnityEngine;
namespace Cleverous
{
public static class DefineSymbolUtil
{
public const string Symbol = "YOUR_DEFINE_SYMBOL";