Рубрики
UE.Blueprint "Массивы" UE.Blueprint(C++) "Examples" Unreal Engine "C++" UE-C++ "Классы"

UDataAsset «Сохранение, Загрузка данных»

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Engine/DataAsset.h"
#include "MyDataAsset.generated.h"

/**
 * 
 */
UCLASS(BlueprintType)
class MYPROJECT3_API UMyDataAsset : public UDataAsset

{
GENERATED_BODY()
 public:
 UPROPERTY(EditAnywhere, BlueprintReadWrite)
 TArray<FVector> ArrayOfVector;
	
};
  • макросы для UPROPERTY по доступу EditAnywhere, BlueprintReadWrite для массива векторов TArray<FVector> с заданным именем ArrayOfVector