public void SetControl(IEncounterControl control)
 {
     m_Control      = control;
     encValueUpdate = control.replaceTextComponentWithTMPro(m_Encounter);
     peValueUpdate  = control.replaceTextComponentWithTMPro(m_PE);
     updateControl();
     m_Control.registerUpdateAction(updateControl);
 }
예제 #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;
 }
예제 #4
0
 public void OnDestroy()
 {
     m_Control.DeregisterUpdateAction(UpdateGUI);
     m_Control = null;
 }