Exemplo n.º 1
0
        public void OnClick()
        {
            if (_isDone)
            {
                return;
            }

            _isDone = true; // for the sake of inform shelf knowing this is done

            _customCommands.memoryStorage.SetValue("$" + _shelfItemData.variableName, 1f);
            _customCommands.InformShelfItemTouched(this);
        }