Skip to content

Instantly share code, notes, and snippets.

@AaronTrotter
AaronTrotter / TerrainSounds.cs
Last active March 9, 2023 02:09
Terrain Footsteps Unity
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class TerrainSounds : MonoBehaviour
{
public Terrain terrain;
public List<TerrainTexDef> terrainLayers = new List<TerrainTexDef>();
@AaronTrotter
AaronTrotter / UE5ClearCache.ps1
Last active May 23, 2024 20:23
Clear UE5 binaries, intermediate of project and plugins and regenerates project files
param (
[string]$UProjectPath
)
function Remove-Directory {
param (
[string]$Path
)
if (Test-Path $Path) {
Write-Output "----cleared $Path"