Skip to content

Instantly share code, notes, and snippets.

View WeirdBeardDev's full-sized avatar

WeirdBeardDev WeirdBeardDev

View GitHub Profile
@WeirdBeardDev
WeirdBeardDev / Win10NoFlashing.reg
Created April 14, 2024 21:02
Update registry to try and stop the taskbar icons from flashing.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ForegroundFlashCount"=dword:00000000
"ForegroundLockTimeout"=dword:00000000
@WeirdBeardDev
WeirdBeardDev / launch.json
Last active February 10, 2024 21:38
VSCode-UnityDebugger
{
"version": "0.2.0",
"configurations": [
{
"name": "Unity Editor",
"type": "unity",
"path": "/{ProjectFolder}/Library/EditorInstance.json",
"request": "launch"
},
{

Keybase proof

I hereby claim:

  • I am weirdbearddev on github.
  • I am weirdbearddev (https://keybase.io/weirdbearddev) on keybase.
  • I have a public key ASCpJw3AVkKK3hoDDKJE8YHglJaAzfFY8f9m332pUj67xAo

To claim this, I am signing this object:

@WeirdBeardDev
WeirdBeardDev / LoggerSO.cs
Created May 21, 2023 23:09
A Unity script template to create a Logger scriptable object.
/*
* This work by Jason "Aj" Comfort (https://weirdbearddev.com) is licensed under
* CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0
* Original idea based on [Software Architecture in Unity](https://www.youtube.com/watch?v=sh7f4K9Wbj8) video
*/
using UnityEngine;
[CreateAssetMenu(fileName = "NewLogger", menuName = "ScriptableObjects/New Logger", order = 1)]
public class LoggerSO : ScriptableObject
@WeirdBeardDev
WeirdBeardDev / 80-Weirdo C# Script__SO Script-NewScriptableObjectScript.cs.txt
Created June 10, 2022 19:58
A Unity script template for creating ScriptableObject scripts.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New#SCRIPTNAME#", menuName = "ScriptableObjects/New #SCRIPTNAME#", order = 1)]
public class #SCRIPTNAME# : ScriptableObject
{
#region Members
private const string DName = nameof(#SCRIPTNAME#); // Debug name
#endregion Members
@WeirdBeardDev
WeirdBeardDev / 80-Weirdo C# Script__POCO Script-NewCsharpScript.cs.txt
Created June 10, 2022 19:58
A Unity script template for POCO scripts.
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class #SCRIPTNAME#
{
#region Members
private const string DName = nameof(#SCRIPTNAME#); // Debug name
#endregion Members
@WeirdBeardDev
WeirdBeardDev / 80-Weirdo C# Script__MB Script-NewBehaviourScript.cs.txt
Created June 10, 2022 19:57
A Unity script template for MonoBehaviours scripts.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class #SCRIPTNAME# : MonoBehaviour
{
#region Members
private const string DName = nameof(#SCRIPTNAME#); // Debug name
[Header("Logging")]
@WeirdBeardDev
WeirdBeardDev / 80-Weirdo C# Script__Editor Script-NewEditorScript.cs.txt
Created June 10, 2022 19:56
A Unity script template for Editor scripts.
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
public static class #SCRIPTNAME#
{
#region Members
private const string DName = nameof(#SCRIPTNAME#); // Debug name
#endregion Members
@WeirdBeardDev
WeirdBeardDev / settings.json
Created April 1, 2022 18:07
VS Code settings file for a Unity project.
{
"files.exclude":
{
"**/.DS_Store":true,
"**/.git":true,
"**/.gitmodules":true,
"**/*.booproj":true,
"**/*.pidb":true,
"**/*.suo":true,
"**/*.user":true,
@WeirdBeardDev
WeirdBeardDev / .editorconfig
Last active March 22, 2022 04:46
EditorConfig for Unity Project using a Microsoft.Unity.Analyzers Package
# Top most EditorConfig file
root=true
######################### JSON, PowerShell, Shell scripts, CSProj (XML), and Config (XML) files #########################
[*.{json,ps1,sh,csproj,config}]
######################### Core EditorConfig Options #########################
## https://editorconfig.org/
# Indentation and spacing
indent_style = space
indent_size = 2