Skip to content

Instantly share code, notes, and snippets.

View PhilippCh's full-sized avatar

Philipp Christoph PhilippCh

View GitHub Profile
@PhilippCh
PhilippCh / restore-vscode-history.ipynb
Created September 5, 2023 08:51
Restore deleted files from VSCode history
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PhilippCh
PhilippCh / GameObjectGrouping.cs
Last active September 22, 2023 02:07
Adds a context (right-click) menu to Unity's scene hierarchy tab that allows for quick grouping of selected GameObjects under a new parent.
using UnityEditor;
using UnityEngine;
#if UNITY_EDITOR
namespace CelestialStatic.Editor {
public class GameObjectGrouping {
[MenuItem("GameObject/Group selected GameObjects", false, 0)]
public static void GroupSelected(MenuCommand menuCommand) {
@PhilippCh
PhilippCh / unlit_vignette_alpha.shader
Created February 3, 2018 19:19
[Unity] Unlit vignette alpha shader
Shader "Unlit/Unlit Vignette Alpha"
{
Properties
{
_Color( "Main Color", Color ) = ( 1, 1, 1, 1 )
_MainTex ("Texture", 2D) = "white" {}
_Intensity ("Intensity", Range(0.0, 6.0)) = 5.5
_Tiling ("Tiling", Vector) = (1, 1, 0, 0)
}
SubShader