This file contains hidden or 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
#ifndef __TDATO_H | |
#define __TDATO_H | |
#ifndef __MAX | |
#define __MAX 8 | |
#endif | |
typedef char TdatoC; | |
typedef int TdatoE; |
This file contains hidden or 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
#ifndef __TDATO_H | |
#define __TDATO_H | |
#ifndef __MAX | |
#define __MAX 8 | |
#endif | |
typedef char TdatoC; | |
typedef int TdatoE; |
This file contains hidden or 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
int led[8] = {5,6,8,13,12,11,10,9}; //Reemplazar los numeros cuando esten instalados los leds | |
int puntaje = 0; | |
int punto = 2; | |
int puntajeStart = 0; | |
int posLed = 0; //Estas dos variables se comparan para ver si | |
int posPuntajeActual = 0; //hay que prender o no una led en ActualizarLeds | |
int botonA = 7; //Igualar a la posicion del boton A (equipo A) | |
int botonB = 2; //Igualar a la posicion del boton B (equipo B) |
This file contains hidden or 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
int arreglo[] = {0,1,2,3,4,5,6,7} //Reemplazar los numeros cuando esten instalados los leds | |
int puntaje = 0; | |
int posLed = 0; //Estas dos variables se comparan para ver si | |
int posPuntajeActual = 0; //hay que prender o no una led en ActualizarLeds | |
int botonA = ; //Igualar a la posicion del boton A (equipo A) | |
int botonB = ; //Igualar a la posicion del boton B (equipo B) | |
int botonC = ; //Igualar a la posicion del boton C (Reiniciar el juego) |
This file contains hidden or 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; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class FieldOfView : MonoBehaviour { | |
public float viewRadius; | |
[Range(0, 360)] | |
public float viewAngle; |