Skip to content

Instantly share code, notes, and snippets.

View SlaggyWolfie's full-sized avatar
🏠
Working from home

Slavi Stoev SlaggyWolfie

🏠
Working from home
View GitHub Profile
@hasanbayatme
hasanbayatme / AnimatorUtility.cs
Last active April 9, 2025 13:45
Unity animator utilities such as checking if the animator has parameter or safely setting the animator parameters.
/**
MIT License
Copyright (c) 2023 Bayat Games
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is

Announcement

Please stop using this extension and Microsoft's C++ extension for Unreal code completion.

clangd

The VSCode extension clangd has blazing fast code completion in comparison. I've made a VSCode extension for it:

https://github.com/boocs/unreal-clangd

You will use clangd for code completion(Intellisense) and use Microsoft's C++ extension for Building/Debugging

@boocs
boocs / readme.md
Last active December 5, 2024 12:12
Removing red squiggles (Intellisense errors) for Unreal Engine

Removing red squiggles (Intellisense errors) for Unreal Engine

This guide should remove all Intellisense errors from your project. I've recently finished a Udemy series and had no problems fixing any Intellisense errors with this guide.

I've tested this in both Visual Studio 2019 and VSCode (Latest Microsoft C++ plugin). They both work. (Windows 10)

Some other compilers, with their version of Intellisense, may still be helped by some of this info.

Note: VSCode was used with Build Tools for Visual Studio 2019
@vilbeyli
vilbeyli / ue4-p4ignore.txt
Last active May 15, 2025 03:39
perforce ignore file for ue4 repo
# Ignore project files in the root
*.sln
!*\*.sln
.vs
*.suo
*.opensdf
*.sdf
*.pdb
*-Debug.dll
*.xcodeproj
regulations
switzerland
personality
documentary
copyrighted
backgrounds
republicans
atmospheric
demographic
background
@aholkner
aholkner / SerializedPropertyExtensions.cs
Last active November 20, 2024 04:10
Unity editor extension providing value get/set methods for SerializedProperty. This simplifies writing PropertyDrawers against non-trivial objects.
/* MIT License
Copyright (c) 2022 Alex Holkner
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@SixWays
SixWays / Ext_SerializedProperty.cs
Last active July 17, 2023 13:58
Unity extension methods for SerializedProperty to get instance references and deal with arrays.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
namespace UnityEditor {
public static class Ext_SerializedProperty {
const BindingFlags FLAGS_ALL = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy;
/// <summary>
@trentpolack
trentpolack / typemap
Last active September 8, 2024 14:44
Perforce Typemap (UE4-focused)
# Perforce File Type Mapping Specifications.
#
# TypeMap: a list of filetype mappings; one per line.
# Each line has two elements:
#
# Filetype: The filetype to use on 'p4 add'.
#
# Path: File pattern which will use this filetype.
#
# See 'p4 help typemap' for more information.
@nessus42
nessus42 / destiny-networking-revised.md
Last active April 1, 2025 05:11
How Networking Works in Destiny 1 and How It Will Differ in Destiny 2 (According to Bungie, Redux)