Skip to content

Instantly share code, notes, and snippets.

View rogerluiz's full-sized avatar

Roger Luiz rogerluiz

View GitHub Profile
@rogerluiz
rogerluiz / Utils.cs
Last active August 28, 2015 17:07
Unity Utilities
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class MoveInfo {
public Vector3 startLocation;
public Vector3 toLocation;
public Utils.CallBack moveCallback;
@rogerluiz
rogerluiz / extensions.cs
Last active August 28, 2015 17:07 — forked from keiranlovett/extensions.cs
Unity: Extensions
using UnityEngine;
using System.Collections;
using System;
public static class Extensions
{
//
// MonoBehaviour
@rogerluiz
rogerluiz / GameSystem.cs
Last active August 28, 2015 16:41 — forked from ihsanberahim/GameSystem.cs
Unity SoundsManager
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameSystem : MonoBehaviour {
void Start()
{
//Always call the init function first to use SoundsManager component
SoundsManager.init();
@rogerluiz
rogerluiz / Extensions.cs
Last active April 18, 2020 02:57 — forked from dogfuntom/Extensions.cs
[Unity] [Unity3d] Extensions methods.
using System;
using System.Collections.Generic;
#if UNITY_EDITOR
using System.Reflection;
using System.Linq;
#endif
public static class Extensions
{
#region float
# ------------------------------------------------------------------------------
#
# Curtousy of the Magento Support Center
# http://magentosupport.help/what-are-expires-headers-and-how-do-i-implement-them/
#
# ------------------------------------------------------------------------------
# ------------------------------------------------------------------------------
# | Mod Caching via Apache |