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
# A simple PowerShell script to clean up temporary Unity project files and free up disk space. | |
# As a developer working on multiple projects, I often find that Unity's Library, Temp, and obj folders consume a lot of storage. I use this script to quickly find all Unity projects within a specific directory and delete those cache folders safely. | |
# Check more of my games and projects at chrisjogos.com | |
# Clear the console for a clean start. | |
Clear-Host | |
# --- Recursive Search Function (Optimized) --- | |
# This function searches for Unity projects and other specified folders. | |
function Find-FoldersToDelete { |
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
// From https://discussions.unity.com/t/mobile-diffuse-with-color/585257/7 | |
// With fallback | |
Shader "Custom/VertexLit - Single color" { | |
Properties { | |
_Color ("Color", color) = (1,1,1,1) | |
} | |
SubShader { | |
Tags { "RenderType"="Opaque" } | |
LOD 80 |