private void OnRequestNewAttackHud(MsgRequestNewAttackHud obj) { lState = LocalState.showOpened; returnButton = false; confirmButton = false; learnings = obj.oAprendiz.GolpesPorAprender; showHud.Start(AttackFactory.GetAttack(learnings[0].Nome)); SupportSingleton.Instance.InvokeOnCountFrame(() => { MessageAgregator <MsgSendExternaPanelCommand> .AddListener(OnReceiveExternalCommands); }, 3); }
private void OnRequestNewAttackHud(MsgRequestNewAttackHud obj) { container.SetActive(false); }