Skip to content

Instantly share code, notes, and snippets.

View alexanderameye's full-sized avatar
🦀
Learning

Alexander Ameye alexanderameye

🦀
Learning
View GitHub Profile
@alexanderameye
alexanderameye / MyScriptableRendererFeature.cs
Created July 15, 2022 15:05
ScriptableRendererFeature templae
// ScriptableRendererFeature template created for URP 12 and Unity 2022.2
// Made by Alexander Ameye
// https://alexanderameye.github.io/
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public class MyScriptableRendererFeature : ScriptableRendererFeature
{
@alexanderameye
alexanderameye / SceneSwitcherToolbarOverlay.cs
Last active January 11, 2026 04:34
A small scene switcher utility for Unity
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditor.Overlays;
using UnityEditor.SceneManagement;
using UnityEditor.Toolbars;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
#if UNIVERSAL_RENDERER
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
using UnityEngine.Experimental.Rendering;
@alexanderameye
alexanderameye / CircularMenu.cs
Last active January 2, 2026 21:02
Circular menu for the Unity Editor
/*
MIT License
Copyright (c) [year] [fullname]
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
@alexanderameye
alexanderameye / ARCursor.cs
Created September 4, 2023 19:00
An AR cursor for Unity3D.
using System.Collections;
using UnityEngine;
using UnityEngine.XR.ARSubsystems;
using DG.Tweening;
[RequireComponent(typeof(ARHitProvider), typeof(ARPointCloudProvider))]
public class ARCursor : MonoBehaviour
{
public static ARCursor instance;