Does UE4 can Multiple Inheritance two AClass

I have two classes A,B Inheritancing AActor

and I have another class C.

I want use C Multiple Inheritance but it compile error.

how can I use the Multiple Inheritance?

If you annotated it with UCLASS() macro then answer is NO. Only way you can do it is inherit base class and then any number of interfaces you like. Try to figure out if functionality you want can’t be made to interface instead.

Multiple inheritance term in Unreal is a bit misleading definition. I needed this myself. For now you can’t do that. In most cases properly implement multiple inheritance of different classes is pain in the ■■■.
For your case scenario you might reconsider reevaluate your design if both are inherited from same base class and just move that functionality to base (super) class instead.

Make it like this:

  • MasterActorClass : AActor - this is your super class that have common shared functionality and inherit AActor.
  • MyInheritedActorA: MasterActorClass - your first inherited class from your custom super Actor class
  • MyInheritedActorB: MasterActorClass - your second inherited class from your custom super Actor class