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; | |
[InitializeOnLoad] | |
public class CustomHierarchyView | |
{ | |
private static GUIContent toggledOnIcon; | |
private static GUIContent toggledOffIcon; |
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 static class HighlightObjectUtil | |
{ | |
[MenuItem("CONTEXT/Object/Ping!")] | |
static void Ping(MenuCommand command) | |
{ |
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.Generic; | |
using UnityEngine.UI; | |
namespace UnityEngine.EventSystems | |
{ | |
/// <summary> | |
/// Simple event system using physics raycasts. | |
/// </summary> | |
[AddComponentMenu("Event/Physics Raycaster (Fixed)")] | |
[RequireComponent(typeof(Camera))] |
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
// Tested only on Windows | |
// Assumes builds are in the project folder (e.g. your-game/Builds/Build.exe) | |
using System; | |
using System.IO; | |
using System.Diagnostics; | |
public static class BuildRunning | |
{ | |
public bool IsBuildRunning() |
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 UnityEngine.UI; | |
using UnityEngine.Rendering; | |
namespace Glitchers.UserInterface | |
{ | |
public class CustomZTestUI : MonoBehaviour, IMaterialModifier | |
{ |
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 UnityEngine.SceneManagement; | |
namespace Glitchers | |
{ | |
public static class FindInterfaces | |
{ | |
public static List<T> Find<T>( ) |
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
/* | |
* Instructions for setting up a slackbot: | |
* https://get.slack.help/hc/en-us/articles/115005265703-Create-a-bot-for-your-workspace | |
* | |
* By @hugosslade for @glitchers | |
*/ | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; |
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; | |
public class SplineVertexColors : MonoBehaviour { | |
#region Types | |
public enum Mode | |
{ | |
ChannelCurves, |
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 UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
public static class AssetBundleUtil | |
{ | |
public static void FindAllAssetsInBundle( string assetBundleName ) | |
{ | |
List<Object> assets = new List<Object>(); |
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; | |
public class OpenWebsiteOnHeadsetRemove : MonoBehaviour | |
{ | |
#region Serialized | |
public OVRManager m_OVRManager; | |
#endregion |
NewerOlder