Skip to content

Instantly share code, notes, and snippets.

@petru23
petru23 / CurveManager.cpp
Last active February 11, 2018 17:14
Moving a Component's child based on a curve
// Fill out your copyright notice in the Description page of Project Settings.
#include "UCurveComponent.h"
// Sets default values for this component's properties
UUCurveComponent::UUCurveComponent()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// off to improve performance if you don't need them.
#include "GifFactory.h"
#include <stdlib.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
UGifFactory::UGifFactory()
{
bEditorImport = true;
SupportedClass = UTexture2D::StaticClass();
Formats.Add(FString("gif;Graphics Interchange Format"));