언리얼(Unreal) - 오브젝트 풀링


언리얼(Unreal) - 오브젝트 풀링

1. 오브젝트 풀링 적용 여부를 결정하는 액터 생성 // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "ObjectWithinPool.generated.h" UCLASS() class OBJECTPOOLINGTEST_API AObjectWithinPool : public AActor { GENERATED_BODY() public: // Sets default values for this actor's properties AObjectWithinPool(); virtual void SetLifeSpan(float LifeSpan = 2.f) override; void SetActive(bool InActive); bool IsActive(); protec...


#Object #Pool #Poolable #Pooling #Unreal #언리얼 #오브젝트 #풀링

원문링크 : 언리얼(Unreal) - 오브젝트 풀링