This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
public class RingColliderWindow : EditorWindow { | |
private GameObject _parentObj; | |
private int _numColliders = 6; | |
private float _ringRadius = 2.0f; | |
private float _colliderRadius = 0.5f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public delegate void IntDelegate(int value); | |
public delegate void GenericEventDelegate(); | |
[RequireComponent(typeof(AudioSource))] | |
public class Metronome : Singleton<Metronome> | |
{ | |
public IntDelegate SignalPhraseImmediate; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Sprites/Default with UV Noise" | |
{ | |
Properties | |
{ | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
_NoiseAmt ("Noise Amt", Range(0, 1)) = 0.5 | |
_NoiseScaleX ("Noise Scale X", Float) = 1 | |
_NoiseScaleY ("Noise Scale Y", Float) = 1 | |
_NoiseTex ("Noise Texture", 2D) = "white" {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Created using Unity 2023.2, but if I'm not mistaken, this should work in older versions of Unity too | |
using System.Linq; | |
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
namespace Whitakr.Utils.Editor | |
{ |
OlderNewer