public void SetControl(IEncounterControl control)
 {
     m_Control      = control;
     encValueUpdate = control.replaceTextComponentWithTMPro(m_Encounter);
     peValueUpdate  = control.replaceTextComponentWithTMPro(m_PE);
     updateControl();
     m_Control.registerUpdateAction(updateControl);
 }
Beispiel #2
0
 public void SetControl(IEncounterControl control)
 {
     m_Control      = control;
     encValueUpdate = m_Control.ReplaceTextComponentWithTMPro(m_Encounter);
     peValueUpdate  = m_Control.ReplaceTextComponentWithTMPro(m_PE);
     UpdateGUI();
     m_Control.RegisterUpdateAction(UpdateGUI);
 }
 public void OnDestroy()
 {
     m_Control.deregisterUpdateAction(updateControl);
     m_Control = null;
 }
Beispiel #4
0
 public void OnDestroy()
 {
     m_Control.DeregisterUpdateAction(UpdateGUI);
     m_Control = null;
 }