강의

멘토링

로드맵

Inflearn Community Q&A

themoon0073889's profile image
themoon0073889

asked

Lee Deok-woo's Unreal Programming Part 4 - Gameplay Ability System

Chapter 5: Implementation of Attack Judgment System

ASC의 컨테이너에 추가한 타겟 액터 질문

Resolved

Written on

·

357

0

이렇게 ASC 에 추가하고나서 OnDestroy() 될 때, 타겟 액터는 지우는데요.

ASC의 컨테이너는 이와 관련해서 타겟 액터를 다시 뺀다던가 하는 처리를 안 해도 되는건가요??

unreal-engineue-blueprintunreal-engine5언리얼-c++gas

Answer 1

0

ideugu님의 프로필 이미지
ideugu
Instructor

바로 아래 동일한 질문이 있습니다.

https://www.inflearn.com/questions/1147209

 

themoon007님의 프로필 이미지
themoon007
Questioner

아하... 이미 질문이 있었군요.

ASC에서 TargetConfirm()을 한다는 것과 TargetCancel()을 한다는 건 원래 무슨 목적의 함수인가요?

 

그냥 SpawnedTargetActors를 정리하는 용도인가요?

ideugu님의 프로필 이미지
ideugu
Instructor

이번 예제에서는 즉시 타겟을 컨펌하지만, 장판 광역기같은 것을 시전할 때는 데칼로 장판 영역을 보여주고 확정할지 취소할지에 대한 입력을 한 번 더 받을 때 사용합니다.

themoon0073889's profile image
themoon0073889

asked

Ask a question