public void OnDestroy() { m_incrementControl.deregisterUpdateAction(updateIncrements); m_incrementControl = null; }
public void OnDestroy() { m_Control.DeregisterUpdateAction(UpdateGUI); m_Control = null; }
public void SetIncrementControl(IIncrementControl incrementControl) { m_incrementControl = incrementControl; updateIncrements(); m_incrementControl.registerUpdateAction(updateIncrements); }
public void SetControl(IIncrementControl control) { m_Control = control; UpdateGUI(); m_Control.RegisterUpdateAction(UpdateGUI); }