You have to include what you are using:
#include "Components/StaticMeshComponent.h"
#include "Components/SceneComponent.h"
#include "Components/ShapeComponent.h"
You have to include what you are using:
#include "Components/StaticMeshComponent.h"
#include "Components/SceneComponent.h"
#include "Components/ShapeComponent.h"
Thank you So Much
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FirstClass.generated.h"
UCLASS()
class SA_API AFirstClass : public AActor
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere)
UStaticMeshComponent* SM_Geometry;
UPROPERTY(EditAnywhere)
USceneComponent* FirstRoot;
UPROPERTY(EditAnywhere)
UShapeComponent* FirstBox; // why Compiler Show me Red WaveLine?
public:
// Sets default values for this actor's properties
AFirstClass();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
};
And why I Can’t Show Many Function intelligence i want show intelligence in my Compiler
This didnt work for me now i get an error saying my class is missing an identifier any ideas why?