Minor fixes to variable names and comments.

Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
This commit is contained in:
Danilo Aimini
2021-09-21 10:26:41 -07:00
parent b8c78caa2f
commit 5a4476a0e4
6 changed files with 51 additions and 62 deletions
@@ -15,6 +15,9 @@
namespace AzToolsFramework
{
bool IsInFocusSubTree(AZ::EntityId entityId, AZ::EntityId focusRootId);
//! System Component to handle the Editor Focus Mode system
class FocusModeSystemComponent final
: public AZ::Component
, private FocusModeInterface
@@ -25,7 +28,7 @@ namespace AzToolsFramework
FocusModeSystemComponent() = default;
virtual ~FocusModeSystemComponent();
// AZ::Component...
// AZ::Component overrides ...
void Init() override;
void Activate() override;
void Deactivate() override;
@@ -35,14 +38,12 @@ namespace AzToolsFramework
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
// FocusModeInterface...
// FocusModeInterface overrides ...
void SetFocusRoot(AZ::EntityId entityId) override;
AZ::EntityId GetFocusRoot() override;
bool IsInFocusSubTree(AZ::EntityId entityId) override;
private:
static bool IsInFocusSubTree_helper(AZ::EntityId entityId, AZ::EntityId focusRootId);
AZ::EntityId m_focusRoot;
};