protected override void OnMessageReceive(object data) { if (data is UnityAction <Control.RadialMenu> ) { _radiaMenu.Reset(); (data as UnityAction <Control.RadialMenu>).Invoke(_radiaMenu); _radiaMenu.SetPosition(Input.mousePosition); _radiaMenu.ActivateMenu(); } }
protected override void HandleData(object data) { base.HandleData(data); if (data is UnityAction <Control.RadialMenu> ) { _radiaMenu.Reset(); (data as UnityAction <Control.RadialMenu>).Invoke(_radiaMenu); _radiaMenu.SetPosition(Input.mousePosition); _radiaMenu.ActivateMenu(); } }