Example #1
0
        public void SetKeys(params string[] args)
        {
            //反注册
            RedDotManager.GetInstance().Unregister(OnCall, m_keys);
            //注册
            RedDotManager.GetInstance().Register(OnCall, args);

            m_keys = args;
        }
Example #2
0
 private void OnRemove()
 {
     RedDotManager.GetInstance().Unregister(OnCall, m_keys);
 }