March 2019
Intermediate to advanced
708 pages
17h 9m
English

class CHAPTER_07_API ISelectable{ GENERATED_BODY() // Add interface functions to this class. This is the class that will // be inherited to implement this interface.public: virtual bool IsSelectable(); virtual bool TrySelect(); virtual void Deselect();};
#include "Selectable.h"// Add default functionality here for any ISelectable functions that are not pure virtual.bool ISelectable::IsSelectable(){ GEngine->AddOnScreenDebugMessage(-1, 1, FColor::Red, "Selectable"); ...