This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class TouchMovement : MonoBehaviour | |
{ | |
public float Speed = 0.4f; | |
void Update() | |
{ | |
if (Input.touchCount > 0) | |
{ | |
Touch touch = Input.GetTouch(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input1 = "{[()]}"; | |
var input2 = "{[({}])}"; | |
var input3 = "{{[[(())]]}}"; | |
var input4 = "{[({{}[((({({})}))]}]])}"; | |
var input5 = "([{}()])"; | |
var input6 = "([{}()]()[])"; | |
const matches = { | |
"{": "}", | |
"(": ")", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="page-wrapper"> | |
<el-menu default-active="0" class="el-menu-vertical-demo" :collapse="isCollapse"> | |
<el-menu-item index="0"> | |
<i class="fas fa-home"></i> | |
<span slot="title">Inicio</span> | |
</el-menu-item> | |
<el-submenu index="1"> | |
<template slot="title"> | |
<i class="fas fa-truck"></i> |