Exemplo n.º 1
0
 private void Awake()
 {
     m_castEventListener = new CastEventListener();
     m_castEventListener.OnCastSpellDragBegin += OnCastSpellDragBegin;
     m_castEventListener.OnCastSpellDragEnd   += OnCastSpellDragEnd;
     FightCastManager.OnTargetChange          += OnFightMapTargetChanged;
     FightCastManager.OnUserActionEnd         += OnFightMapUserActionEnd;
     m_spellList.SetCellRendererConfigurator(this);
 }
Exemplo n.º 2
0
 private unsafe void Awake()
 {
     //IL_0018: Unknown result type (might be due to invalid IL or missing references)
     //IL_0028: Unknown result type (might be due to invalid IL or missing references)
     m_filterParent.Initialise(OnFilterChange, ((IntPtr)(void *)m_outPoint.get_anchoredPosition()).y - ((IntPtr)(void *)m_inPoint.get_anchoredPosition()).y);
     this.get_gameObject().SetActive(false);
     m_spellsList.SetCellRendererConfigurator(this);
     m_companionsList.SetCellRendererConfigurator(this);
     m_spellsList.SetDragAndDropValidator(this);
     m_companionsList.SetDragAndDropValidator(this);
     InitPoints(m_spellsTransform);
     InitPoints(m_companionsTransform);
     InitLists();
     m_canvasGroup.set_alpha(0f);
     DragNDropListener.instance.OnDragBegin += OnDragBegin;
     DragNDropListener.instance.OnDragEnd   += OnDragEnd;
 }