Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Created May 11, 2017 21:52
Show Gist options
  • Save unity3dcollege/c233770db3868acd4feefbfe409f77fb to your computer and use it in GitHub Desktop.
Save unity3dcollege/c233770db3868acd4feefbfe409f77fb to your computer and use it in GitHub Desktop.
using System;
using UnityEngine;
public class Projectile : MonoBehaviour, IPoolable
{
private void OnDisable() { OnDestroyEvent(); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment