public void ShutDown() { if (m_hotfixHelper != null) { m_hotfixHelper.ShutDown(); } m_hotfixHelper = null; }
public void SetHelper(IHotFixHelper helper) { if (helper == null) { Log.Error("Can not set HotFixHelper with null"); return; } if (m_hotfixHelper != null) { m_hotfixHelper.ShutDown(); } m_hotfixHelper = helper; m_hotfixHelper.Initialize(); }
protected override void Awake() { base.Awake(); m_hotfixHelper = null; }