So, this is bothering me a lot.
I spent an awful amount of time trying to set up a timer, but IntelliSense kept telling me there were no members available, as seen here: https://i.imgur.com/s8gbrUE.png
I thought I was missing some header, or maybe it wouldn’t work just like that because I was using it on a ACharacter class, after an hour I just compiled out of frustration and it worked!
And I can’t help but wonder why that happened. Shouldn’t I trust IntelliSense? Or am I truly missing something?
I’d appreciate any answers with tips on this issue, and how to avoid it hopefully!
(My headers, just in case)
#pragma once #include "GameFramework/Actor.h" #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "DGProjectCharacter.generated.h" class UMaterial;
#include "DGProjectCharacter.h" #include "UObject/ConstructorHelpers.h" #include "Camera/CameraComponent.h" #include "Components/DecalComponent.h" #include "Components/CapsuleComponent.h" #include "GameFramework/CharacterMovementComponent.h" #include "GameFramework/PlayerController.h" #include "GameFramework/SpringArmComponent.h" #include "HeadMountedDisplayFunctionLibrary.h" #include "Materials/Material.h" #include "Engine/World.h"