Skip to content

Instantly share code, notes, and snippets.

View Manoloon's full-sized avatar

Pablo Sanchez Manoloon

View GitHub Profile
@jeffamstutz
jeffamstutz / get_imgui.cmake
Created February 8, 2021 14:35
CMake FetchContent to get ImGui
FetchContent_Populate(imgui
URL https://github.com/ocornut/imgui/archive/docking.zip
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/imgui
)
set(OpenGL_GL_PREFERENCE "LEGACY")
find_package(OpenGL 2 REQUIRED)
find_package(glfw3 REQUIRED)
add_library(imgui_glfw STATIC
@JoshLmao
JoshLmao / UE4_FSM_Structure.cpp
Last active May 16, 2024 18:37
🎮 UE4 C++ Finite State Machine - Basic Structure Example
#include "UE4_FSM_Structure.h"
// Sets default values
AUE4_FSM_Structure::AUE4_FSM_Structure()
{
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned