Skip to content

Instantly share code, notes, and snippets.

@Oxygamer
Oxygamer / ObjectStorage
Created June 22, 2015 03:39
Object Pool script for Unity3d
using UnityEngine;
using System.Collections.Generic;
public class ObjectStorage : MonoBehaviour
{
public List<GameObject> Storage;
public List<GameObject> WeaponStorage;
public List<GameObject> InterfaceStorage;
public List<GameObject> ShipStorage;
@Oxygamer
Oxygamer / Bullet
Created June 22, 2015 03:25
Fast Bullet Script for Unity3d
using UnityEngine;
using System.Collections;
public class Bullet : MonoBehaviour
{
public enum BulletType
{
energy,
fire,
freeze,
@Oxygamer
Oxygamer / MeshWave
Created May 25, 2015 09:30
Generation of wave from dynamic mesh in Unity
using UnityEngine;
using System.Collections;
public class MeshWave : MonoBehaviour {
private MeshFilter MeshF;
private Mesh DynamicMesh;