Skip to content

Instantly share code, notes, and snippets.

View giljr's full-sized avatar
💭
Full Stack Developer with a degree in Computer Engineering.

Gilberto Oliveira Jr giljr

💭
Full Stack Developer with a degree in Computer Engineering.
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour {
public Soldier[] Enemies;
// Use this for initialization
void Start()
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Crosshair : MonoBehaviour {
private AudioSource mAudioSrc;
// Use this for initialization
void Start () {
@giljr
giljr / HUD.cs
Last active March 13, 2018 23:30
Episode#10 Unity Game
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD : MonoBehaviour {
public Text mTxtHealth;
public Text mTxtTime;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShootHandler : MonoBehaviour {
private AudioSource mAudioSrc;
public void Start()
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Soldier : MonoBehaviour {
private GameObject mEnemy;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : Singleton<GameController>
{
protected GameController() { } // guarantee this will be always a singleton only - can't use the constructor!
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour {
public Soldier[] Enemies;
// Use this for initialization
void Start () {
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Soldier : MonoBehaviour {
private GameObject mEnemy;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour {
public Soldier[] enemies;
// Use this for initialization
void Start () {
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Soldier : MonoBehaviour {
private GameObject mEnemy;
public float RightTime = 1.0f;
public float ShootTime = 1.0f;