Interface vs Component implementation - Programming & Scripting / C++ - Unreal Engine Forums
I feel that interfaces seem best used for situations where different classes need different implementations of the same set of methods without needing to cast to the derived class and components are best used for things where the implementation will be the same for different classes.
Use interfaces for widespread actions that you can implement in a base class, use components to encapsulate more complex logic.
인터페이스는 파생 클래스로 형변환할 필요 없이 서로 다른 클래스가 동일한 메서드 집합의 서로 다른 구현을 필요로 하는 상황에 가장 적합하고 컴포넌트는 서로 다른 클래스에서 구현이 동일할 때 가장 적합하다고 생각합니다.
기본 클래스에서 구현할 수 있는 광범위한 작업에는 인터페이스를 사용하고, 더 복잡한 로직을 캡슐화하려면 컴포넌트를 사용합니다.