NotifyToggleClick() public method

public NotifyToggleClick ( GemToggle toggle ) : void
toggle GemToggle
return void
コード例 #1
0
ファイル: GemToggle.cs プロジェクト: xiekaren/phobia-game
        /**
         * Called everytime toggle is clicked
         */
        public virtual void OnPointerClick(PointerEventData eventData)
        {
            if (eventData.button != PointerEventData.InputButton.Left)
            {
                return;
            }

            InternalToggle();
            m_Group.NotifyToggleClick(this);
        }