[Unreal] 3 main OOP principle. Encapsulation, Inheritance, Polymorphism
Encapsulation:= private, protected, public
Polymorphism:=
Object* objPawn = new Pawn;
objPawn->BeginPlay();// output := Pawn BeginPlay() called. can't access Name variable in Pawn class.
댓글
댓글 쓰기