What is this system called? I want to store item, click item to select actor

use a manager class, lets say GameState

pseudo code

  1. On actor begin play GetGameState->AddActor(self)
  2. Constuct the widget, on event Construct GetGameState->BindToActorAdded(Actor)
  3. OnAddActored Event, pass through Actor, OnWidgetHovered Actor->CallHightlightActor
  4. Any other info cant be gotten from the Actor (Cast/Interface)
1 Like