Skip to content

Instantly share code, notes, and snippets.

View bsimser's full-sized avatar
💭
Waiting for the zombie apocalypse to start

Occular Malice bsimser

💭
Waiting for the zombie apocalypse to start
View GitHub Profile
@bsimser
bsimser / Footsteps.cs
Created December 11, 2022 15:33 — forked from joonjoonjoon/Footsteps.cs
Multi-surface footsteps audio script for Unity's Viking Village
/* ======================================================================================== */
/* FMOD Studio - Unity Integration Demo. */
/* Firelight Technologies Pty, Ltd. 2012-2016. */
/* Liam de Koster-Kjaer */
/* */
/* Use this script in conjunction with the Viking Village scene tutorial and Unity 5.4. */
/* http://www.fmod.org/training/ */
/* */
/* 1. Import Viking Village asset package */
/* 2. Import FMOD Studio Unity Integration package */
@bsimser
bsimser / StringExtensions.cs
Created October 1, 2024 17:08
Improved readability to string.IsNullOrEmpty
public static class StringExtensions
{
public static bool HasValue(this string value)
{
return !string.IsNullOrEmpty(value);
}
}
@bsimser
bsimser / MenuItemOrder.cs
Created January 18, 2025 15:13
The missing random tile from Unity's tilemap system that was removed in the most recent builds of the package
/*
This file contains the additional ETilesMenuOrder enum value for the RandomTile
Should be saved as
/Editor/Menu/MenuOrder.cs
*/
using UnityEngine;
using UnityEngine.Tilemaps;
namespace UnityEditor.Tilemaps