public void SetKeys(params string[] args) { //反注册 RedDotManager.GetInstance().Unregister(OnCall, m_keys); //注册 RedDotManager.GetInstance().Register(OnCall, args); m_keys = args; }
private void OnRemove() { RedDotManager.GetInstance().Unregister(OnCall, m_keys); }