Interface

[Unreal_C++_DarkSoul]#1_Interaface 클래스 Unreal C++ 개발 중 "Interface 클래스"에 대한 내용입니다. 포트폴리오 진행 사항을 기록하기 위한 포스팅입니다. Interface 1. Header File #include "UObject/Interface.h" 2. Definition 3. Why? 두 가지 다른 객체가 공통의 기능을 구현하기 위해 필요한 클래스 다중 상속에 의한 가독성 저하 + 유지 보수성 저하를 방지합니다. 가독성, 유지보수성, 디버깅 효율 상승을 위한 객체지향 프로그래밍 방법 4. How? 새로운 C++ 클래스 생성 -> Unreal Interface 클래스를 부모 클래스로 하위 클래스 생성합니다. "IInterface_Test(임시로 만든 클래..
[Unreal_블루프린트]#22_Wizard Skills Unreal 블루프린트 개발 중 "Wizard Skills"에 대해 알아보겠습니다. "블루 프린트" 활용에 대한 내용입니다. 상속 모델 Heal 1. BP_WizardSkill_Heal 클래스 세팅을 통해 Parent Class를 "BP_WizardSkill"로 설정합니다. 2. BP_WizardSkill::Spell 구현 1. BPI_Weapon::SetCanMove "BPI_Weapon" 인터페이스에서 제공하고 "BP_Player"에서 상세 구현을 진행했던 "Set Can Move"를 호출합니다. 2. BP_Player의 애님 몽타주 재생 "BP_WizardSkill"에서 제공하는 "GetOwner To Wizard"를 통해 "BP_Player..
[Unreal_블루프린트]#21-2_Interface, No Combo Unreal 블루프린트 개발 중 "Interface"에 대해 알아보겠습니다. "블루 프린트" 활용에 대한 내용입니다. 상속 계층 그래프 Wizard 1. BP_Wizard 1. Parent Class 설정 : BP_Weapon 클래스 세팅 -> Parent Class를 BP_Weapon으로 설정합니다. 2. 변수 생성 Wizard 공격 모드가 갖는 세 가지 스킬을 변수로 생성합니다. 각각 "BP_WizardSkill", "BP_WizardSkill_Heal", "BP_WizardSkill_Warp", 그리고 "BP_WizardSkill_Throw"를 참조합니다. 3. BeginPlay 이벤트 먼저, Combat Type 상태 변경과 ..
Hardii2
'Interface' 태그의 글 목록